Plesk login page shows "Failed opening 'auth.php3' for inclusion" PHP error.

Article ID: 3990 
Last Review: Oct,6 2008
Author:
Last updated by: system APPLIES TO:
  • Parallels Plesk for Linux/Unix

Symptoms

I am trying to access Plesk CP login page and get the error:

Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0 Warning: Unknown: Failed opening 'auth.php3' for inclusion (include_path='.:') in Unknown on line 0



Cause

This error means that Plesk cannot find needed PHP files for inclusion in the current include_path. Usually the problem is in damaged Plesk configuration files.

Resolution

Make sure that there is no php.ini file in the root directory on the server:
ls -al /php.ini

Rename or move it from the '/' directory if you found it, restart Plesk and try to login again.

Also check that httpsd.conf and php.ini files exist in $PRODUCT_ROOT_D/admin/conf/ directory and they have not zero size:
# ls -la /usr/local/psa/admin/conf/{bb}php.ini,httpsd.conf{be}
-rw-r--r-- 1 root root   15276 2008-01-31 11:42 /usr/local/psa/admin/conf/httpsd.conf
-rw-r--r-- 1 root psaadm 48715 2008-02-26 17:40 /usr/local/psa/admin/conf/php.ini

If you feel that these files are damaged, you can copy them from another working Plesk server, that has the same Plesk version installed. Restart Plesk and check if it works.



Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields