Q: Apache doesn't like PHP WITH MYSQL?

From: Ian 'Ivo' Veach <ivo_at_scsr.nevada.edu>
Date: Tue, 18 Jul 2000 13:48:12 -0700 (PDT)

Greetings -

I've got a Tru64 UNIX 4.0F (OSF/1 et al) system, running Apache 1.3.12.
I am trying to get PHP 4.0.01pl2 installed under Apache, and am having
problems with MySQL (3.22.32) functionality under PHP. PHP/etc. all seem
to compile fine, but Apache refuses to load.

I should note that MySQL (non-chrooted), Apache (chrooted), and PHP
(without external MySQL support, statically and as a DSO) all seem to work
fine. It is only when I add MySQL support that the following happens:

static: httpd will not start, and NO system/apache messages of any kind
are output in any files or on screen.

DSO: Syntax error on line 163 of /conf/httpd.conf:
     Cannot load /libexec/libphp4.so into server: dlopen: cannot load
        /libexec/libphp4.so
     /sbin/init.d/web_service start: httpd could not be started

Again, PHP without the --with-mysql option compiles fine and loads fine
(statically and as a DSO). It is completely functional without the mysql
option.

--------

So I have two questions:

a) Has someone else got this working on a Tru64 system? With chroot?

b) Anyone know why this problem is occuring? I am not sure if it is an
issue with Apache/PHP/MySQL/etc., but suspect it may have something to do
with Apache being run CHROOT. I tried copying ALL MySQL installed files
in a mirrored location under the chroot, but to no avail. The only thing
I didn't move is the socket and an actual actively working copy of MySQL.


cheers and thanks,
________________________________________________________________________
Ian 'Ivo' Veach, ivo_at_nevada.edu UCCSN System Computing Services
http://www.nevada.edu/~ivo postmaster/webmaster/sysadmin
________________________________________________________________________
Received on Tue Jul 18 2000 - 20:49:39 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT