Php - Your PHP installation appears to be missing the MySQL extension which is required by WordPress

0 votes

For me to fix the error occurring below, what should I do? 

Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

I have been using a telnet connection with my NAS and have installed FFP 0.7

My php.ini is in: ffp/etc/php.ini and I removed my comments on everything I thought to be of use.

Below is a part of my php.ini file;

If you wish to have an extension loaded automatically, use the following:-

; syntax: 
; 
; extension=modulename.extension 
; 
; For example, on Windows: 
; extension=msql.dll
; 
; ... or under UNIX: ; extension=msql.so 
; 
; ... or with a path: 
; extension=/ffp/lib/extensions/no-debug-non-zts-20100525/mysql.so 
; 
extension=php_mysql.dll 
extension=php_mysqli.dll 
extension=php_pdo_mssql.dll 
extension=php_pdo_mysql.dll 
extension=php_pdo_oci.dll 
extension=php_pdo_odbc.dll 
extension=php_pdo_pgsql.dll 
extension=php_pdo_sqlite.dll 
extension=php_pgsql.dll 
extension=pdo.so 
extension=pdo_sqlite.so 
extension=sqlite.so 
extension=pdo_mysql.so


The issue I am facing constantly is that when I run in phpinfo(), I see the module MySQLi activated but not MySQL. MySQL is working as expected just as PHP and Lighttpd web server. I do have my phpmyadmin working which is on a Zyxel NSA310. Additionally, when mysqld starts, it creates a shortcut from my root to: ffp/opt/mysql.. and every time I restart my NAS the shortcut is deleted. Does anyone know a trick in order to solve this?

Feb 8, 2022 in Others by Rahul
• 9,680 points
1,529 views

1 answer to this question.

0 votes

I have found a solution for you towards the ending but start with making sure that your MySQL server is working and running and then type out the following code at a shell prompt:

/etc/init.d/mysql status
 

If MySQL is not running, enter:

/etc/init.d/mysql start

If MySQL is not installed, type the following command to install MySQL server:

apt-get install mysql-server

Make sure MySQL module for php5 is installed:

dpkg --list | grep php5-mysql

To install php5-mysql module enter:

apt-get install php5-mysql

Next, restart the Apache2 web server:

/etc/init.d/apache2 restart

answered Feb 8, 2022 by Soham
• 9,710 points

Related Questions In Others

0 votes
1 answer

Where is the documentation to refer for coinbase api integration of Etherium coin currency in php?

Hey there! Please refer to the following ...READ MORE

answered Jan 25, 2019 in Others by Omkar
• 69,220 points
850 views
–2 votes
0 answers
0 votes
1 answer

PHP & MySQL: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given

Your query seems to have an ERROR ...READ MORE

answered Feb 16, 2022 in Others by Aditya
• 7,680 points
4,798 views
0 votes
1 answer

MAX function in Excel: is it possible to provide the range by means of variables?

Try this: =MAX(INDEX(A:A,B2):INDEX(A:A,B3)) READ MORE

answered Nov 15, 2022 in Others by narikkadan
• 63,600 points
607 views
0 votes
0 answers
0 votes
2 answers

Define a SQL query? What is the difference between SELECT and UPDATE Query? How do you use SQL in SAS?

HI.. SQL is Structured Query Language, which is ...READ MORE

answered Aug 8, 2020 in PHP by anonymous
10,545 views
0 votes
1 answer

Why is not preferable to use mysql_* functions in PHP?

The reasons are as follows: The MySQL extension: Does ...READ MORE

answered Sep 7, 2018 in Database by DataKing99
• 8,250 points
1,274 views
0 votes
2 answers
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP