Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install wordpress on Ubuntu 18.04 LTS

I am trying to install wordpress on Ubuntu 18.04 LTS and I have an issue. I am doing everything, step by step.

I installed these things and I've checked status as well:

  • Apache ( status is active )
  • Mysql ( status is active )
  • PHP ( PHP 5.6.38-3+ubuntu18.04.1+deb.sury.org+1 )

When I'm opening webrowser firefox with http://localhost/ I have an error:

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

What should I check? I checked another topic but its not help me.

like image 759
stardustsky Avatar asked Nov 06 '22 23:11

stardustsky


1 Answers

It seems that you installed MySQL itself but not the php extension.

Try something like: sudo apt install php libapache2-mod-php php-mysql

like image 184
WebWorker Avatar answered Nov 09 '22 12:11

WebWorker