faqts : Computers : Programming : Languages : PHP : General Information : PHP3 to PHP4 Migration : Unix

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

7 of 11 people (64%) answered Yes
Recently 1 of 1 people (100%) answered Yes

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.