Installing PHP 5.0 - viewing php script
| From: | Hari Bhanujan | Date: | Mon, 01 Mar 2004 15:07:19 +0000 |
| Subject: | Installing PHP 5.0 - viewing php script | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-12881@lists.php.net to get a copy of this message | ||
Gurus
I have downloaded the latest version of PHP (version 5.0.0b4) for Fedora
core 1. (Linux running on Pentium II -333 MHz)
I went and did a straight install
- ./configure
- make
- make install
I did not experience any errors at all during any of these stages. Also,
I am running Apache 2 and according to docs it says that the main
difference between installing PHP on Apache 2 as compared on Apache 1.3
is that the difference lies in a flag to the configure script. You
should use -with-apxs2 rather than -with-apxs.
The configure script has both -with-apxs2 and -with-apxs. Also, I added
the following line in the httpd.conf file (AddType
application/x-httpd-php .php)
The problem is that when I try to embed php inside of an html file, I
can see all the html tags reflecting fine when the html file is parsed
through a browser (IE, Mozilla), but I cannot see the php script. Please
help
Thank you
Hari