Gentoo Blog

The ultimate Gentoo Blog
  • Home
  • About

Turning off safe_mode and register_globals in Plesk

Simon | May 27, 2009

Create a file called “vhost.conf” in the directory “/var/www/vhosts/example.com/conf/”

<Directory /var/www/vhosts/example.com/httpdocs>
php_admin_value safe_mode off
php_admin_flag register_globals on
</Directory>

Rebuild the domain config for the particular vhost with:

/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=example.com

Or rebuild all vhosts if you changed more than one with:

usr/local/psa/admin/sbin/websrvmng -a

You can also change other settings this way here are some examples:

php_admin_value post_max_size 25M
php_admin_value upload_max_filesize 20M
php_admin_value open_basedir none

Share on Facebook
Comments
1 Comment »
Categories
confixx/Plesk
Comments rss Comments rss
Trackback Trackback

The Big Lebowski Fucking Short Version

Simon | May 8, 2009

Share on Facebook
Comments
No Comments »
Categories
fun
Comments rss Comments rss
Trackback Trackback

 

May 2009
M T W T F S S
« Mar   Jun »
 123
45678910
11121314151617
18192021222324
25262728293031

Categories

  • confixx/Plesk
  • fun
  • Gentoo
  • iptables
  • mysql
  • news
  • Raid Controllers
  • Stuff
  • Ubuntu/Debian
  • Xen/Vmware

Links

  • Gentoo
  • http.net
  • iphone software linux
  • michael-fuchs.net
  • Ubuntu
  • webupd8.org

Search Blog

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox