rebuilding PHP

Asked by RoyB

I need to rebuild php5 to include pctl. I have an application running that makes use of PHP now as it was delivered and configured and delivered in the Ubuntu 11 server installation.

I need to make sure that all of the compile options are set exactly the same as when it was originally built so that when I rebuild php I don't suddenly have programs fail because of some omitted option.

So in a nutshell, I need to buld php to the exact configuration as delivered with Ubuntu 11 with the addition of pctl.

How can I make sure that the build script will be a duplicate of what ubuntu used?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu php5 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
mycae (mycae) said :
#1

Rebuild the package from source, modifying debian/rules in order to change the build flags to include pcntl
http://www.moosechips.com/2008/09/ubuntu-rebuild-a-source-package/

specifically, this may still apply
http://www.crimulus.com/2010/07/30/howto-enable-pcntl-in-ubuntu-php-installations/

Can you help with this problem?

Provide an answer of your own, or ask RoyB for more information if necessary.

To post a message you must log in.