Re: HELP-PHP install
| From: | Robert Hennig | Date: | Wed, 01 Oct 2003 07:40:16 +0000 |
| Subject: | Re: HELP-PHP install | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-30786@lists.php.net to get a copy of this message | ||
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.
>
>
>