简体   繁体   中英

500 - Internal server error - htdocs: No such file or directory

I'm having a problem with installing Wordpress, I can get to the step where you enter your database details but once I click next it comes up with the error: 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.

From looking around, it might be the permissions on 'htdocs' but when I try and change the permissions (to 755) it says: 550 Could not change perms on htdocs: No such file or directory

I'm pretty lost at this point, the host is with fasthosts and I can't see any issue on the hosting side.

Thanks in advance.

Set permission all folders on 755.

find ./ -type d -exec chmod 755 {} \;

Set permission all files on 644.

find ./ -type f -exec chmod 644 {} \;

Check owner files. and set correction user for owner.
For example in following code, replace user with correction owner site.
This code work if you use of Cpanel

chown user:user /home/user/public_html/ -R
chown user:nobody /home/user/public_html/

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