Page 1 of 1

Is php.ini required when configuring php as module of Apache

Posted: Sat Jul 20, 2002 3:04 am
by rajib_deysarkar
Hi,

I've configured PHP 4.2.1 as a module in apache (ver 1.3.23). I've kept the php in the default C:\php> folder and made the necessary changes in httpd.conf file in the apache. When accessed from the localhost (127.0.0.1) phpinfo is showing proper result and even a few php pages are running properly.

Now I want to know whether I still need to copy the php.ini-dist file to my windows directory and rename it to php.ini ???.

Thanks in advance,

Regards,

Rajib

Nope

Posted: Sat Jul 20, 2002 6:16 pm
by James Pelow
The answer is no. But I suggest you do. It will make a good starting point for PHP settings changes you may wish to make.

But ultimately it's up to you!

-James

Posted: Mon Jul 22, 2002 12:44 am
by rajib_deysarkar
Thanks James,

What I understand is that to change PHP settings I need to keep php.ini file in my Windows folder whether I've installed php as a module of Apache or using the CGI binary (php.exe). Though for just simply running PHP installed as a module of Apache, the php.ini is not required.

Am I right on these two points ???

Thanks & Regards,

Rajib

yeah

Posted: Mon Jul 22, 2002 12:20 pm
by James Pelow
Yep, that's what it's like on unix anyway. I'm not sure about how to do it on windows but i'm sure the same things apply.

-James