Difference between 2 php.ini files?
Posted by: pstein (---.dip0.t-ipconnect.de)
Date: September 05, 2011 11:43AM

When I searched the dir tree I found two php.ini configuration files:

1.) D:\wamp\bin\apache\Apache2.2.17\bin\
2.) D:\wamp\bin\php\php5.3.5\

What is the difference?

Which one is really necessary to control PHP?

Options: ReplyQuote
Re: Difference between 2 php.ini files?
Posted by: stevenmartin99 (---.b-ras1.srl.dublin.eircom.net)
Date: September 05, 2011 05:33PM

its pretty simple

the apache one is used for websites.

the php one is used for the wamp menu and php if your not making a site

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Difference between 2 php.ini files?
Posted by: pstein (---.dip0.t-ipconnect.de)
Date: September 06, 2011 12:18PM

Ok, thank you.

But when you write

"the php one is used for the wamp menu and php if your not making a site"

I don't understand. As far as I know PHP is always and only used to create webpages/sites.

So which purpose can exist beside the one serving Apache?

What do you mean with Wamp menu? The Systray Icon centextmenu???

Options: ReplyQuote
Re: Difference between 2 php.ini files?
Posted by: stevenmartin99 (---.b-ras1.srl.dublin.eircom.net)
Date: September 06, 2011 04:53PM

php is not a website language only.

the wamp menu is populated using php. i make php programs etc.

its a general scripting language.


so if your using php through apache.. as in .. making a website.. it will use the one in apache.


wamps menu uses the one in the php folder. and if you wanted to run a php script that is not a website.. you shoudl use the one in the php folder.


try google php cli or winbinder for other good uses of php

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.