| Author |
Message |
Scott tutorialtoday.com

Joined: 24 Mar 2005 Posts: 2582 Location: Mississauga, Ontario
|
Posted: Fri Feb 15, 2008 4:28 pm Post subject: Can't run PHP file I have recently uploaded |
|
|
I have uploaded a script which I can't run, every time I access any PHP file it gives me a 500 error
| Quote: | | SoftException in Application.cpp:238: File "*censored*l/install.php" is writeable by group |
When I run the exact same script which I uploaded a while ago it works fine without an error. So what is going wrong? _________________ Tutorial Management Script - Version 1.3 Released
TutorialToday - Up and running, submit your tutorials!
Linux Tutorials - Coming Soon |
|
| Back to top |
|
| |
krt ...

Joined: 11 Jan 2005 Posts: 4607 Location: Australia
|
Posted: Fri Feb 15, 2008 7:20 pm Post subject: |
|
|
| Not sure, it seems to be confined to files created since the Apache2 upgrade. Does it have to have group write permissions? You could chmod it to 646 or 644. |
|
| Back to top |
|
| |
LP-Trel Zen

Joined: 02 Dec 2002 Posts: 5721 Location: Nirvana by Boredom
|
Posted: Fri Feb 15, 2008 10:44 pm Post subject: |
|
|
You will need to change the chmod of it to 644. It should be setup with the proper permissions when it is uploaded via FTP.
The umask should be 0022 and I can't see any obvious issues.
I'll check into it a bit more, but feel free to drop a support ticket in if you aren't comfortable providing more details about how it was uploaded in this thread. _________________ * Knowledge Base * Wiki * Forum FAQs * |
|
| Back to top |
|
| |
Scott tutorialtoday.com

Joined: 24 Mar 2005 Posts: 2582 Location: Mississauga, Ontario
|
Posted: Sat Feb 16, 2008 9:21 am Post subject: |
|
|
Woah, I just noticed the permissions for every file was set to 777... I have no idea why. _________________ Tutorial Management Script - Version 1.3 Released
TutorialToday - Up and running, submit your tutorials!
Linux Tutorials - Coming Soon |
|
| Back to top |
|
| |
|
|
|