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
Is php.ini required when configuring php as module of Apache
Moderator: General Moderators
-
rajib_deysarkar
- Forum Newbie
- Posts: 2
- Joined: Sat Jul 20, 2002 3:04 am
- James Pelow
- Site Admin
- Posts: 51
- Joined: Sat Jun 01, 2002 5:28 am
- Location: Killiney, Co. Dublin, Ireland
- Contact:
Nope
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
But ultimately it's up to you!
-James
-
rajib_deysarkar
- Forum Newbie
- Posts: 2
- Joined: Sat Jul 20, 2002 3:04 am
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
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
- James Pelow
- Site Admin
- Posts: 51
- Joined: Sat Jun 01, 2002 5:28 am
- Location: Killiney, Co. Dublin, Ireland
- Contact:
yeah
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
-James