icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » PHPsuexec » mkdir() and chdir()

PHPsuexec Information and tips

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old July 7th, 2008, 8:17 AM   #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
tjinman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 7th, 2008, 11:25 AM   #2 (permalink)
Surpass Developer
On a golden path...
 
Mark's Avatar
 
Joined in Jan 2004
Lives in Florida
Hosted on decc.surpasshosting.com
491 posts
Gave thanks: 17
Thanked 75 times
If your server has phpsuexec enabled, no directory should have 777 permissions. Change the base directory where you are using these functions to 755 and you should have no problems
__________________
Mark
Surpass Hosting Developer
sɹnoʎ uɐɥʇ ɹǝʇʇǝq sı bıs ʎɯ
Mark is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On