Forum Moderators: coopster

Message Too Old, No Replies

php.ini file & error log

         

malcolmcroucher

7:36 pm on Dec 10, 2007 (gmt 0)

10+ Year Member



where should the php.ini file be stored?

Where do i find the php error log?

Regards

Malcolm

malcolmcroucher

7:43 pm on Dec 10, 2007 (gmt 0)

10+ Year Member



okay i found the apache error log .

but .

i loaded phpinfo() and need to check where my php.ini file is .

i have two an old one and a new one as i reinstalled. how do i know which one i am using?

malcolmcroucher

8:03 pm on Dec 10, 2007 (gmt 0)

10+ Year Member



sorry i am working on a windows xp pc.

should php.ini be in :

c:\php
c:\windows
c:\windows\system32\

malcolmcroucher

8:21 pm on Dec 10, 2007 (gmt 0)

10+ Year Member



another question :

php.ini type : configuaration settings
php_old.ini type : ini-recommended

Whate does each type mean and which one is better to use?

coopster

5:45 pm on Dec 11, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



There is a thread in our PHP Forum Library [webmasterworld.com] for troubleshooting MySQL but includes an extensive discussion on which php.ini is being used [webmasterworld.com].

I start with the recommended.ini file for local testing. I encourage you to read through the configuration directives though until you understand each one and what options each provides. Obviously, you can skip over those that you are not using -- for example, if you aren't using ODBC or Postgresql you could skip over them for now.