ID: 18600 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Java related Operating System: Windows 2000 PHP Version: 4.2.3 New Comment:
I had the same bug but after having looking a lot, I find a solution. You just have to configure php as a cgi-bin instead of as a module and it works perfectly. Hoping it will help you to fix the bug in the module. Cédric. Previous Comments: ------------------------------------------------------------------------ [2002-12-04 08:44:52] [EMAIL PROTECTED] Hi, many thanks Sebastian for the response. I've downloaded php4-win32-200212041130.zip from snaps.php.net, but after PHP update Apache didn't start and configuration test detected following problem: Syntax error on line 174 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf: Cannot load C:/PHP/sapi/php4apache2.dll into server: The specified procedure could not be found. httpd.conf has on the line 174: LoadModule php4_module c:/php/sapi/php4apache2.dll Question is what is the recomended version of Win32 Apache2 to work corectly with latest PHP 4.4.x-dev? Thank you, Alberto ------------------------------------------------------------------------ [2002-12-04 06:20:14] [EMAIL PROTECTED] I tried the php4-win32-STABLE-200212040930 snapshot, but I still got problems with a simple java program (the one in the docs). After some reloads I got a PHP has encountered an Access Violation at 77FCBEE8 After that: Fatal error: Unable to create Java Virtual Machine in c:\inetpub\wwwroot\estatisticos\admin\java.php on line 3 At least the problem occurs only to java applications, not all php pages. Nelio ------------------------------------------------------------------------ [2002-12-04 02:18:05] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2002-12-02 05:11:03] [EMAIL PROTECTED] Hi, I'm reporting the same error using: Win2k Server apache_2.0.36-win32-x86-no_ssl.msi php4-win32-latest.zip (PHP Version 4.2.3) j2sdk-1_4_1_01-windows-i586.exe or (jdk-1_2_2_014-windows-i586.exe) ... I've got periods of errors and periods of success when instantiating $system = new Java("java.lang.System"); from within PHP. Error message is: "Fatal error: Unable to create Java Virtual Machine in ..." I see a lot of such bug reports around but still no solution ;-(. Any ideas? Thanx Alberto ------------------------------------------------------------------------ [2002-11-28 07:19:46] [EMAIL PROTECTED] Hi I'm asking it again: Is anyone using sablotron (ext/xslt) together with the java extension, then you're in bad luck, because: sablotron < 0.97 and jdk >= 1.3 does not work together. Sablotron 0.97 is not out yet, but there is an RC1 in their CVS (didn't find a link to download it), which should solve the problem.. try not loading the sablotron extension and see if it solves the problem unix people which have problem with even starting up, should try the symlink trick: make a symlink from java.so to libphp_java.so and see if that works. chregu ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/18600 -- Edit this bug report at http://bugs.php.net/?id=18600&edit=1