Well I wanna upgrade my php from 4.2.2 (which comes with RH 9) to 4.3.4, but wanna use the same httpd server that comes with RH9 (i.e its start script lies in /etc/rc.d/init.d/httpd).
Since RH up2date has 4.2.2 as the latest RPM for download (i think they suck in this) . ..... I downloaded the source from php.net and tried to install it.
What I did---
1. Uninstalled previous php (4.2.2) using RedCarpet.
2. then compiled php with following option
./configure --with-mysql
then did make (stopped apache)
and then make Install. (started apache)
After that I added the line
AddType application/x-httpd-php .php in the /etc/httpd/conf/httpd.conf file.
But now when i run <?php phpinfo(); ?>
the browser gives me an option to download the file.
What do u think I am doing wrong?
Please help me
ashay