Welcome to WebmasterWorld Guest from 54.145.85.22

Forum Moderators: bakedjake

Message Too Old, No Replies

reconfiguring php

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

Full Member

5+ Year Member

joined:June 21, 2007
posts: 316
votes: 0


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 June 22, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 17, 2002
posts:1186
votes: 5


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 June 22, 2009 (gmt 0)

Full Member

5+ Year Member

joined:June 21, 2007
posts:316
votes: 0


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 June 23, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 17, 2002
posts:1186
votes: 5


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 June 23, 2009 (gmt 0)

Full Member

5+ Year Member

joined:June 21, 2007
posts:316
votes: 0


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 June 25, 2009 (gmt 0)

Senior Member from LK 

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

joined:Nov 16, 2005
posts:2509
votes: 31


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