From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96395330517051.tru64-unix-managers.marc@archive.invalid> From: "Ian 'Ivo' Veach" Date: Tue, 18 Jul 2000 20:48:12 +0000 To: tru64-unix-managers Subject: Q: Apache doesn't like PHP WITH MYSQL? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96395330517051 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@nevada.edu UCCSN System Computing Services http://www.nevada.edu/~ivo postmaster/webmaster/sysadmin ________________________________________________________________________