Portal Home > Knowledgebase > Articles Database > Recompile Apache/PHP, would websites still be accessible while compiling?


Recompile Apache/PHP, would websites still be accessible while compiling?




Posted by chasebug, 10-10-2009, 12:04 AM
I need to recompile Apache/PHP, while it is compiling, are my websites still accessible?

Posted by UNIXy, 10-10-2009, 12:50 AM
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. Regards

Posted by Mr.TOXIC, 10-10-2009, 01:56 AM
Yes it will be accessible. The sites would be unavailable only during the restart of the webserver.

Posted by RBBOT, 10-10-2009, 08:35 AM
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.

Posted by david510, 10-10-2009, 12:48 PM
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.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
help for kernel update (Views: 834)
Reseller with SSH (Views: 812)
Interested in php! (Views: 710)
SMTP Configuration (Views: 814)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.