Seva Feldman wrote:
> I've installed redhat 6.0 with apache and mod_php3 . I enabled few
> options in httpd.conf like loadmodule and in srm.conf addtype php3 .
> Also I insert PHPRC in profile for php.ini , and nothing . Browser ask
> me to download php3 .
>
> If someone have experience in installation of php3 module on apache I
> will be very appreciate for help.
Full steps for Apache+PHP3 (the list is long, because it contains ALL
the possible requirements, even some which are already turned on by
default):
1. Configure Apache, BEFORE building PHP3 (because of dependencies).
2. When configuring PHP3, tell it where its config-file is and where
Apache is. Example:
./configure --with-config-file-path=/path/apache/php
--with-apache=$DIR/$APACHE
(You need to configure Apache before this step, and to re-configure
it after this step).
3. Now re-configure Apache and build it.
4. Don't forget to Activate PHP3 in the Apache configuration:
./configure --activate-module=src/modules/php3/libphp3.a
5. echo "AddType application/x-httpd-php3 .php3" >> conf/httpd.conf
--
Eli Marmor