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

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
EddyeP
Forum Newbie
Posts: 1
Joined: Wed Feb 28, 2007 11:19 am

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

Post 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:
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

phpinfo() will also give you the directory of the active php.ini (if it exists as feyd mentioned)
Post Reply