[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: PHP and SVN can't coexist here.

From: Leeuw van der, Tim <tim.leeuwvander_at_nl.unisys.com>
Date: 2003-07-15 09:35:03 CEST

What about changing the module load order in httpd.conf? Did you try loading
php first?

--Tim

-----Original Message-----
From: Oliver Siegmar [mailto:oliver.siegmar@xams.org]
Sent: dinsdag 15 juli 2003 9:18
To: dev@subversion.tigris.org
Subject: Bug: PHP and SVN can't coexist here.

Hi,

my environment:

Debian 3.0 (kernel 2.4.21)

Apache 2.0.47 (or 2.0.46)
PHP 4.3.3RC1 (or 4.3.2)
SVN 0.25 (or 0.24.2)
BDB 4.1.25
libtool 1.4.3
autoconf 2.57

Sablotron 0.98 (for PHP)
expat 1.95.5 (for Sablotron)

BDB, libtool, autoconf installed with:
./configure
make
make install

Apache installed with:
./configure --enable-so --enable-dav --enable-ssl --enable-deflate \
    --enable-usertrack --enable-cgi --enable-mime-magic --enable-headers \
    --enable-expires --enable-info --enable-speling --enable-rewrite \
    --enable-dav-fs
make
make install

SVN installed with:
./autogen.sh
./configure --with-berkeley-db=/usr/local/BerkeleyDB.4.1
make
make install

PHP installed with:
./configure --with-mysql --with-pgsql \
    --with-apxs2=/usr/local/apache2/bin/apxs --with-tsrm-pth --enable-xslt \
    --with-xslt-sablot --with-gd --with-zlib-dir=/usr/include
make
make install

The installation went over very smooth. No problems so far.
My httpd.conf contains:

LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
LoadModule php4_module modules/libphp4.so

apachectl configtest
Syntax OK

apachectl start
Apache doesn't start (ps aux | grep http).
No output to console. No output in error_log.

Now I comment out the php4_module in httpd.conf
apachectl start
Apache starts - error_log:
[Tue Jul 15 09:12:07 2003] [notice] Apache/2.0.47 (Unix) mod_ssl/2.0.47
OpenSSL/0.9.7b DAV/2 SVN/0.25.0+ configured -- resuming normal operations

Now I comment out the svn modules and activate PHP again in httpd.conf
apachectl start
Apache starts - error_log:
[Tue Jul 15 09:14:03 2003] [notice] Apache/2.0.47 (Unix) mod_ssl/2.0.47
OpenSSL/0.9.7b DAV/2 PHP/4.3.3RC1 configured -- resuming normal operations

My Apache works perfectly with PHP and SVN...but not if I want to use both
:-/

Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 15 09:36:05 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.