Entry
Can you give me quick instructions for installing PHP4 on Red Hat 6?
Jun 23rd, 2000 21:55
Troels Arvin, Nathan Wallace, Rasmus Lerdorf
Installing from source:
-----------------------
Apache-1.3.9: ./configure --with-layout=RedHat --enable-module=so
make
make install
PHP-4.x: ./buildconf
./configure --with-apxs=/usr/sbin/apxs
make
make install
Then edit /etc/httpd/conf/httpd.conf
and Make sure you have an AddType line like this:
AddType application/x-httpd-php .php
(The extension you use is arbitrary)
Then do: apachectl start
Installing from pre-built RPM packages:
---------------------------------------
Go to http://fsr.ku.dk/people/troels/rpms/php/ and follow instructions.