What do I have to do to enable the Mysql database in the configuration?
Only options are PDO::SQLite and SQLIte3.
I am using PHP 7.0, Serendipity 2.1.1, new install.
No Mysql option for database type
Re: No Mysql option for database type
Do you have compiled or installed a PHP with mySQL extension?eabjoker wrote:What do I have to do to enable the Mysql database in the configuration?
Only options are PDO::SQLite and SQLIte3.
You can check for that by using a file called, for example, phpinfo.php, containing only this:
Code: Select all
<?php phpinfo(); ?>
Re: No Mysql option for database type
Thanks for the reply.
Below is a screenshot of the relevant phpinfo section.
I have other php applications using mysql on this install without any issue.
Below is a screenshot of the relevant phpinfo section.
I have other php applications using mysql on this install without any issue.
Re: No Mysql option for database type
At the very top of that page, there's a section “Configure Command”. Does that contain '--with-mysqli' in your phpinfo()?eabjoker wrote:Below is a screenshot of the relevant phpinfo section.
YL
Re: No Mysql option for database type
That appears to be the issue.
I am recompiling with mysqli option.
I am recompiling with mysqli option.