Connecting Tech Pros Worldwide Help | Site Map

php.ini issue

paul brown
Guest
 
Posts: n/a
#1: Jul 17 '05
Hi,

I'm running Apache 1.3.29 and PHP 4.2.3 on Windows XP Pro. I built a
page that runs phpinfo() and it works. The location of the php.ini is
what I expect it to be, c:\winnt. But the values set in the ini file
are not the ones displayed on the phpinfo() page. Does anyone have any
suggestions as to what I may be doing wrong?

Thanks,

Paul

Pedro Graca
Guest
 
Posts: n/a
#2: Jul 17 '05

re: php.ini issue


paul brown wrote:[color=blue]
> I'm running Apache 1.3.29 and PHP 4.2.3 on Windows XP Pro. I built a
> page that runs phpinfo() and it works. The location of the php.ini is
> what I expect it to be, c:\winnt. But the values set in the ini file
> are not the ones displayed on the phpinfo() page. Does anyone have any
> suggestions as to what I may be doing wrong?[/color]

The changes to php.ini are reflected only *after* a restart of the web
server.
--
--= my mail box only accepts =--
--= Content-Type: text/plain =--
--= Size below 10001 bytes =--
paul brown
Guest
 
Posts: n/a
#3: Jul 17 '05

re: php.ini issue



Pedro Graca wrote:
[color=blue]
> paul brown wrote:
>[color=green]
>>I'm running Apache 1.3.29 and PHP 4.2.3 on Windows XP Pro. I built a
>>page that runs phpinfo() and it works. The location of the php.ini is
>>what I expect it to be, c:\winnt. But the values set in the ini file
>>are not the ones displayed on the phpinfo() page. Does anyone have any
>>suggestions as to what I may be doing wrong?[/color]
>
>
> The changes to php.ini are reflected only *after* a restart of the web
> server.[/color]

Yes, I know that, and I have both restarted the web server and rebooted
the machine. I guess I should have mentioned that. Anyone else have a
suggestion?

Paul

Pedro Graca
Guest
 
Posts: n/a
#4: Jul 17 '05

re: php.ini issue


paul brown wrote:
[color=blue]
> Pedro Graca wrote:[/color]
[color=blue][color=green]
>> paul brown wrote:[/color][/color]
[color=blue][color=green][color=darkred]
>>>I'm running Apache 1.3.29 and PHP 4.2.3 on Windows XP Pro. I built a
>>>page that runs phpinfo() and it works. The location of the php.ini is
>>>what I expect it to be, c:\winnt. But the values set in the ini file
>>>are not the ones displayed on the phpinfo() page. Does anyone have any
>>>suggestions as to what I may be doing wrong?[/color][/color][/color]
[color=blue][color=green]
>> The changes to php.ini are reflected only *after* a restart of the web
>> server.[/color][/color]
[color=blue]
> Yes, I know that, and I have both restarted the web server and rebooted
> the machine. I guess I should have mentioned that. Anyone else have a
> suggestion?[/color]

*fishing*

Do you have an .htaccess in the directory of the phpinfo script?

Changing a value in c:\winnt\php.ini is not reflected in the phpinfo()
output? any value? some values only?

Is the php.ini file readable by the webserver?
--
--= my mail box only accepts =--
--= Content-Type: text/plain =--
--= Size below 10001 bytes =--
Closed Thread