homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

reconfiguring php

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

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

Do I need to run:

./configure -myoptions
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)

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


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)

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)

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)

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)

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

Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved