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.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-27-2008, 05:51 PM   #1
iMind
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
iMind is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-27-2008, 05:55 PM   #2
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,386
Go to your domain/site settings page and click the appropriate checkbox
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-27-2008, 06:02 PM   #3
iMind
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!
iMind is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-27-2008, 06:04 PM   #4
CurrentlySober
Too lazy to wipe my ass
 
CurrentlySober's Avatar
 
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?
__________________


👁️ 👍️ 💩
CurrentlySober is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-27-2008, 06:07 PM   #5
iMind
Confirmed User
 
Join Date: Nov 2007
Posts: 937
Quote:
Originally Posted by ThatGuyInTheCorner View Post
Perhaps they have simply rolled under the couch, and are next to that tv remote you last saw at xmas?
Seems that way!

bump for help! :D
iMind is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-27-2008, 06:07 PM   #6
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
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
in your .htaccess
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-27-2008, 06:10 PM   #7
iMind
Confirmed User
 
Join Date: Nov 2007
Posts: 937
Quote:
Originally Posted by GrouchyAdmin View Post
So long as AuthConfig is set correctly, you can put this:

Code:
php_admin_flag safe_mode Off
in your .htaccess
Hmm , After adding that the server just throws errors ..
So I'll assume Authconfig isn't set correctly

I hate working on other peoples servers
iMind is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-27-2008, 06:13 PM   #8
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by iMind View Post
I hate working on other peoples servers
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.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-27-2008, 09:03 PM   #9
tiger
Confirmed User
 
tiger's Avatar
 
Industry Role:
Join Date: Apr 2002
Location: Los Angeles
Posts: 6,986
nano /usr/lib/php.ini

safe mode = off

restart apache.
__________________

tiger is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-28-2008, 01:29 AM   #10
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by tiger View Post
nano /usr/lib/php.ini

safe mode = off

restart apache.
This would be a server wide change, not a single site - which might not be a brilliant idea.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.