I'm looking for articles, threads or advice on making old scripts once reliant on 777 permissions be able to run with suphp.
Backstory
---------
Today I found my wordpress blog was unable to install plugins automatically, a common permissions problem with user 'nobody' apparently. As I intend to install wordpress blogs on quite a few domains on my server I thought it best to fix this problem. So I recompiled? apache to include suphp. Wordpress plugins install automatically now. All is good, for wordpress.
When I first read about this fix it was mentioned a lot of old scripts reliant on 777 permissions would be a problem when using suphp. For me everything server is a problem so I went ahead anyway thinking it would be a simpler fix than its turning out to be.
The script tracks clicked outlinks from a webpage and at first these outlinks would not load, I would be given a 500 error. So I adjusted the 777 files and folders to 755 on each page and the scripts webpage behaviour works now. Most of the pages are .html set by htaccess to behave as .shtml, the rest are just .shtml. (I then found I needed to have zend optimizer installed and it wasn't included in the newest version of apache I upgraded to, I downgraded/recompiled and fixed this)
The script is installed on multiple domains on my server but has a main installation on one domain from which a central control panel is accessed. I am unable to load that control panel in a browser, I get the 500 errors. I went through and by hand modified all permissions to 755 for the hundreds of files and folders that were 777 but I'm still unable to load this scripts control panel. It is possible I missed a few files in the dozens of folders but the main root folders/files are all 755. (I have a separate thread here asking how to do a search for 777 files as its near impossible to do by hand)
Not sure if this helps but one of the components? of this script seems to be phpmyadmin as there is a folder in the scripts root/control panel install location for it.
Anyways, lots of useless info above, I'm sure, but I wanted to include it as I don't know enough to know what is important or not. My appreciation to anybody with the patience to read through it
Backstory
---------
Today I found my wordpress blog was unable to install plugins automatically, a common permissions problem with user 'nobody' apparently. As I intend to install wordpress blogs on quite a few domains on my server I thought it best to fix this problem. So I recompiled? apache to include suphp. Wordpress plugins install automatically now. All is good, for wordpress.
When I first read about this fix it was mentioned a lot of old scripts reliant on 777 permissions would be a problem when using suphp. For me everything server is a problem so I went ahead anyway thinking it would be a simpler fix than its turning out to be.
The script tracks clicked outlinks from a webpage and at first these outlinks would not load, I would be given a 500 error. So I adjusted the 777 files and folders to 755 on each page and the scripts webpage behaviour works now. Most of the pages are .html set by htaccess to behave as .shtml, the rest are just .shtml. (I then found I needed to have zend optimizer installed and it wasn't included in the newest version of apache I upgraded to, I downgraded/recompiled and fixed this)
The script is installed on multiple domains on my server but has a main installation on one domain from which a central control panel is accessed. I am unable to load that control panel in a browser, I get the 500 errors. I went through and by hand modified all permissions to 755 for the hundreds of files and folders that were 777 but I'm still unable to load this scripts control panel. It is possible I missed a few files in the dozens of folders but the main root folders/files are all 755. (I have a separate thread here asking how to do a search for 777 files as its near impossible to do by hand)
Not sure if this helps but one of the components? of this script seems to be phpmyadmin as there is a folder in the scripts root/control panel install location for it.
Anyways, lots of useless info above, I'm sure, but I wanted to include it as I don't know enough to know what is important or not. My appreciation to anybody with the patience to read through it