[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Problems Installing PHP 4.0



Hey,
  PHP needs the apache source dir to properly compile.  Your php configure
line should look more like this

$./configure --with-apache=../apache_1.3.12 --with-interbase --with-apxs
$ make
$ make install

You then must tell apache to use the php4 module

$ cd ../apache_1.3.12
$ ./configure --activate-module=src/modules/php4/libphp4.a

You neglected to mention if you are using a package of apache, or if you
have the source available.  So i assumed you have the source dir somewhere.
Hope this helps you out.

Jason

>
> Hi
>
> I'm triying to install in my Debian system PHP4 with Apache and Interbase
> support.
>
> I follow the Installation Instructions for PHP 4.0.:
>
>  $gunzip php-4.0.x.tar.gz
>  $tar -xvf php-4.0.x.tar
>  $./configure --with-interbase --with-apxs
>  $make install
>
> Then I modify httpd.conf adding the following lines:
>
>  LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
>
> ...
>
> AddType application/x-httpd-php .php
>
>
> Then I try to restart the service:
>
>  /usr/sbin/apachectl restart
>
> And I get the following error
>
>  Syntax error on line 100 of /etc/apache/httpd.conf:
>  Cannot load /usr/lib/apache/1.3/libphp4.so into server:
> /usr/lib/apache/1.3/libphp4.so: undefined symbol: _dl_default_scope
>
>
> Can you help me?
>
> Thanks in advance.
>
> Antxon ALonso
> aalonso@dbnet.es
>
>
>
> --
> Unsubscribe?  mail -s unsubscribe
> debian-user-request@lists.debian.org < /dev/null
>
>



Reply to: