|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Nov 2007
Posts: 937
|
Turning PHP safemode off?
Anyone know how to turn PHP safemode off via plesk ?
Sorry .. I read the docs, but the buttons they describe aren't even there :P |
|
|
|
|
|
#2 |
|
So fuckin' bored
Industry Role:
Join Date: Jun 2003
Posts: 32,386
|
Go to your domain/site settings page and click the appropriate checkbox
![]()
__________________
Obey the Cowgod |
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Nov 2007
Posts: 937
|
Yeah, I think I'm using some dummied down version of plesk or something
There is no setting for anything like that .. I have a choice to turn support for PHP on or off .. but there's no setting for safemode at all, And half the fucking buttons in the docs are missing and it's beginning to upset me! |
|
|
|
|
|
#4 |
|
Too lazy to wipe my ass
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,677
|
Perhaps they have simply rolled under the couch, and are next to that tv remote you last saw at xmas?
|
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Nov 2007
Posts: 937
|
|
|
|
|
|
|
#6 |
|
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
So long as AuthConfig is set correctly, you can put this:
Code:
php_admin_flag safe_mode Off
__________________
|
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: Nov 2007
Posts: 937
|
|
|
|
|
|
|
#8 |
|
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
Likely not, since it's a php_admin value and not a php_value. Find the applicable httpd.conf (looks like /home/httpd/vhosts/sitegoeshere/conf/vhost.conf) and place it the primary <Directory> set, there.
Since it's Plesk, you need to notify: sudo /usr/local/psa/admin/bin/websrvmng -a -v Restart Apache.
__________________
|
|
|
|
|
|
#9 |
|
Confirmed User
Industry Role:
Join Date: Apr 2002
Location: Los Angeles
Posts: 6,986
|
nano /usr/lib/php.ini
safe mode = off restart apache. |
|
|
|
|
|
#10 |
|
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
This would be a server wide change, not a single site - which might not be a brilliant idea.
__________________
|
|
|
|