Page 1 of 1

php.ini--Where is it?!?:roll:

Posted: Sat Mar 03, 2007 9:34 am
by EddyeP
hi there...
I have some knowledge of web design, in statics and dynamic (A.S.P) pages. Some days ago i decided to study PHP and trainning at home. I downloaded PHP 5.0 server, installed it, started to read the manual an dwhen i was looking for the php.ini file couldn't find. In the manual says that the file is in the path C:\Windows; well i looked for carefully an nothing.
Help me with this one
Thnks :roll:

Posted: Sat Mar 03, 2007 9:47 am
by feyd

Code: Select all

var_dump(get_cfg_var('cfg_file_path'));
It doesn't have to exist. Your build should have included a few php.ini-recommended type files.

Posted: Sat Mar 03, 2007 11:32 am
by John Cartwright
phpinfo() will also give you the directory of the active php.ini (if it exists as feyd mentioned)