I think the rpmfind database has the php package for RH71-
http://rpmfind.net/linux/rpm2html/search.php?query=php

(hmmm  we need a search for this site)...

or you could download the latest source and compile it?   Many times this is
desirable anyway since it allows for compile time settings/optimizations.

Just a thought

Monty


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of David Bau
> Sent: Thursday, February 27, 2003 4:15 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [DQSD-Devel] php is installed on dqsd.net server
>
>
> Hi guys -
>
> Glenn mentioned to me that we need a newer version of PHP...
>
> The machine is currently running RH 7.1, and I can't find any PHP
> RPM's for
> that distribution of red hat.  The PHP website recommends going
> back to red
> hat for it, and there I think my only option is to upgrade to RH
> 8.0.... (I
> wonder how painful that would be.)
>
> At any rate, I'm putting that project off for another day since it seems
> like it might be time-consuming.  (In case you're wondering why we don't
> have a newer PHP on the server.)
>
> If anybody is aware of an easy way to install a newer PHP on RH
> 7.1, please
> let me know!
>
> David
>
> ----- Original Message -----
> From: "John W. Bairen, Jr." <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, February 10, 2003 4:31 PM
> Subject: RE: [DQSD-Devel] php is installed on dqsd.net server
>
>
> i think we want
>
> $html_filename = "faq.html";
>
> to be
>
> $html_filename = "faq.htm";
>
>
>
> but i've been known to be wrong before.
>
> JB
>
> >
> > > Dave just told me that PHP has been installed on the web server!
> > >
> > > http://www.dqsd.net/test.php
> > >
> > > Nik,
> > >
> > > If you can write some PHP script to do the transform (faq.php?) and
> spit out
> > > the faq, that would be great.
> >
> >
> > Hey Glenn,
> >
> > The PHP script I attached to my email on friday should work.
> >
> > Here it is again so you don't have to hunt for it:
> >
> >
> >
> > <?php  // FAQ.php -- simple caching for DQSD HTML FAQ
> > // This script assumes that the XSLT extension is enabled in PHP
> > // and that the PHP version is 4.0.6 or newer.
> > // The xslt_process function for older versions used different
> parameters
> > // and is incompatible with the new function declaration.
> >
> >
> > // change these to the correct filenames.
> > $xsl_filename  = "faq.xsl";
> > $xml_filename  = "faq.xml";
> > $html_filename = "faq.html";
> >
> >
> >
> > // shouldn't have to modify anything below this line
> >
> >
> > $html_timestamp = filemtime($html_filename); // avoid calling twice
> >
> > if (($html_timestamp < filemtime($xsl_filename)) ||
> >     ($html_timestamp < filemtime($xml_filename)))
> > {
> >    $xh = xslt_create();
> >    if(! @xslt_process($xh, $xml_filename, $xsl_filename,
> $html_filename))
> >    {
> >        // error in xslt_process!  Write the error to the HTML file
> >        // so that it will be displayed instead of the old FAQ.
> >        // This is, of course, totally unnecessary, but might help
> >        // debug problems while writing the XML and/or XSL files.
> >
> >        $fp = fopen($html_filename, 'w');
> >        fwrite($fp, "Error processing stylesheet: " . xslt_error($xh));
> >        fclose($fp);
> >    }
> > }
> >
> > // HTML file has, if outdated, been rewritten.  Now just echo the
> > // contents to the client.
> > if(version_compare(php_version(), "4.3.0", ">="))
> > {
> >    echo file_get_contents($html_filename);
> > }
> > else
> > {
> >    echo implode('', file($html_filename));
> > }
> >
> > ?>
> >
> >
> >
> > hth,
> >
> > Nik
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> DQSD-Devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dqsd-devel
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> DQSD-Devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dqsd-devel
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DQSD-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-devel

Reply via email to