Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

This is linked to http://serverfault.com/questions/191609/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.

share|improve this question

1 Answer 1

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! –  matt74tm 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 –  matt74tm 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 serverfault.com/questions/148818/… helped out - somehow the AddHandler php5-script .php etc wasn't there –  matt74tm Oct 19 '10 at 7:11

Your Answer

 
discard

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.