Welcome to WebmasterWorld Guest from 54.166.167.206

Forum Moderators: bakedjake

Message Too Old, No Replies

reconfiguring php

     
9:10 pm on Jun 22, 2009 (gmt 0)

5+ Year Member



Hi can any tell me how to reconfigure my php installation?

Do I need to run:

./configure -myoptions
make
make install

? And this will sound like a really silly question but how do I find out what directory to run that in? I've been looking everywhere on my server to find where php is installed but to no avail!

will phpinfo() tell me?

many thanks

9:21 pm on Jun 22, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



what O/S is it?

You may have it installed via a package manager. If so and you want to add some extra php bolt on you just need to

yum install php-bolton

or

apt-get php-bolton

the ./configure make make install is used when you download and unpack the php tar file. Get the file from php.net unzip and untar it and then navigate to the install directory and run from there.

9:32 pm on Jun 22, 2009 (gmt 0)

5+ Year Member



I'm on fedora core 4. Basically I'm getting a load of errors when using mysqli extension specifically

Probably your client library is incompatible with the server version you use!

Now my mysql version is 5.0.83
but my phpinfo says the client api is 4.1. after doing some research it seems I need to recompile php but for the life of me I am stumped.
8:43 am on Jun 23, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Has this only started happening whilst working previously? Or are you trying something new?

Take a look at what is already installed

yum list ¦grep php

yum list ¦grep mysql

note the ¦grep is the broken pipe character and word grep

If php and mysql were installed via yum packages then they should be listed there. But it could be the case they were compiled manually.

8:54 am on Jun 23, 2009 (gmt 0)

5+ Year Member



It has only just started happening recently when I switched from using standard mysql statements to using mysqli to use bound processes
11:06 am on Jun 25, 2009 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month



You may be able to find a newer mysqli or php (not sure which you need) rpm. Does Fedora have backports repos?
 

Featured Threads

Hot Threads This Week

Hot Threads This Month