|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
MySQL (MariaDB) does not works with php
Hi,
I am doing some experiments with OpenBSD 5.7. My final intention is to have a small web server available from external but for this purpose I will work gradually. The problem I am having is with Mysql and php: I am trying to install wordpress CMS but in the installation page I have this error The PHP installation does not have the MySQL extension which is required to use WordPress. I searched for similar problems on this forum and on the web but I found partial informations such as the problem of external mysql-sock. Can you give me some idea? I saw that OpenBSD's httpd.conf is different from others OS' httpd.conf. Is there a httpd.conf full example? The example in httpd paper and in /etc/examples is very poor informations Edit: I also tried to add bind-address: 0.0.0.0 in /etc/my.cnf and restart the mysqld, but without success. Last edited by tab; 27th October 2015 at 04:37 PM. |
|
|||
|
|
||||
When you installed php-mysql-5.5.22, the following message should have appeared on your console:
Code:
You can enable this module by creating a symbolic link from /etc/php-5.5.sample/mysql.ini to /etc/php-5.5/mysql.ini. As root: ln -sf /etc/php-5.5.sample/mysql.ini /etc/php-5.5/mysql.ini |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Google swaps out MySQL, moves to MariaDB | J65nko | News | 0 | 12th September 2013 09:21 PM |
Google sniffs at MySQL fork MariaDB: Yum. Have an engineer | J65nko | News | 1 | 9th August 2013 02:21 AM |
Security MariaDB fixes zero day vulnerability in MySQL | J65nko | News | 0 | 4th December 2012 11:04 PM |
MariaDB 5.5.23 arrives with performance improvements | J65nko | News | 0 | 13th April 2012 01:21 AM |
Faster subqueries in MariaDB | J65nko | News | 0 | 28th July 2011 09:40 PM |