|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-08-02 00:25 UTC] waldschrott@php.net
[2000-08-20 01:56 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 12:00:01 2025 UTC |
When loading de Java extension examples I always get the following error: <B> Fatal error: Unable to locate CreateJavaVM function in /home/httpd/html/jver.php on line 4 </B> Compile flags are: ./configure --prefix=/usr \ --with-apxs=/usr/sbin/apxs \ --with-config-file-path=/usr/lib \ --with-exec-dir=/usr/bin \ --enable-debug=no \ --enable-debugger \ --with-system-regex \ --with-java=/usr/local/java/current \ --enable-track-vars \ --with-gd \ --with-zlib \ --enable-sysvsem \ --enable-sysvshm \ --with-xml \ --with-swf=/usr/local/libswf php.ini has the following changes: [java] java.library.path=/usr/lib/apache:/usr/local/java/current/jre/lib:/usr/local/java/current/lib java.library=libphp_java.so java.home=/usr/local/java/current java.class.path=/usr/lib/apache/php_java.jar:/usr/local/java/current/jre/lib/rt.jar:/usr/local/java/current/lib/dt.jar:/usr/local/java/current/lib/jdpa.jar:/usr/local/java/current/lib/tools/jar extension_dir=/usr/lib/apache/ extension=libphp_java.so