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 Error?

PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >>

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old October 5th, 2007, 4:58 AM   #1 (permalink)
Registered User
On a golden path...
 
SnakeMan's Avatar
 
Joined in Sep 2005
Lives in The Mountains
Hosted on Pass43
331 posts
Gave thanks: 16
Thanked 14 times
PHPsuexec Error?

I've copied the code from this thread: whoami.php and put in my public_html folder and when I run it I get the following error:

Warning: exec() has been disabled for security reasons in /home/XXXXXXX/public_html/whoami.php on line 4
php is running as user:

Any suggestions as to why?

I'm on pass76

Thanks,
Snakeman

The site is on pass76
SnakeMan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 8th, 2007, 10:27 AM   #2 (permalink)
Registered User
On a golden path...
 
SnakeMan's Avatar
 
Joined in Sep 2005
Lives in The Mountains
Hosted on Pass43
331 posts
Gave thanks: 16
Thanked 14 times
Exclamation Maybe I used the wrong subject

Perhaps one of you PHP guru's can explain why I get the error message in my previous post on PASS76? It works correctly on PASS43 and PASS61.

Snakeman
SnakeMan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 8th, 2007, 10:30 AM   #3 (permalink)
Dan
Staff of Surpass
Super #1
 
Dan's Avatar
 
Joined in Apr 2007
2,744 posts
Gave thanks: 152
Thanked 184 times
phpsuexec may not be running on this server or is not functioning properly. I'd go the ticket route to see about getting that sorted.

https://desk.surpasshosting.com/
__________________
D4nz Net - Surpass Help Desk - NES Forever
Use the thanks button. It works!
AIM: dansorl
Dan is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 8th, 2007, 11:09 AM   #4 (permalink)
Registered User
On a golden path...
 
SnakeMan's Avatar
 
Joined in Sep 2005
Lives in The Mountains
Hosted on Pass43
331 posts
Gave thanks: 16
Thanked 14 times
Thanks Dan. Ticket #: KGY-836672 submitted.

Snakeman
SnakeMan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 8th, 2007, 5:26 PM   #5 (permalink)
Senior Member
Super #1
 
FredFredrickson's Avatar
 
Joined in Nov 2003
Lives in New Hampshire
1,260 posts
Gave thanks: 3
Thanked 27 times
exec has nothing to do with phpsuexec. Your script has a call to the exec() function which allows php to run external programs and shell commands, which has been disabled for security, and will most likely never be re-enabled for the safety of everybody on the server.
__________________
FredFredrickson is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 8th, 2007, 7:12 PM   #6 (permalink)
Registered User
On a golden path...
 
SnakeMan's Avatar
 
Joined in Sep 2005
Lives in The Mountains
Hosted on Pass43
331 posts
Gave thanks: 16
Thanked 14 times
All taken care of by the helpdesk.
SnakeMan 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