Mysql function missing

I have 3 sites run with mod_fcgid but with trouble with some script I decided to create one domain with mod_php.
Worpdress and other scripts don’t work on this domain because mysql function don’t work and I can’t run php files.
I have installed mysql-php and I don’t know where search issue.
Have any ideas?
Sites under mod_fcgid work propertly.

Howdy,

Well, with mod_php, that uses a PHP module that’s embedded within Apache… so if you just recently installed the PHP MySQL module, you may need to restart Apache in order for PHP to see that new module.

If that doesn’t help, do you see any errors during the Apache restart in the system Apache error log?

-Eric

I restart apache always when I change something.
This problem is only when use mpm worker but I don’t want use prefork.
I have installed php-zts so why don’t work with worker?

Howdy,

Not all Apache modules work with the MPM Worker.

Worker is threaded, and modules such as mod_php aren’t thread safe.

If you wish to use mod_php, you’d need to use prefork.

-Eric