Jason Wong wrote:

>On Wednesday 01 October 2003 01:39, Balazs Nemeth wrote:
>
>  
>
>>cd /apache/apache-xxx
>>./configure --prefix=/www
>>cd /php/php-xxx
>>./configure --with-mysql --with-apache=/apache/apache-xxx
>>--enable-track-vars
>>make
>>make install
>>cd /apache/apache-xxx
>>./configure --activate-module=src/modules/php4/libphp4.a
>>make
>>make install
>>
>>cd /php/php-xxx
>>cp php.ini-dist /usr/local/lib/php.ini
>>
>>Then I edited the httpd.conf:
>>
>>AddType application/x-httpd-php .php
>>AddType application/x-httpd-php .html
>>User=www
>>Group=www(of course, the user and the group were created with the "useradd
>>www" and "groupadd www" commands previously)
>>    
>>
>
>Check that httpd.conf contains these lines:
>
>LoadModule php4_module        libexec/libphp4.so
>
>AddModule mod_php4.c
>
>If not, add those lines -- placing them at the end of their respective groups.
>  
>
Also there has the php Mime-Type to be set:

AddType application/x-httpd-php .php


>  
>
>>Here I started the apache(./apachectl start) which worked properly.
>>    
>>
>
>Check the apache error log to see whether that gives any clues.
>
>  
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to