Results 1 to 5 of 5
-
10-10-2009, 12:04 AM #1Web Hosting Master
- Join Date
- Apr 2009
- Posts
- 1,321
Recompile Apache/PHP, would websites still be accessible while compiling?
I need to recompile Apache/PHP, while it is compiling, are my websites still accessible?
-
10-10-2009, 12:50 AM #2Corporate Member
- Join Date
- Feb 2008
- Location
- Houston, Texas, USA
- Posts
- 3,262
Yes, it should stay up. You have to shutdown the service before running make install, which is essentially the step that copies the binaries/build. Generally, make install takes about 1-2 minutes so do plan for a brief httpd outage.
RegardsUNIXy - Fully Managed Servers and Clusters - Established in 2006
Server Management - Unlimited Servers. Unlimited Requests. One Plan!
cPanel Varnish Plugin -- Seamless SSL Caching (Let's Encrypt, AutoSSL, etc)
Slow Site or Server? Unable to handle traffic? Same day performance fix: joe@unixy
-
10-10-2009, 01:56 AM #3Disabled
- Join Date
- Sep 2004
- Location
- 20 00 N, 77 00 E
- Posts
- 51
-
10-10-2009, 08:35 AM #4Web Hosting Evangelist
- Join Date
- Dec 2006
- Posts
- 480
Did you compile the original or install it using a package manager. If you didn't compile it, the new one may install somewhere different to where your current copy is located.
-
10-10-2009, 12:48 PM #5Web Hosting Master
- Join Date
- Oct 2004
- Location
- Kerala, India
- Posts
- 4,771
The php recompilation will not affect the normal working of webserver. After you recompile the php the new binary is created or .so file is overwritten. The new php will be only taken when you restart the webserver. When you restart the webserver configuration and the resultant binaries are stored into the memory space. During another restart the new values are stored into the memory space.
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android
Similar Threads
-
Recompile Apache
By jhadley in forum Hosting Security and TechnologyReplies: 5Last Post: 10-15-2006, 06:20 AM -
libtiff accessible from php/apache
By harryhood in forum Dedicated ServerReplies: 6Last Post: 11-09-2004, 06:00 PM -
Apache Recompile?
By Mans in forum Hosting Security and TechnologyReplies: 4Last Post: 11-05-2003, 05:12 PM -
How to recompile Apache and PHP?
By Adriaan in forum Dedicated ServerReplies: 6Last Post: 05-17-2002, 08:40 AM -
Frame only Accessible via Paying Websites
By texasweb in forum Hosting Security and TechnologyReplies: 2Last Post: 02-08-2002, 03:50 AM