Which directory for php.ini file? how to connect with postgresql
Hi all,
Thanks for the help with the previous question...we did get php installed! Now for the next question...having trouble getting php to connect with postgresql database. I believe this has to do with the php.ini file. What directory do we put the php.ini file? and do we just use the php.ini-dist file that was downloaded during install rename it php.ini and add under dynamic extensions
extension=pgsql.so
?
Believe that php.ini should go under
/usr/bin
directory, because that is what we type when running php script
/usr/bin/php some_script.php
Is this correct?
Thanks again,
Nick
|