| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#1 (permalink) |
|
Registered User
On a golden path...
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 |
|
|
|
|
|
#2 (permalink) |
|
Registered User
On a golden path...
Joined in Sep 2005
Lives in The Mountains
Hosted on Pass43
331 posts
Gave thanks: 16
Thanked 14 times
|
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 ![]() |
|
|
|
|
|
#3 (permalink) |
|
Staff of Surpass
Super #1
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 |
|
|
|
|
|
#5 (permalink) |
|
Senior Member
Super #1
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.
__________________
![]() ![]() ![]() ![]() ![]() ![]()
|
|
|
|