PHP Version - 5.2.4-2ubuntu5.5
MySQL Version - 5.0.51a-3ubuntu5.4
Server API Version - apache2handler
OS Version - Ubuntu 8.10
ISPConfig 2.2.x
So several sites that I have use PHP scripts to create folders in an uploads gallery. However, once these folders are created they aren't writable by the site.
The scripts are set to chmod the folders to 777 but these created folders have the following permissions:
owner:
www-data
permission:
755
The owner should be obviously webX where X is the number of the site.
Posts: 154
Thanks: 44
Thanked 13 Times in 11 Posts
You need to use install suphp if you want the server to create folders as webX.
I had the same issue some time ago but after suphp everything is fine there is a great tutorial here somwhere about configureing suphp on your IspConfig server.
Thanks for the reply but the howto ended up breaking my server.
None of the PHP scripts work. I can still access ISPConfig and html pages but when I try to access a PHP site on the server it downloads a PHTML or PHP file...
Recent comments
1 day 12 hours ago
1 day 20 hours ago
1 day 23 hours ago
2 days 1 hour ago
2 days 2 hours ago
2 days 4 hours ago
2 days 5 hours ago
2 days 6 hours ago
2 days 22 hours ago
2 days 23 hours ago