Re: BUG?

From: Date: Sat, 02 Sep 2000 01:15:50 +0000
Subject: Re: BUG?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-14897@lists.php.net to get a copy of this message
> Thanks for your patience ... even if > it turns out to be something really dumb that I've done, I'd like to get > things > sorted out, stop pestering the list and move on. See comments below ... > > > If you didn't touch php.ini, and there's no chance of PHP/FI 2.0 being > > there, where are those blink and tt tags coming from in the error message? > > Definitely no chance of PHP/FI 2.0 ... I've never downloaded or installed > it. Prior to PHP4.0.2, I've only ever installed PHP3.0.16. Yes, but RedHat shipped with an Apache package that included PHP 2 for the longest time. If you still have an old Apache kicking around chances are good that it has PHP 2 in it. > <IfModule mod_php.c> > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > </IfModule> Again, this is a PHP 2 thing. For PHP 4 this needs to be: <IfModule mod_php4.c> > <?php phpinfo(); ?> produces the familiar parse error expecting "(" > on line whatever, BUT ... Yup, exactly what I would expect from PHP 2. > <? phpinfo() ?> produces a PHP/FI 2.0.1 info page! There you go. Game over. You are running an httpd binary with PHP 2 compiled in. > This page is attached. Some interesting points are that the SERVER_SOFTWARE > line clearly states PHP/4.0.2, and that I have never enabled GDBM or GD > support, or SAFE MODE, in either PHP3 or 4. PHP 4 and PHP 2 can co-exist. -Rasmus

« previous php.general (#14897) next »