Re: phpinfo() - strange results...
- From: "Brian Huether" <bhuetherNO@xxxxxxxxxxxxxxx>
- Date: Sat, 30 Dec 2006 10:55:44 -0500
"Brian Huether" <bhuetherNO@xxxxxxxxxxxxxxx> wrote in message
news:rYKdnQ_qyZh_FQvYnZ2dnUVZ_tWhnZ2d@xxxxxxxxxxxxxx
"Michael Fesser" <netizen@xxxxxx> wrote in message
news:oe1dp2den04lu27tjps4bd2jh4t611vjjr@xxxxxxxxxx
.oO(Brian Huether)
When I run phpinfo, it diaplays the same thing regardless of changes I
make
to php.ini. For instance, php.ini shows register globals on max upload
filesize of 16M. etc, etc. But phpinfo always shows register globals off
and
max file upload size of 2M. Any idea what is going on?
Did you edit the correct php.ini? phpinfo() also shows at the beginning
which php.ini was used.
Micha
Interesting. I noticed I had this in http.conf:
#ScriptAlias /php/ "c:/php/"
#AddType application/x-httpd-php .php
#Action application/x-httpd-php "/php/php.exe"
#try this:
# For PHP 4 do something like this:
LoadModule php4_module "c:/php/php4apache2.dll"
# Don't forget to copy the php4apache2.dll file from the sapi directory!
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "C:/php"
Funny thing is, I didn't even have php.ini in c:/php (is in c:/windows).
Though there is php.ini-dist
Does the system recognize that anyway?
I don't even remember switching to the php dll. But I did all sorts of
stuff to get ssl working about a year ago... didn't take notes.
thanks,
brian
Actually, even when httpd.conf says c:/php is the php.ini location, phpinfo
says that c:/windows is Configuration File (php.ini) Path. Yet changing
c:/windows/php.ini does not cause changes to phpinfo output. (It does change
results if I specify c:/windows as ini path if httd.conf).
brian
.
- Follow-Ups:
- Re: phpinfo() - strange results...
- From: Jim Carlock
- Re: phpinfo() - strange results...
- From: Mateusz Papiernik
- Re: phpinfo() - strange results...
- From: Jerry Stuckle
- Re: phpinfo() - strange results...
- References:
- phpinfo() - strange results...
- From: Brian Huether
- Re: phpinfo() - strange results...
- From: Michael Fesser
- Re: phpinfo() - strange results...
- From: Brian Huether
- phpinfo() - strange results...
- Prev by Date: Re: phpinfo() - strange results...
- Next by Date: wake up on file (inode) change (again)
- Previous by thread: Re: phpinfo() - strange results...
- Next by thread: Re: phpinfo() - strange results...
- Index(es):
Relevant Pages
|