note 19592 deleted from configuration by sniper
| From: | sniper@php.net | Date: | Tue, 11 Feb 2003 01:22:47 +0000 |
| Subject: | note 19592 deleted from configuration by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-43757@lists.php.net to get a copy of this message | ||
Notes from Installing and Configuring PHP 4.0.6 on a Redhat 7.1/Apache 1.3.22 platform with virtual
domains
Downloaded php-4.0.6-9.7.1.i386.rpm from Redhat.com
Ran rpm from virtual terminal (KDE's package manager wouldn't work right). Included rpm
option to --force installation over the previous PHP version that came with Redhat distribution (but
had never been enabled):
rpm -i php-4.0.6-9.7.1.i386.rpm --force --includedocs
Edited httpd.conf to add (or uncomment) the following lines:
In Section 1 - Global environment:
LoadModule php4_module modules/libphp4.so
AddModule mod_php4.c
In Section 2 - Main server configuration:
AddType application/x-httpd-php .php
<IfModule mod_php4.c>
php_value include_path ".:/usr/lib/php"
php_flag safe_mode on
</IfModule>
(Note that, in the AddType directive above, the correct term is x-httpd-php, not x-httpd-php4!)
Restarted httpd (service httpd restart).
PHP appears to be enabled for all my virtual domains.