I'm trying to run a java command within PHP through Litespeed but continually receive an error. However, the same script running on Apache returns the expected result.
Litespeed and Apache have identical PHP builds: 5.3.23.
Tried PHP suexec setting off and running as user
The script:
Litespeed output:
Apache output:
If I execute the script on command line (/usr/local/lsws/lsphp5/bin/php) it works fine.
I am desperate to get this resolved and would appreciate any help.
Litespeed and Apache have identical PHP builds: 5.3.23.
Tried PHP suexec setting off and running as user
The script:
PHP:
<?php
passthru('/usr/java/jdk1.7.0_17/bin/java -Xms20m -Xmx64m -version 2>&1');
?>
Code:
*** glibc detected *** /usr/java/jdk1.7.0_17/bin/java: double free or corruption (!prev): 0x00007f171c011630 *** *** glibc detected *** /usr/java/jdk1.7.0_17/bin/java: double free or corruption (fasttop): 0x00007f171c009ee0 *** *** glibc detected *** /usr/java/jdk1.7.0_17/bin/java: double free or corruption (!prev): 0x00007f171c011630 ***
Code:
java version "1.7.0_17" Java(TM) SE Runtime Environment (build 1.7.0_17-b02) Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
I am desperate to get this resolved and would appreciate any help.