Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is linked to

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.

share|improve this question
up vote 0 down vote accepted

how about to try it after restarting web server service

share|improve this answer
****! 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 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 '10 at 6:15
/usr/sbin/apachectl stop then service httpd restart – Prix Oct 19 '10 at 6:33
Well - thanks for the inputs. That and this… helped out - somehow the AddHandler php5-script .php etc wasn't there – siliconpi Oct 19 '10 at 7:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.