Home >Database >Mysql Tutorial >How to Fix PHP Error: \'Your PHP installation appears to be missing the MySQL extension which is required by WordPress\'?
PHP Error: Missing MySQL Extension for WordPress
When attempting to install WordPress, you may encounter the error "Your PHP installation appears to be missing the MySQL extension which is required by WordPress." This error indicates that the PHP extension for accessing MySQL is not enabled or configured correctly. Here's how to resolve this issue:
Verify MySQL Installation and Status:
Install PHP MySQL Extension:
Confirm Extension Installation:
Restart Web Server:
Address MySQL Shortcut Issue (Zyxel NSA310 Specific):
Note that this issue is specific to Zyxel NSA310 devices. When mysqld is started, it creates a shortcut from the root to /ffp/opt/mysql which is deleted upon NAS restarts. To address this, it is recommended to create a symbolic link instead:
The above is the detailed content of How to Fix PHP Error: \'Your PHP installation appears to be missing the MySQL extension which is required by WordPress\'?. For more information, please follow other related articles on the PHP Chinese website!