DSO installation

From: Date: Fri, 18 May 2001 05:42:45 +0000
Subject: DSO installation
Groups: php.install 
Request: Send a blank email to php-install+get-3197@lists.php.net to get a copy of this message
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@localhost 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@ix.netcom.com [That fourth character is the digit 'one', not the letter 'ell'.]

« previous php.install (#3197) next »