[PHP-INST] DSO installation From: cel1 (cel1 <email protected>)
Date: 05/18/01

I want to call a Java applet from PHP on the server, and receive its
string output:

$javaClass = new Java("MyJavaClass");
$string = $javaClass->MethodWhichReturnsString();

According to Blake Schwandiman in "PHP4 Developer's Guide" (and other
sources) I need to install as DSO, not static. Here's what I did:

Download Apache and PHP sources into /usr/local/src, then cd to
/usr/local/src.

tar -zxvf apache_1.3.19.tar.gz
tar -zxvf php-4.0.5.tar.gz

cd apache_1.3.19
./configure --enable-module=so --prefix=/www
make
make install

        All goes well. Next:

cd ../php-4.0.5
./configure --with-apxs=/www/bin/apxs --with-java=/usr/local/jdk118_v1
--with-perl=/usr/bin/perl --with-mysql=/usr/local/mysql
-enable-track-vars
make
make install

        All goes well. Next:

cd ../apache_1.3.19
./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a
make

        Here's the trouble:
        .
        .
        .
        <===src/module/standard
        ===>src/module/php4
        /bin/sh: php4: No such file or directory
        make[3]: *** [all] Error 1
        make[2]: *** [subdirs] Error 1
        make[2]: Leaving directory '/usr/local/src/apache_1.3.19/src
        make[1]: *** [build-std] Error 2
        make[1]: Leaving directory '/usr/local/src/apache_1.3.19
        make: *** [build] Error 2
[root <email protected> apache_1.3.19#

I thought that the re-configure in apache_1.3.19 was supposed to create
the items it needs. What's missing here?

Curtis Lacy
cel1 <email protected>
[That fourth character is the digit 'one', not the letter 'ell'.]

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe <email protected>
For additional commands, e-mail: php-install-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>