Mittwoch, 12. Januar 2011

Plesk vhost and register globals

To activate register globals or other php modules on a linux machine running plesk you have to create a file named vhost.conf in the conf directory of your virtual host directory containing something like this:

php_flag register_globals on


After that I had to execute the following command:

/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=domain.com

0 Kommentare:

Kommentar veröffentlichen