Recompiling PHP5

Rogier21

Verified User
Joined
Feb 2, 2008
Messages
10
Hello all,

I just used the autobuild to upgrade to all the latests versions, except Mysql. That was still stuck on 4.1.21. But now I used this guide to upgrade it to MySQL 5.

Now it installed fine, in DA it says I have MySQL MySQL 5.0.37.

But after restarting PHP, it still shows in phpinfo(): Client API version 4.1.21

Now the guide said:
It's also recommended you do a full php recompile to load in MySQL's current version of the client libraries. Hence, if you are going to be updating php anyway, do MySQL first.

But how do I do this in DA? I would like to load the new libraries.

Thanks.
 
What's autobuild? Is that custombuild? If so, just use it to recompile PHP to get the latest mysql libs in there.
 
What's autobuild? Is that custombuild? If so, just use it to recompile PHP to get the latest mysql libs in there.

Sorry I mean autobuild yes.

So I need to download this package again and use it? It took me over 20 mins before it was finished and Apache was down the whole time, so I have to schedule the maintenance.

Edit: ok I got it to work with ./build php :)
 
Last edited:
Back
Top