Updated PHP and now it's Causing Issues in WP
I updated PHP on my dedicated server since one of the sites required 5.5. Previously I had 5.3 and Apache 2.2, now I have 5.5 and Apache 2.4. When updating a plugin in WordPress it asks for FTP info, this is caused by PHP running as the apache user (mod_php or CGI) rather than the user that owns your WordPress files. I know there are fixes with the wp-config, but I have a lot of WordPress sites and don't want to go through all of them. Is there an easier fix?
-
This is permission issue of php, your way of executing PHP has changed and now PHP files are not being executed under user provileges. You need to probably recompile or select other way of running PHP under "Configure PHP and suExec". If you select DSO and want PHP run under user privileges - you should recompile with mod_ruid support. Otherwise you should choose FastCGI. Both options have their strong and weak sides.. ;) 0 -
This is permission issue of php, your way of executing PHP has changed and now PHP files are not being executed under user provileges. You need to probably recompile or select other way of running PHP under "Configure PHP and suExec". If you select DSO and want PHP run under user privileges - you should recompile with mod_ruid support. Otherwise you should choose FastCGI. Both options have their strong and weak sides.. ;)
Edit* I switched from dso to cgi and it fixed it. Thanks!0 -
oki.. if you encounter speed problems, try recompiling Apache with FastCGI support. that works faster, than traditional CGI. ;) 0 -
Hello :) Please also note the following considerations for each PHP handler: Apache PHP Request Handling - EasyApache - cPanel Documentation Thank you. 0
Please sign in to leave a comment.
Comments
4 comments