• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

howto compile php from source?

F

faris

Guest
Can someone point me in the right direction please?

I want to try compiling php from source for use with Plesk.

I've been using Scott's wonderful RPMs until now, but it seems to me that it can't be all that hard to compile the dratted thing myself.

I've searched using google and have found a few sites offering me pretty easy instructions for a basic php compile.

But what I'm after is which options I should use when compiling, in order to get all the "goodies" that Scott adds via things like php-gd, php-mbcrypt and so on.

Some advice on what I might need already installed (other than gcc etc) before compiling would also be appreciated. For example do I need anything in particular already installed in order to add gd, mbcrypt etc support to php?

Please keep in mind that although I understand the basic concept of compiling, and that php gets "loaded" as an .so in httpd.conf, I'm somewhat unclear on many other things!

A good example of my confusion might be how the additional RPMs (e.g. php-mysql) add support for whatever the RPM is for (e.g. mysql) when we are only actually loading the original .so files in httpd.conf (I think??).

Thanks,

Faris.
 
Back
Top