Claim your Biolink Click Here
1 like 0 dislike
344 views
in Education & Reference by (4.6k points) | 344 views

1 Answer

1 like 0 dislike
Best answer
ON CENTOS
If you are running your WordPress site on a CentOS VPS without any kind of control panel. Your first step would be to check the PHP version that you are running.

PHP -V
Will show you the PHP Version you are currently running. In our case, this is PHP 7.0. We need to install the PHP-MySQL extension for PHP 7.0. We can do this using the following command:

YUM UPDATE
YUM INSTALL PHP70W-MYSQL
Once installed, restart your web server, for Apache it is:

systemctl restart httpd
Or

service httpd restart
After restarting, your WordPress site should work properly.
by (1.6k points)
selected by

Related questions

1 like 0 dislike
1 answer
asked Jan 4, 2018 in Education & Reference by Sam (1.6k points) | 1.1k views
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

1,308 questions
1,469 answers
568 comments
4,809 users