简体   繁体   中英

Fatal error (include_path='.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in Unknown on line 0

It is my shared hosting running 3 websites. Just from yesterday, all of those are giving the same error.

Fatal error: Unknown: Failed opening required '/home/user/... ... /index.php' (include_path='.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in Unknown on line 0

I have changed nothing during this time.

I found some answers about this error, but they are mostly need root access to settings. I do not have root access. Please suggest me what can I do.

Note: the public_html folder has permission set to 750, I tried using 755 but the error is same. Can I keep it 750?

It seems the include path of your php installation was updated. This can happen if the php was updated by the hosting company.

The error message is:

"Fatal error: Unknown: Failed opening required '/home/user/... ... /index.php'"

It means the file index.php cannot be found. Does this file exist?. Is the include statement using a relative path?

You should mention the error to your hosting company

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM