Current time: 12-01-2022, 11:25 PM Hello There, Guest! (LoginRegister)


Post Reply 
Recompiling PHP
Author Message
lost108 Offline
Junior Member
*

Posts: 11
Joined: Mar 2008
Reputation: 0
Post: #1
Recompiling PHP
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!
05-21-2008 07:00 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #2
RE: Recompiling PHP
You should recompile apache not php. Or disable loggs.
05-21-2008 08:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
lost108 Offline
Junior Member
*

Posts: 11
Joined: Mar 2008
Reputation: 0
Post: #3
RE: Recompiling PHP
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?
05-21-2008 08:17 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #4
RE: Recompiling PHP
straight to source: http://kb.parallels.com/article_41_967_en.html
05-21-2008 08:22 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)