简体   繁体   中英

How can I fix localhost configuration error

I'm trying to set up WordPress localhost and when I click to open installed app I get an error message "class not registered".

This started happening after I factory reset my laptop. Pleas what do I do?

Make sure basic LAMP is installed. Probably you also have to edit your hosts file /etc/hosts with 127.0.0.1 your_site_url starting from the new line. Also try edit/create index.php file and put there <?php phpinfo(); Normally you should see your php config.

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