Re: phpinfo() - strange results...




"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


.



Relevant Pages

  • (no subject)
    ... I am trying to use some of the scripts in the php manual to upload a file. ... It calls and posts to the file processing script correctly. ... exists on my pc, however, phpinfo() says 'upload_tmp_dir' is not set. ...
    (alt.php)
  • problems with php file upload - upload_tmp_dir
    ... I am trying to use some of the scripts in the php manual to upload a file. ... It calls and posts to the file processing script correctly. ... exists on my pc, however, phpinfo() says 'upload_tmp_dir' is not set. ...
    (alt.php)
  • Re: phpinfo() - strange results...
    ... Brian Huether wrote: ... php.ini shows register globals on max upload ... #AddType application/x-httpd-php .php ... Actually, even when httpd.conf says c:/php is the php.ini location, phpinfo says that c:/windows is Configuration File Path. ...
    (comp.lang.php)
  • Re: problems with php file upload - upload_tmp_dir
    ... I am new and trying to learn php. ... in the php manual to upload a file. ... The form script seems to get the file correctly. ... exists on my pc, however, phpinfo() says 'upload_tmp_dir' is not set. ...
    (alt.php)
  • Re: phpinfo() - strange results...
    ... php.ini shows register globals on max upload ... But phpinfo always shows register globals off ... #AddType application/x-httpd-php .php ...
    (comp.lang.php)