| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Nov 2005
5 posts
Gave thanks: 1
Thanked 0 times
|
mkdir() and chdir()
Hi
When using the mkdir() and chdir() functions I am receiving a 500 Internal server Error. The functions work offline using the Apache Friends installation. I have changed the directory folder properties where I wish to mkdir() to 777. Does anyone have any idea why they are causing an error online. Tony |
|
|
|
|
|
#2 (permalink) |
|
He shoots.. He scores!
Super #1
Joined in Feb 2007
Lives in A room with no windows.
Hosted on SH110
1,448 posts
Gave thanks: 46
Thanked 140 times
|
You can't use 777 on php running as CGI. Makes it safer.
Try using 755 and you should be good to go.
__________________
SH110
|
|
|
|
| This user thanks puckchaser for this great post! | tjinman (July 8th, 2008) |