Re: HELP-PHP install
| From: | Jason Wong | Date: | Tue, 30 Sep 2003 18:20:23 +0000 |
| Subject: | Re: HELP-PHP install | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-30778@lists.php.net to get a copy of this message | ||
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.
> Here I started the apache(./apachectl start) which worked properly.
Check the apache error log to see whether that gives any clues.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
------------------------------------------
/*
Asynchronous inputs are at the root of our race problems.
-- D. Winker and F. Prosser
*/