ispCP - Board - Support
Recompiling PHP - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Update/Upgrade (/forum-44.html)
+--- Thread: Recompiling PHP (/thread-3343.html)



Recompiling PHP - lost108 - 05-21-2008 07:00 AM

We are in the process of increasing FD_SETSIZE so that PHP won't fail once it has over 1024 apache log files open. We have made the updates in the necessary files (/usr/include/bits/typesizes.h)

The next step is to recompile PHP (without breaking ISPcp). Our questions are:

Will running "apt-get upgrade php" and upgrading PHP be enough to recompile PHP?

If no upgrade is available, what commands do we need to run to recompile PHP?

Once the recompile is complete, how can we confirm that our update has taken affect and the new FD_SETSIZE value exists in PHP?

Thank you in advance for your help!


RE: Recompiling PHP - sci2tech - 05-21-2008 08:03 AM

You should recompile apache not php. Or disable loggs.


RE: Recompiling PHP - lost108 - 05-21-2008 08:17 AM

Thank you for your response. Allow me to rephrase Smile

Will running "apt-get upgrade apache" and upgrading Apache be enough to recompile Apache?

If no upgrade is available, what commands do we need to run to recompile Apache?

Once the recompile is complete, how can we confirm that our update has taken affect and the new FD_SETSIZE value exists in Apache?


RE: Recompiling PHP - sci2tech - 05-21-2008 08:22 AM

straight to source: http://kb.parallels.com/article_41_967_en.html