After tracking it down, the error seems to be related to the open_basedir (according to the error log), but the file being access does seem to be within the list of directories. Code: [Fri May 21 20:07:04 2010] [error] [client 98.28.57.67] PHP Warning: Unknown: open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/clients/client1/web10/web:/var/www/clients/client1/web10/tmp:/var/www/www.therealmikelee.com/web:/srv/www/www.therealmikelee.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin) in Unknown on line 0 [Fri May 21 20:07:04 2010] [error] [client 98.28.57.67] PHP Fatal error: Can't load /var/www/www.therealmikelee.com/web/restart.php, open_basedir restriction. in Unknown on line 0 And the vhost file: Code: <Directory /var/www/www.therealmikelee.com> AllowOverride None Order Deny,Allow Deny from all </Directory> <VirtualHost *:80> DocumentRoot /var/www/www.therealmikelee.com/web ServerName www.therealmikelee.com ServerAdmin [email protected] ErrorLog /var/log/ispconfig/httpd/www.therealmikelee.com/error.log ErrorDocument 400 /error/400.html ErrorDocument 401 /error/401.html ErrorDocument 403 /error/403.html ErrorDocument 404 /error/404.html ErrorDocument 405 /error/405.html ErrorDocument 500 /error/500.html ErrorDocument 503 /error/503.html <Directory /var/www/www.therealmikelee.com/web> Options FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> <Directory /var/www/clients/client1/web10/web> Options FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> # mod_php enabled AddType application/x-httpd-php .php .php3 .php4 .php5 php_admin_value sendmail_path "/usr/sbin/sendmail -t -i [email protected]" php_admin_value upload_tmp_dir /var/www/clients/client1/web10/tmp php_admin_value session.save_path /var/www/clients/client1/web10/tmp php_admin_value open_basedir /var/www/clients/client1/web10/web:/var/www/clients/client1/web10/tmp:/var/www/www.therealmikelee.com/web:/srv/www/www.therealmikelee.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin # add support for apache mpm_itk <IfModule mpm_itk_module> AssignUserId web10 client1 </IfModule> </VirtualHost> I've tried adjusting the open_basedir value to just the /var/www/www.therealmikelee.com/web value there I know the file is and it still errors out. Thoughts?
1) Which PHP method did you select in this website? 2) Post the output of: ls -la /var/www/www.therealmikelee.com/web/restart.php
I am using mod_php. I tried the script at 644 and 755. Code: [root@ns ~]# ls -la /var/www/www.therealmikelee.com/web/restart.php -rwxr-xr-x 1 web10 client1 167 2010-05-21 20:28 /var/www/www.therealmikelee.com/web/restart.php