Change PHP Handler
Hello,
Right now I am using suPHP which is cPanel default setup. I am considering other PHP handler like DSO or FastCGI for lower CPU usage, and the option to use xcache for better performance.
Is it safe changing PHP handler on a live environment? Will there be issues like file permissions of existing files or cPanel automatically fix this upon re-configuration?
My sites are running on WordPress, so I guess my best option is FastCGI?
Thanks!
-
Hello, Well i would suggest you to go mod_ruid2 with DSO. I can't remember correctly if cpanel changes permissions when changing handler, but i believe mod_ruid2 don't care about permissions, as long as owner is good. If you wan't to have 100% uptime, i would suggest renting new cpanel server, configuring it to your needs, importing accounts from old server and test everything out. It everything is ok, delete all accounts from new server and do Express or how is it called transfer, and change IPs of nameservers etc. It takes more time and a lot of hassle. Second option would be to google arround if new setup would break any of wordpress installations or it's plugins and go for it. 0 -
Hello :) Permissions and ownership values for the files/directories utilized by the scripts uploaded to your website are not updated automatically when changing the PHP handler. However, permission/ownership values for directories such as public_html itself are updated automatically. The following documents should be helpful to you: [url=http://docs.cpanel.net/twiki/bin/view/EasyApache/Php/RequestHandling]Apache PHP Request Handling [url=http://docs.cpanel.net/twiki/bin/view/EasyApache/Apache/ModRuid]Apache Module: Ruid2 Thank you. 0 -
[quote="simonas, post: 1492852"> If you wan't to have 100% uptime, i would suggest renting new cpanel server, configuring it to your needs, importing accounts from old server and test everything out. It everything is ok, delete all accounts from new server and do Express or how is it called transfer, and change IPs of nameservers etc. It takes more time and a lot of hassle. Second option would be to google arround if new setup would break any of wordpress installations or it's plugins and go for it.
Thanks for the advice. I don't really like to abandon the current server, it's a kind of "special deal" and I guess I won't get the same specs at same/better pricing. But yeah I guess I should first test on another server, see if it will break current data/wordpress installations. [quote="cPanelMichael, post: 1493011">Hello :) Permissions and ownership values for the files/directories utilized by the scripts uploaded to your website are not updated automatically when changing the PHP handler. However, permission/ownership values for directories such as public_html itself are updated automatically. The following documents should be helpful to you: [url=http://docs.cpanel.net/twiki/bin/vief/EasyApache3/ApachePHPRequestHandling]Apache PHP Request Handling [url=http://docs.cpanel.net/twiki/bin/view/EasyApache/Apache/ModRuid]Apache Module: Ruid2 Thank you.
Thanks. Do you think wordpress cache plugins (I'm using W3 Total Cache) will work fine on DSO? I'm not so sure how the file permissions/ownership of the cache files are treated in this matter. I think it is the only plugin on my websites that automatically creates new files. Other files (uploaded images, etc.) I can check manually. The first link provided is broken, btw.0 -
[quote="DalComp, post: 1493051">Thanks. Do you think wordpress cache plugins (I'm using W3 Total Cache) will work fine on DSO? I'm not so sure how the file permissions/ownership of the cache files are treated in this matter. I think it is the only plugin on my websites that automatically creates new files. Other files (uploaded images, etc.) I can check manually. The first link provided is broken, btw.
You will likely have to modify directory permissions to 0777 in some cases to ensure that plugin continues to work with DSO. You may want to look into Mod_Ruid2 before doing that. I double checked, and both links are loading well for me. Could you try refreshing those pages and checking again? Thank you.0 -
[quote="cPanelMichael, post: 1493082">You will likely have to modify directory permissions to 0777 in some cases to ensure that plugin continues to work with DSO. You may want to look into Mod_Ruid2 before doing that. I double checked, and both links are loading well for me. Could you try refreshing those pages and checking again? Thank you.
Thanks a lot for the responses, Michael. The first link says: [QUOTE]Note: This topic does not exist The topic 'ApachePHPRequestHandling' you are trying to access does not exist, yet.
Perhaps you meant to link to this page? [url=http://docs.cpanel.net/twiki/bin/view/EasyApache/Php/RequestHandling]EasyApache: PHP Request Handling0 -
Yes, it appears the previous document was valid in the past, but was cached and no longer works. I have updated the post to reflect the correct URL. Thank you. 0 -
Sir, i want to turn off php safe mode of my cpanel. i am a website owner and only using cpanel not vps or server. i am trying to install a CMS on my website. but because of safe mode on i can't do so. so please help me. :: there is no icone of 'SSH' in my cpanel :: php.ini is not present on this location /etc/php.ini and :: php configuration is not present. i am sharing some cpanel shots . see them sir and help me. this is cpanel view 17921 this is php config view 17931 0 -
[quote="zohaibmultan, post: 1496111">Sir, i want to turn off php safe mode of my cpanel. i am a website owner and only using cpanel not vps or server. i am trying to install a CMS on my website. but because of safe mode on i can't do so. so please help me. :: there is no icone of 'SSH' in my cpanel :: php.ini is not present on this location /etc/php.ini and :: php configuration is not present. i am sharing some cpanel shots . see them sir and help me.
You need root access to turn off safe mode.0
Please sign in to leave a comment.
Comments
8 comments