I have installed php4.0.6 and apache 1.3.20 like this:
cd ../php-4.0.6
./configure --with-imap --with-mysql --with-apache=../apache_1.3.20
make
make install
cd ../apache_1.3.x
./configure --activate-module=src/modules/php4/libphp4.a
make
make install
cp php.ini-dist /usr/local/lib/php.ini
in httpd.conf:
AddType application/x-httpd-php .php .php3 .php4
AddType application/x-httpd-php-source .phps
DirectoryIndex index.html index.htm index.php index.php3 index.php4
no problem!!
BUT when i want to test it with <? phpinfo() ?>, my system want to save as the file!!!!
when i put out .php in httpd.conf, i see what is in the file and when i re write .php in it, i see it too!!
i work with mandrake 7.2
does anyone got an idea ?please?