470,833 Members | 1,631 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,833 developers. It's quick & easy.

php.ini issue

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

Jul 17 '05 #1
3 2210
paul brown wrote:
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?


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 =--
Jul 17 '05 #2

Pedro Graca wrote:
paul brown wrote:
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?

The changes to php.ini are reflected only *after* a restart of the web
server.


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

Jul 17 '05 #3
paul brown wrote:
Pedro Graca wrote:
paul brown wrote:
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?
The changes to php.ini are reflected only *after* a restart of the web
server.

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?


*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 =--
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by George Hester | last post: by
2 posts views Thread by Anthony Cuttitta Jr. | last post: by
reply views Thread by Kevin Spencer | last post: by
reply views Thread by Charles Leonard | last post: by
4 posts views Thread by Paul | last post: by
1 post views Thread by AlekseyUS | last post: by
13 posts views Thread by SAL | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.