Re: Installing template change owner to system, hence I can't access the files
Posted 18 years 8 months ago
Hi,
That should be it. Our servers used to run php as nobody or apache. When I recompiled apache with PHP suEXEC it correct the problem. PHP should be running as a CGI to run as the user account. To confirm this try makeing a file called info.php. In it put htis code:
<?php
phpinfo();
?>
put the file in the public root of your server then call it form your web browser. Look for a PHP var called
_SERVER["SERVER_SOFTWARE"]
It should have Apache made with PHP-CGI as part of the value. If it is not there then PHP is not running as the user. REMOVE THIS FILE WHEN YOU ARE DONE. Very important, if gives away alot of server information.