Re: PHP3 & PHP4????
| From: | Rasmus Lerdorf | Date: | Wed, 02 Aug 2000 18:02:14 +0000 |
| Subject: | Re: PHP3 & PHP4???? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-9763@lists.php.net to get a copy of this message | ||
> Ok, I've just compiled and installed both PHP3 and PHP4 as DSO for Apache
> 1.3.12. Everything runs fine but when I run 'phpinfo();' it's reporting PHP
> v3.0.16 and the config line that's printed is showing that it's using the
> 'php3.ini' file and not the 'php.ini' file.
>
> Is this caused by the fact that the PHP3 module is loaded first in the
> HTTPD.CONF file? If not, how can I get it to report the PHP4 version instead??
No, it depends on whether you put the phpinfo() call inside a .php3 or a
.php file. Assuming these are the two extensions you have defined for PHP
3 and PHP 4 respectively.
-Rasmus