GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Turning PHP safemode off? (https://gfy.com/showthread.php?t=818174)

iMind 03-27-2008 05:51 PM

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

just a punk 03-27-2008 05:55 PM

Go to your domain/site settings page and click the appropriate checkbox :2 cents:

iMind 03-27-2008 06:02 PM

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!

CurrentlySober 03-27-2008 06:04 PM

Perhaps they have simply rolled under the couch, and are next to that tv remote you last saw at xmas?

iMind 03-27-2008 06:07 PM

Quote:

Originally Posted by ThatGuyInTheCorner (Post 13987890)
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

GrouchyAdmin 03-27-2008 06:07 PM

So long as AuthConfig is set correctly, you can put this:

Code:

php_admin_flag safe_mode Off
in your .htaccess

iMind 03-27-2008 06:10 PM

Quote:

Originally Posted by GrouchyAdmin (Post 13987908)
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 :disgust

GrouchyAdmin 03-27-2008 06:13 PM

Quote:

Originally Posted by iMind (Post 13987922)
I hate working on other peoples servers :disgust

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.

tiger 03-27-2008 09:03 PM

nano /usr/lib/php.ini

safe mode = off

restart apache.

GrouchyAdmin 03-28-2008 01:29 AM

Quote:

Originally Posted by tiger (Post 13988330)
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.


All times are GMT -7. The time now is 12:32 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123