0

This is linked to Installing PHP with MySQL support?

My phpinfo() does not show a MySQL section as a separate 'heading', but several .ini files are referenced and I can access it from the command line.

I did:

yum install php-mysql

which completed successfully, but didn't help.

1 Answer 1

0

how about to try it after restarting web server service

4
  • ****! I ran: /usr/sbin/apachectl restart and it doesnt even run the PHP scripts anymore - its now just showing it up on the webbrowser!
    – siliconpi
    Oct 19, 2010 at 6:15
  • It didnt report any error in apache's error_log: [Tue Oct 19 01:13:35 2010] [notice] SIGHUP received. Attempting to restart [Tue Oct 19 01:13:35 2010] [notice] Digest: generating secret for digest authentication ... [Tue Oct 19 01:13:35 2010] [notice] Digest: done [Tue Oct 19 01:13:35 2010] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads. [Tue Oct 19 01:13:35 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
    – siliconpi
    Oct 19, 2010 at 6:15
  • /usr/sbin/apachectl stop then service httpd restart
    – Prix
    Oct 19, 2010 at 6:33
  • Well - thanks for the inputs. That and this serverfault.com/questions/148818/… helped out - somehow the AddHandler php5-script .php etc wasn't there
    – siliconpi
    Oct 19, 2010 at 7:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .