So I have everyday many many support tickets from people complaining because they didn't use the ftp layer and messed up with their file permissions that have been changed to apache:apache owner.
So I was thinking of installing suphp to solve that problem. Cpanel uses it natively.
I've read some good and some pretty nasty things such as that server load skyrockets etc.
I also found a tutorial. I have never used suphp. Has anyone tried this at production ? Is it working well ? Did you discover any pitfalls ?
Hello IT.
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?! http://www.youtube.com/watch?v=-E4fm4Wqego
I think mod_ruid2 (search for it on these here forums, Scott provides an rpm for it) is a far better method of achieving this, however I've not put either in production. We currently continue with mod_php and keep failing to provide a permissions and ownerships utility to our customers.
This way you keep the efficiency of mod_php without the burden of apache file ownerships and you can of course switch off open_basedir restrictions and make gains there.
Welcome I am starting to get crazy with the permissions thing. So I tried installing suphp.
It worked allthough some sites experienced issues and I had to disable it again.
Some Joomla sites work great while others crashed.
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './curl.so' - ./curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './dom.so' - ./dom.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './eaccelerator.so' - ./eaccelerator.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './fileinfo.so' - ./fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './gd.so' - ./gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './imap.so' - ./imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './json.so' - ./json.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './ldap.so' - ./ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './mbstring.so' - ./mbstring.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './mysql.so' - ./mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './mysqli.so' - ./mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './pdo.so' - ./pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './pdo_mysql.so' - ./pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './pdo_sqlite.so' - ./pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './phar.so' - ./phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './wddx.so' - ./wddx.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './xmlreader.so' - ./xmlreader.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './xmlwriter.so' - ./xmlwriter.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './xsl.so' - ./xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:12 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './zip.so' - ./zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] Failed loading /usr/local/zo/ZendExtensionManager.so: /usr/local/zo/ZendExtensionManager.so: cannot open shared object file: No such file or directory
[Wed Nov 23 11:18:17 2011] [error] [client ] Failed loading /usr/local/zo/4_3/ZendOptimizer.so: /usr/local/zo/4_3/ZendOptimizer.so: cannot open shared object file: No such file or directory
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './curl.so' - ./curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './dom.so' - ./dom.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './eaccelerator.so' - ./eaccelerator.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './fileinfo.so' - ./fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './gd.so' - ./gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './imap.so' - ./imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './json.so' - ./json.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './ldap.so' - ./ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './mbstring.so' - ./mbstring.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './mysql.so' - ./mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './mysqli.so' - ./mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './pdo.so' - ./pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './pdo_mysql.so' - ./pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './pdo_sqlite.so' - ./pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './phar.so' - ./phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './wddx.so' - ./wddx.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './xmlreader.so' - ./xmlreader.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './xmlwriter.so' - ./xmlwriter.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './xsl.so' - ./xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Nov 23 11:18:17 2011] [error] [client ] PHP Warning: PHP Startup: Unable to load dynamic library './zip.so' - ./zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
Hope someone can help. It is getting crazy with the permissions. There are actually sites that have problem every day due to the apache ownership changes ... !
Hello IT.
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?! http://www.youtube.com/watch?v=-E4fm4Wqego