Thank you for your replies.
I have done the phpinfo bit. The path php is looking for the php.ini file is /usr/local/php5. I have placed a php.ini file there but does not work.
YES I RESTART APACHE EVERYTIME I DO ANY CHANGE. Though i would say that as it might come up.
PHPIniDir line in httpd.conf============= I donot have one in httpd.config. And when I had one and specified the path yes php.ini did work.
is as PHPIniDir line in httpd.conf a must or is there a another way ?
When i used the PHPIniDir line my mail function in php stopped working. inspite of me setting the correct path for the sendmail file in the php.ini.
eager to hear your answers. Thanks in advance.
using ports and packages. a bit of infor from phpinfo
Configuration File (php.ini) Path /usr/local/php5
'./configure' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql' '--prefix=/usr/local/php5' '--disable-cgi' '--enable-force-cgi-redirect' '--with-config-file-path=/usr/local/php5'