csaif7 Posted November 12, 2008 Share Posted November 12, 2008 Hi - I am moving away from prefork module to worker and wondering if some one can tell me the easy way to achieve the same without effecting all the settings on the running server. Environment: - Solaris 8/9/10 (three web server on different version of Solaris) - Apache2 (2.0.63) with prefork module Goal: Switch the MPM from from prefork to worker Can I follow these steps do you see any problem in these steps: - back up the previous install directory e.g. /usr/local/apache2.previous - configure and compile apache (2.0.63) with worker module and use the same prefix as the previous install e.g. /usr/local/apache2 - install apache (over write the files in /usr/local/apache2 directory I tried to install it under a different prefix and after comparing it with the previous instance I found 308 files different (mainly in cgi-bin , conf, include and lib directories). Thanks, Quote Link to comment https://forums.phpfreaks.com/topic/132438-solved-changing-the-mpm-from-prefork-to-worker/ Share on other sites More sharing options...
trq Posted November 12, 2008 Share Posted November 12, 2008 Seems a fair enough procedure to me. You might want to backup anything under /etc as well though. Quote Link to comment https://forums.phpfreaks.com/topic/132438-solved-changing-the-mpm-from-prefork-to-worker/#findComment-688578 Share on other sites More sharing options...
csaif7 Posted November 12, 2008 Author Share Posted November 12, 2008 Thanks for your quick reply - did you mean any thing under /etc/apache directory? The etc itself has many files in it that are not apache related. I have the following under /etc/apache access.conf httpd.conf-example jserv.conf jserv.properties magic mime.types srm.conf zone.properties Quote Link to comment https://forums.phpfreaks.com/topic/132438-solved-changing-the-mpm-from-prefork-to-worker/#findComment-688663 Share on other sites More sharing options...
trq Posted November 12, 2008 Share Posted November 12, 2008 Yeah, I meant anything relating to apache obviously. Quote Link to comment https://forums.phpfreaks.com/topic/132438-solved-changing-the-mpm-from-prefork-to-worker/#findComment-688836 Share on other sites More sharing options...
csaif7 Posted November 12, 2008 Author Share Posted November 12, 2008 I did the recompilation and used the steps listed before and the server is up and running with worker module - so far no problem. I guess this thread can be close. Thanks for you confirmation. Quote Link to comment https://forums.phpfreaks.com/topic/132438-solved-changing-the-mpm-from-prefork-to-worker/#findComment-688844 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.