I currently have the Java SDK installed on my red hat box with plesk. I want to be able to access java commands from the web using the system() command in php to run the commands.
I think its a permissions based problem either in javas setings or in apache but when i run a java command like "java -version" from command line it gives a responce but from php on a web server is gives no response when i run system("java -version"). also note htat that same php file ran from command line outputs correctly. i think the wwwrun user for apache does not have access to the java commands.
Any help would be appciciated or other ways to access the java commands in php would be great.
thanks,
DanMore Information:
- I wrote a PHP/Javascript/CGI page and the applet won't work
- java uses the first to execute any given query (DDL & DML supported) on any ms access database and
- Net, Visual Basic, Java, Ruby, PHP, Perl, Python and more
- PHP code does not need changing to take advantage of this capability
- The only purpose of this article is to show the reader how to access an EJB component from PHP code
- 9 posts - 9 authors - Last post: Jan 19Java specifications include a number of versions for the available API access rights (Note that it is possible that there might not be a device available
- I already setting up the apache using php_java bridge and it works well (the PHP can access all java class, such as java
More:


LinkBack URL
About LinkBacks
Reply With Quote

























































Bookmarks