How to make suPHP work with Plesk 8.6 (debian based)

I folowed your guide on my server but when I try to 'apache2ctl restart' it says:

Syntax error on line 400 of /etc/apache2/apache2.conf:
Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a module not included in the server configuration


Am I missing something?
 
I removed the 'php_admin_flag engine on' line and it started.
How can I check if everything works correctly?
 
I removed the 'php_admin_flag engine on' line and it started.
How can I check if everything works correctly?

Simple, create a php script that creates a file, quick example :

$f = fopen ("test.txt", "a");
fputs($f, "it's working !");
fclose($f);

Now, if you check 'test.txt' it should be setuid/guid of the 'user' of the domain.
 
Back
Top