I am trying to install wordpress on my nginx + mariadb
First step of: pointing my url to
http://localhost/wordpress/
is throwing following error:
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
I hope many other people are using wordpress with mariadb.
[EDIT]
Using WNMP for bundle installation of ( Nginx + MariaDB + PHP )
Maybe this helps you, its for Windows 7. Here are the steps
Get the files
Download only the compressed files which do not require installation to use the programs
https://github.com/Xeoncross/wnmp
http://code.jellycan.com/memcached/
http://dev.mysql.com/downloads/
http://nginx.org/en/download.html
http://windows.php.net/download/
http://www.phpmyadmin.net/home_page/downloads.php
http://www.wordpress.org/
Place the files
d:wemp
d:wempmemcached
d:wempMySQL
d:wempnginx
d:wempPHP
d:wempwwwphpMyAdmin
d:wempwwwwordpress
Configure
d:wempMySQLmy-small.ini
tomy.ini
d:wempexample.nginx.conf
tod:wempnginxconf
, renamenginx.conf
tonginx.conf.bak
and renameexample.nginx.conf
tonginx.conf
d:wempPHPphp.ini
– development tophp.ini
php.ini
file in a text editor, remove the;
preceedingextension_dir = "ext"
;
preceedingcgi.fix_pathinfo = 1
;
preceedingextension=php_mbstring.dll
;
preceedingextension=php_mysql.dll
, save the fileRun
d:wempstart_server.bat
to start running, a few command prompt windows will pop up and disappearConfirm they are running
Ctrl + Shift + Esc
php-cgi.exe
,memcached.exe
,mysqld.exe
,nginx.exe
are runningd:wempmysqlbinmysqladmin -u root password hereIsYourPassword
mysqld.exe
than look the error ind:wempmysqldataerr.log
Test the server and install WordPress
http://localhost/
http://localhost/phpMyAdmin/
http://localhost/wordpress/
mariadb is 100% compatible with the mysql interface in php
i think you’re missing the module for php
depending on the distribution you’re using i’d say do a
you can make sure the mysql mod is enabled by doing a phpinfo();
when running php5-fpm with nginx make sure the module is enabled at the right place