I'm having difficulty installing PHP (surprise) alongside mod_perl and
mod_so.

I've got the source tarballs for PHP (4.0.6), mod_perl (1.26), and apache
(1.3.20), and unpacked them in my home directory. Then I've done:

$ vi apache_1.3.20/src/Configuration
    # uncommented the mod_so include line
$ apache_1.3.20/configure
    # to get the default makefiles
$ cd mod_perl-1.26
$ make
# make install
$ cd ../php-4.0.6
$ make
# make install
$ cd ../apache_1.3.20
$ LIBS=`perl -MExtUtils::Embed -e ldopts`
$ CFLAGS=`perl -MExtUtils::Embed -e ccopts`
$ export LIBS CFLAGS

$ ./configure \
    --activate-module=src/modules/perl/libperl.a \
    --activate-module=src/modules/php4/libphp4.a \
    --enable-module=rewrite \
    --enable-module=status \
    --enable-module=expires \
    --enable-module=perl
$ make
# make install
# cd ../php-4.0.6
# cp php.ini-dist /usr/local/lib/php.ini
# /usr/local/apache/bin/apachectl start

This all seems to work with no error messages, and when I start the web
server, I get:

[Tue Aug 14 16:19:19 2001] [notice] Apache/1.3.20 (Unix) PHP/4.0.6
mod_perl/1.26 configured -- resuming normal operations

in my installed apache error log. Also:

$ /usr/local/apache/bin/httpd -l

shows me that mod_perl.c and mod_php4.c (but not mod_so.c) are compiled in.

However, when I try to load a PHP page which worked fine before the
'upgrade', I get the error:

"Fatal error: Failed opening required 'class.DBI'
(include_path='.:/usr/local/lib/php') in
/usr/local/apache/htdocs/irm/include/irm.inc on line 77"

There is a class.DBI file in /usr/local/apache/htdocs/irm/include/DBI but it
doesn't look like it's finding this. Is there something wrong with my PHP
installation? Also, how do I get it to recognise mod_so?

Thanks in advance,

Alex
--
Alex Page, IT Department, Solid State Logic
E-Mail: [EMAIL PROTECTED]
Phone: +44 (0) 1865 842 300
Web: http://www.solid-state-logic.com



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to