You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Oliver Siegmar <ol...@xams.org> on 2003/07/15 07:17:45 UTC

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

Re: Bug: PHP and SVN can't coexist here.

Posted by Ben Collins <bc...@debian.org>.
On Tue, Jul 15, 2003 at 09:17:45AM +0200, Oliver Siegmar wrote:
> Hi,
> 
> my environment:
> 
> Debian 3.0 (kernel 2.4.21)

The symbol conflict is easily solved by configuring bdb4.1's build with
--with-uniquename, then rebuilding.

Or upgrade to unstable, which has apache2/bdb4.1/subversion.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo       - http://www.deqo.com/

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