Ask a Question related to PHP Notes, Design and Development.
-
Totschnig Michael #1
note 33569 added to ref.java
I'd like to share three observations about PHP's JAVA extension that might help others save some time:
1) On Redhat 7.3, with Apache 1.3.27 and PHP 4.3.2, I did not get to work PHP with Suns JDK 1.4.0_01 (Apache crashes), but JDK 1.4.2 works.
2) Calling a JAVA application with an exec call to a shell script seems considerably faster than accessing the same functionality with the JAVA extension. For example calling Fop with the JAVA extension can take 30 seconds on the same file, where the shell script from the Fop distribution (called from PHP with exec) takes 20 seconds.
3) When I recompile a Java class, it seems that the running httpd process, keeps the class file somewhere in cache, because I had to restart apache, before my PHP script, actually called the freshly compiled class.
----
Manual Page -- [url]http://www.php.net/manual/en/ref.java.php[/url]
Edit Note -- [url]http://master.php.net/manage/user-notes.php?action=edit+33569[/url]
Delete Note -- [url]http://master.php.net/manage/user-notes.php?action=delete+33569&report=yes[/url]
Reject Note -- [url]http://master.php.net/manage/user-notes.php?action=reject+33569&report=yes[/url]
Totschnig Michael Guest
-
note 33913 added to ref.pdf
Hello ALL! I've one BIG problem with PDF+MySQL... exactly... I've not problem - I just don't know how to do it! Q: How to save fetch's results... -
note 33687 added to ref.dir
in the submission by 'david DOT leggett AT ntlworld DOT com' the line: while ($file = readdir ($d)) { should be changed to: while (false... -
note 33669 added to ref.java
This snippet shows how to write ZIP-Files using PHP's Java-API: --------------------------- // specify the name of the zip file to be created... -
note 33635 added to faq
Je suis avec la redhat8, j'ai installe apache, php, mysql. lorsque je lance une page php, le serveur me le traduit en html : ok lorsque je suis... -
note 33629 added to faq
Je suis avec la redhat8, j'ai installe apache, php, mysql. lorsque je lance une page php, le serveur me le traduit en html : ok lorsque je suis...



Reply With Quote

