Hi,

    I have Red Hat 8 installed and I try to install Apache/PHP. I follow the
quick installation instructions that I found in one help file, but when I
try test php page didn't work.

The steps that I follow:
# tar -zxvf apache_1.3.31.tar.gz
# tar -zxvf php-4.3.7.tar.gz
# cd apache_1.3.31
#./configure --prefix=/usr/local/apache
# cd ../php-4.3.7
#
./configure --with-mysql --with-apache=../apache_1.3.31 --enable-track-vars
# make
# make install
# cd ../apache_1.3.31
#
./configure --activate-module=src/modules/php4/libphp4.a --enable-module=php
4 --prefix=/usr/loca/apache
#  make
#  make install
# cd ../php-4.3.7
# cp php.ini-dist /usr/local/lib/php.ini

    After these steps I edit the file /etc/httpd/conf/httpd.conf and add:
        AddType application/x-httpd-php .php

    When I start the browse and try open the localhost, I got the test page.
I test some *.html pages on /var/www/html and works without problem. But
when I try a *.php page didn't work.

    Somenone can help me? What I did wrong?

Hamilton Keity Rokukawa

Reply via email to