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.

siliconpi
  • 1,707
  • 6
  • 30
  • 45

1 Answers1

0

how about to try it after restarting web server service

ngsiolei
  • 126
  • 2
  • ****! 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 '10 at 06: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 '10 at 06:15
  • `/usr/sbin/apachectl stop` then `service httpd restart` – Prix Oct 19 '10 at 06:33
  • Well - thanks for the inputs. That and this http://serverfault.com/questions/148818/php-script-wont-run-apache2-mysql-servers-running-php-installed-ubuntu-10-0 helped out - somehow the AddHandler php5-script .php etc wasn't there – siliconpi Oct 19 '10 at 07:11