|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2004-12-29 18:09 UTC] thx1011 at yahoo dot com
  [2004-12-31 11:00 UTC] thx1011 at yahoo dot com
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 00:00:01 2025 UTC | 
Description: ------------ Configured Apache 2.0.51+PHP 5.0.3+JVM 1.4.2-b28 on Win XP pro sp1 (development machine) Try to run simple sample. Always have a crash with access violation on php.exe (running from command line) or running from Apache. Already double checked all configuration. JVM seams to load fine (using filemon from sysinternals). Already used jre from SDK with same results and using the client and server jvm.dll From Apache already tried to run as a SAPI and CGI module. But running PHP in standalone mode gives the error, so it's not apache related. Reproduce code: --------------- <!doctype html public "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>Java test</title> <meta http-equiv="generator" content="PHP Designer 2005" /> </head> <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> <? $system = new Java("java.lang.System"); echo "Java version: " . $system->getProperty('java.version') . "<BR><BR>"; ?> </body> </html> Expected result: ---------------- A page with "JAva version: 1.4.2-b28" Actual result: -------------- Nothing. Just the first HTML lines, before instatianing the Java class.