[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] PHP4 with Java Support
- Subject: [cobalt-users] PHP4 with Java Support
- From: Paul Milne <paulmilne@xxxxxxxxxxxx>
- Date: Fri Jun 1 08:45:34 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Has anyone successfully installed PHP4 with Java support?
I've installed PHP 4.0.5 on a Cobalt RaQ3i with Sun JDK 1.2.2 and configured
like so:
./configure --with-apxs=/usr/sbin/apxs --with-mysql
--with-java=/usr/jdk1.2.2 --enable-track-vars
All went well until I did the make and it complained about missing
/usr/bin/httpd so I created a symlink to /usr/sbin/httpd repeated the whole
process after a make clean and it went all the way through. i then copied
the .so and .jar and php.ini to the correct places made the correct entries
in the httpd.conf , srm.conf , php.ini and set environment variables for
PATH and LD_LIBRARY_PATH and after all that! a phpinfo script from a browser
shows me all sorts of goodies, I'm convinced PHP4 is working BUT if I call a
script that tries to instantiate Java the request eventually times out....
theres no clues in the Apache error logs and there doesn't even seem to be
PHP error logs created anywhere. I've trawled through countless forums and
user groups and it seems that noones even tried to do this (Cobalt
RaQ3i/PHP4.0.5/JDK1.2.2)
Am I doomed?
Paul Milne
ICT Consultant
Digit Limited