I have been trying to install the php 4.1.1 with apxs, java and ftp sppport. I am successful with Install, make and make install.
When i run a test program, i get following results:
This is test.php4:
<?php
echo "Hello World!!" ;
$obj = new Java ("java.lang.System") ;
?>
- When we run test.php4 program from command line we get following err:
PHP Warning: Unable to load dynamic library '/etc/httpd/modules//usr/local/lib/php/extensions/no-debug-non-zts-20010901/libphp_java.so' - /etc/httpd/modules//usr/local/lib/php/extensions/no-debug-non-zts-20010901/libphp_java.so: cannot open shared object file: No such file or directory in Unknown on line 0
- when we run from Web Browser
we get..
Hello World!!<br>
<b>Fatal error</b>: Cannot instantiate non-existent class: java in <b>test.php4</b> on line <b>5</b><br>
</XMP></BODY>
Could anyone help me in this regard.
With Regards,
Lily Prasad