Would adding php-mysql to the dependencies in the install script resolve this?

On 6/18/2019 7:36 AM, Jeff Koch wrote:

OK - I found out what appears to be the problem. The stock QMT7 does not have all the php extension modules installed in /usr/lib64/php/modules and they are not referenced by 'ini' files in /etc/php.d - it is missing all the mysql modules and a few others such as:

dom.so*
mysqli.so*
mysql.so*
pdo_mysql.so*
pdo.so*
pdo_sqlite.so*
posix.so*
sqlite3.so*
sysvmsg.so*
sysvsem.so*
sysvshm.so*
wddx.so*
xmlreader.so*
xmlwriter.so*

Luckily I had a QMT7 mailserver that I built in December 2017 which had the PHP modules so I copied over the missing php 'ini' and 'so'
files. Now php can connect to mysql databases.

Regards, Jeff Koch


On 6/17/2019 11:05 PM, Jeff Koch wrote:
Hi:

I'm feeling like I might be crazy right now. I just installed a new QMT7 toaster on a minimal CentOS 7 system. After messing with it for a while I couldn't get the spamassassin database to work with our PHP programs. I checked php_info and found that the mysql, mysqli and pdo_mysql functions had not been compiled into the Apache php module. Does this make sense? Other QMT7 mailservers that we setup with in the last year do have all the mysql functions compiled into PHP.

Am I crazy or did I forget to do soemthing?

Jeff

Reply via email to