So i have the line in the http.conf that relates to PHP uncommented out and i have mysql installed but where is my php.ini file located for me to point to mysql.sock.
+1
A:
Make a file in your webroot and have it contain:
<?php
phpinfo();
Then visit the page and it should tell you where it is.
As far as I know, php.ini should be in /etc
dsas
2010-08-02 21:58:16
+2
A:
I'm not sure where yours is... but you can use PHP to tell you where it is.
On a command line, issue 'which php' --ini (note those apostrophes should be backticks, SO formatting got me). If you don't have which and know your path to PHP, just use <path to php> --ini.
gnucom
2010-08-02 21:58:33