Reply to Re: phpinfo() - strange results...

Your name:

Reply:


Posted by Brian Huether on 12/30/06 15:46

"Michael Fesser" <netizen@gmx.de> wrote in message
news:oe1dp2den04lu27tjps4bd2jh4t611vjjr@4ax.com...
> .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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация