Dear all,
I want to include java in PHP on Linux. I have set the PATH, CLASSPATH and LD_LIBRARY_PATH, but can't run. The error is here:
Fatal error: Cannot instantiate non-existent class: java in /home/www/system.php on line 9
The php is just call java.lang.System. but not work. Who can help me??
Can send me the config step on Linux?? Such as jdk1.2.2, apache, php4.0.6.
Thanks
BR
Steven
Mark Lybarger wrote:
i don't know that there's a rpm for php-java (there's a windows prebuild binary). i have only gotten java to work on win NT, not linux yet. i have gotten php under linux to work, by downloading the source and building it as an apache module. you have to specify special commands on the ./configure line. it was fairly easy after that.