Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Upgrading to PHP5 on Fedora



Dave M G wrote:
> Keith, Erin,
>
> Here is the output from the suggested commands:
>
> uname - a
> Linux gutteridge.info 2.6.8-022stab67.1-enterprise #1 SMP Mon Jan 23 
> 20:55:01 MSK 2006 i686 i686 i386 GNU/Linux
>
> Oddly, the output from "rpm -qa mysql -1" returned nothing at all.
>   
Try    rpm -qa | grep mysql
> If I do a PHP script with phpinfo() in it, I get some output that has 
> this long list of configuration commands:
>
> './configure' '--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu' 
> '--target=i386-redhat-linux' '--program-prefix=' '--prefix=/usr' 
> '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' 
> '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' 
> '--libdir=/usr/lib'  ... and so on and so on.
>
> Are these all configurations that I would need to run if I do any 
> upgrade or install?
>   
The ./configure stuff shows you which options were set when php was
compiled. It is a good place to start to see if the functionality you
need is available. You should also check further down in the phpinfo()
output for other stuff you may need. For example; If you web
applications need GD support then look for "GD Support enabled".
> --
> Dave M G
>
>   
You will need to ensure that every function your web app requires will
be available within the new environment. If you don't have everything
you need then your site may end up looking like this:

*Fatal error*: Call to undefined function: some_function() in
*/var/www/info.php* on line *3*

Regards, Keith


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links