Skip to content

[ubuntu] Your PHP installation appears to be missing the MySQL extension which is required by WordPress

Published: at 09:02 AM (1 min read)

通常原因會是更新了 php 版本卻沒裝對應的 mysql package

試著將以下 package 安裝後,並重啟 nginx/php-fpm 即可

sudo apt-get install php7.x-mysql
sudo service nginx restart
sudo service php7.x-fpm restart

備註: x 為你所裝的 php 版本


Previous Post
[XSS] web security wargame (上)
Next Post
The 'INFORMATION_SCHEMA.GLOBAL_STATUS' feature is disabled: see the documentation for 'show_compatibility_56'