You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
| 2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
| 2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
| 2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
| 2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
| 2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
| 2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
| 2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
| 2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <php...@li...> - 2010-05-26 06:05:27
|
Hi Marta,
php_mysql.dll needs mysql.
Please use
cgi\php-cgi.exe -c
cgi\conf.d\mysql.ini -d
extension_dir=cgi\ext -i
to test ("x86-windows" omitted for clarity). If the above command line shows
mysql in its output, the php demo files shipped with JavaBridge.war will be
able to use mysql.
However, I recommend to download php to c:\program files\php\ and use that
for your tests. You can create your own demo (or product) using the
JavaBridgeTemplate.war and your php download later.
Regards,
Jost Bökemeier
26. Mai 2010 4:46 vorm. schrieb am <
php...@li...>:
Hi!
Thanks to the PHP/Java Bridge I managed to get my PHP
applications running under Tomcat 6 (OS: Windows 7). The problem is, I can't
seem to
connect MySQL with PHP.
I installed MySQL, added PHP's home directory and \ext directory to the PATH
environment variable, and uncommented the extension lines for php_mysql.dll
and
php_mysqli.dll in php.ini. After doing that my PHP applications stopped
working. I decided to comment the extension lines again and as soon as I
did that my PHP applications started working again (but obviously I
can't use MySQL). I did this a few times just to make sure the problem
lied in those two extension lines.
I keep getting the following
error:
HTTP Status 500 - type
Exception report
message
description The
server encountered an internal error () that prevented it from
fulfilling this request.
exception
javax.servlet.ServletException: PHP FastCGI instance failed.
php.java.servlet.fastcgi.FastCGIServlet.execute(FastCGIServlet.java:957)
php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:991)
php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:1040)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root
cause
php.java.servlet.fastcgi.ConnectionException
php.java.servlet.fastcgi.FastCGIInputStream.read(FastCGIInputStream.java:52)
php.java.servlet.fastcgi.FastCGIServlet.parseBody(FastCGIServlet.java:876)
php.java.servlet.fastcgi.FastCGIServlet.execute(FastCGIServlet.java:944)
php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:991)
php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:1040)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root
cause
java.io.IOException: Protocol error
php.java.servlet.fastcgi.FastCGIInputStream.doRead(FastCGIInputStream.java:61)
php.java.servlet.fastcgi.FastCGIInputStream.read(FastCGIInputStream.java:48)
php.java.servlet.fastcgi.FastCGIServlet.parseBody(FastCGIServlet.java:876)
php.java.servlet.fastcgi.FastCGIServlet.execute(FastCGIServlet.java:944)
php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:991)
php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:1040)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
If anyone could help me I'd be very thankful as I need Tomcat, PHP and MySQL
working together in order to do my job.
Sincerely,
Marta Fernandes
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969
------------------------------------------------------------------------------
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2010-05-26 03:52:08
|
Marta,
I don't know if this will help but when I was setting up my PHP
application I had similar issues when trying to use my usual MySQL/PHP
routines and rather then play with the configuration I wrote this up:
function get_users(){
//Get Use Table From MySQL
//Setup Driver
$drivermanager = new JavaClass('java.sql.DriverManager');
//Statement Holder
$select1 = new JavaClass('java.sql.Statement');
//Result Holder
$resultSet = new JavaClass('java.sql.ResultSet');
//Connect
$conn1 = $drivermanager->getConnection("jdbc:mysql://localhost:3306/etc...")
or die("Unable to connect to MySQL");
//Issue Command
$select1 = $conn1->createStatement();
$resultSet = $select1->executeQUERY("SELECT * FROM u_data");
//Return Results
return $resultSet;
}
~Matt
>
> Hi!
>
> Thanks to the PHP/Java Bridge I managed to get my PHP
> applications running under Tomcat 6 (OS: Windows 7). The problem is, I
> can't seem to
> connect MySQL with PHP.
> I installed MySQL, added PHP's home directory and \ext directory to the
> PATH environment variable, and uncommented the extension lines for
> php_mysql.dll and
> php_mysqli.dll in php.ini. After doing that my PHP applications stopped
> working. I decided to comment the extension lines again and as soon as I
> did that my PHP applications started working again (but obviously I
> can't use MySQL). I did this a few times just to make sure the problem
> lied in those two extension lines.
> I keep getting the following
> error:
>
> HTTP Status 500 - type
> Exception report
> message
> description The
> server encountered an internal error () that prevented it from
> fulfilling this request.
> exception
> javax.servlet.ServletException: PHP FastCGI instance failed.
> php.java.servlet.fastcgi.FastCGIServlet.execute(FastCGIServlet.java:957)
> php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:991)
> php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:1040)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> root
> cause
> php.java.servlet.fastcgi.ConnectionException
> php.java.servlet.fastcgi.FastCGIInputStream.read(FastCGIInputStream.java:52)
> php.java.servlet.fastcgi.FastCGIServlet.parseBody(FastCGIServlet.java:876)
> php.java.servlet.fastcgi.FastCGIServlet.execute(FastCGIServlet.java:944)
> php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:991)
> php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:1040)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> root
> cause
> java.io.IOException: Protocol error
> php.java.servlet.fastcgi.FastCGIInputStream.doRead(FastCGIInputStream.java:61)
> php.java.servlet.fastcgi.FastCGIInputStream.read(FastCGIInputStream.java:48)
> php.java.servlet.fastcgi.FastCGIServlet.parseBody(FastCGIServlet.java:876)
> php.java.servlet.fastcgi.FastCGIServlet.execute(FastCGIServlet.java:944)
> php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:991)
> php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:1040)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>
>
> If anyone could help me I'd be very thankful as I need Tomcat, PHP and
> MySQL working together in order to do my job.
>
> Sincerely,
>
> Marta Fernandes
> _________________________________________________________________
> Hotmail: Free, trusted and rich email service.
> https://signup.live.com/signup.aspx?id=60969
> ------------------------------------------------------------------------------
>
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
|
|
From: <php...@li...> - 2010-05-26 02:46:04
|
Hi! Thanks to the PHP/Java Bridge I managed to get my PHP applications running under Tomcat 6 (OS: Windows 7). The problem is, I can't seem to connect MySQL with PHP. I installed MySQL, added PHP's home directory and \ext directory to the PATH environment variable, and uncommented the extension lines for php_mysql.dll and php_mysqli.dll in php.ini. After doing that my PHP applications stopped working. I decided to comment the extension lines again and as soon as I did that my PHP applications started working again (but obviously I can't use MySQL). I did this a few times just to make sure the problem lied in those two extension lines. I keep getting the following error: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: PHP FastCGI instance failed. php.java.servlet.fastcgi.FastCGIServlet.execute(FastCGIServlet.java:957) php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:991) php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:1040) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) root cause php.java.servlet.fastcgi.ConnectionException php.java.servlet.fastcgi.FastCGIInputStream.read(FastCGIInputStream.java:52) php.java.servlet.fastcgi.FastCGIServlet.parseBody(FastCGIServlet.java:876) php.java.servlet.fastcgi.FastCGIServlet.execute(FastCGIServlet.java:944) php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:991) php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:1040) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) root cause java.io.IOException: Protocol error php.java.servlet.fastcgi.FastCGIInputStream.doRead(FastCGIInputStream.java:61) php.java.servlet.fastcgi.FastCGIInputStream.read(FastCGIInputStream.java:48) php.java.servlet.fastcgi.FastCGIServlet.parseBody(FastCGIServlet.java:876) php.java.servlet.fastcgi.FastCGIServlet.execute(FastCGIServlet.java:944) php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:991) php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:1040) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) If anyone could help me I'd be very thankful as I need Tomcat, PHP and MySQL working together in order to do my job. Sincerely, Marta Fernandes _________________________________________________________________ Hotmail: Free, trusted and rich email service. https://signup.live.com/signup.aspx?id=60969 |
|
From: <php...@li...> - 2010-05-18 22:11:36
|
-> http://www.php.net/manual/en/openssl.installation.php 19. Mai 2010 12:08 vorm. schrieb am < php...@li...>: I am sorry, but do you happen to have a link to the documentation you mentioned, I am having issues finding it. Thanks, ~Matt > Pardon? > > If you want to compile php with openssl, please use the --with-openssl > flag. > Plea... >>>> Jost Bökemeier > >> >> >> > > > > ------------------------------------------------------------------------------ >>... > ------------------------------------------------------------------------------ > > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > ------------------------------------------------------------------------------ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
|
From: <php...@li...> - 2010-05-18 22:08:08
|
I am sorry, but do you happen to have a link to the documentation you mentioned, I am having issues finding it. Thanks, ~Matt > Pardon? > > If you want to compile php with openssl, please use the --with-openssl > flag. > Please see the php documentation for details. > > 18. Mai 2010 11:48 nachm. schrieb am < > php...@li...>: > > How do you compile JavaBridge with ssl enabled? > >> Regarding the NoClassDefFound,which version of the JavaBridge.war do you >> > > use? > > You cannot pa... >>>> Jost B̮̦̉̉kemeier > >> >> >> > > > > ------------------------------------------------------------------------------ >>>> > _... > >> > ------------------------------------------------------------------------------ >> > _______________... > >> php...@li... > > https://lists.sourceforge.net/lists/listinfo/php-jav... > php-java-bridge-users mailing list > > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-br... > ------------------------------------------------------------------------------ > > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2010-05-18 21:53:50
|
Pardon? If you want to compile php with openssl, please use the --with-openssl flag. Please see the php documentation for details. 18. Mai 2010 11:48 nachm. schrieb am < php...@li...>: How do you compile JavaBridge with ssl enabled? > Regarding the NoClassDefFound,which version of the JavaBridge.war do you > use? > > You cannot pa... >>> Jost Bökemeier > >> >> > > > ------------------------------------------------------------------------------ >>> > _... > ------------------------------------------------------------------------------ > > _______________... > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-jav... php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-br... |
|
From: <php...@li...> - 2010-05-18 21:48:08
|
How do you compile JavaBridge with ssl enabled? > Regarding the NoClassDefFound,which version of the JavaBridge.war do you > use? > > You cannot patch the demo php files to load openssl. They have been > compiled > with --disable-all > > You need to provide your own php installation. > > 18. Mai 2010 11:29 nachm. schrieb am < > php...@li...>: > > http://php-java-bridge.sourceforge.net/pjb/installation.php > > Following the instructions above I get an error "Exception in thread > "main" java.lang.NoClassDefFoundError: TestInstallation..." > > However I am running .php files in my Tomcat 6 server without an issue > using the JavaBridge.war > > I followed these instructions: > > http://php-java-bridge.sourceforge.net/pjb/tomcat6.php > > and everything works fine with the limitation on connecting to ssl. > > Any thoughts? > > ~Matt > >> Which "second" php installation do you mean? The demo files? > > The > install instructions state "... >>> Jost B̮̦kemeier > >> >> > > > ------------------------------------------------------------------------------ >>> > _______... > >> php...@li... > >> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > > ---------------------------... > > php...@li... > > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > ------------------------------------------------------------------------------ > > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2010-05-18 21:45:12
|
Regarding the NoClassDefFound,which version of the JavaBridge.war do you use? You cannot patch the demo php files to load openssl. They have been compiled with --disable-all You need to provide your own php installation. 18. Mai 2010 11:29 nachm. schrieb am < php...@li...>: http://php-java-bridge.sourceforge.net/pjb/installation.php Following the instructions above I get an error "Exception in thread "main" java.lang.NoClassDefFoundError: TestInstallation..." However I am running .php files in my Tomcat 6 server without an issue using the JavaBridge.war I followed these instructions: http://php-java-bridge.sourceforge.net/pjb/tomcat6.php and everything works fine with the limitation on connecting to ssl. Any thoughts? ~Matt > Which "second" php installation do you mean? The demo files? > > The install instructions state "... >> Jost Bökemeier > >> > > ------------------------------------------------------------------------------ >> > _______... > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > ---------------------------... php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
|
From: <php...@li...> - 2010-05-18 21:29:09
|
http://php-java-bridge.sourceforge.net/pjb/installation.php Following the instructions above I get an error "Exception in thread "main" java.lang.NoClassDefFoundError: TestInstallation..." However I am running .php files in my Tomcat 6 server without an issue using the JavaBridge.war I followed these instructions: http://php-java-bridge.sourceforge.net/pjb/tomcat6.php and everything works fine with the limitation on connecting to ssl. Any thoughts? ~Matt > Which "second" php installation do you mean? The demo files? > > The install instructions state "check your php installation using the > command java -classpath JavaBridge.war TestInstallation" before doing > anything else. Did that work? > > 18. Mai 2010 10:54 nachm. schrieb am < > php...@li...>: > > Jost, > > Thanks for the reply, > > I am not sure how a script that runs on a second installation of PHP is > going to work... when I write a script that works in PHP and then drop it > into my webapps folder, that script would work without making changes to > the PHP/JavaBridge application? Wouldn't the version of php still not be > able to connect to ssl? > > Basically I am looking to do: > > $query = "ssl://user:pass@server:8443/solr/select/?q=" . $_POST['find'] . > "&version=2.2&start=0&rows=10&indent=on"; > $display = file_get_contents($query); > > which works fine if I do it over http but I need to do it over ssl. > > just not sure how to get this to work... > > ~Matt > >> Hi Matt. > > you are poking in php files which will be overwritten the > next time > you restart ... >> Jost Bökemeier > >> > > ------------------------------------------------------------------------------ >> > _____________... > ------------------------------------------------------------------------------ > > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2010-05-18 21:11:26
|
Which "second" php installation do you mean? The demo files? The install instructions state "check your php installation using the command java -classpath JavaBridge.war TestInstallation" before doing anything else. Did that work? 18. Mai 2010 10:54 nachm. schrieb am < php...@li...>: Jost, Thanks for the reply, I am not sure how a script that runs on a second installation of PHP is going to work... when I write a script that works in PHP and then drop it into my webapps folder, that script would work without making changes to the PHP/JavaBridge application? Wouldn't the version of php still not be able to connect to ssl? Basically I am looking to do: $query = "ssl://user:pass@server:8443/solr/select/?q=" . $_POST['find'] . "&version=2.2&start=0&rows=10&indent=on"; $display = file_get_contents($query); which works fine if I do it over http but I need to do it over ssl. just not sure how to get this to work... ~Matt > Hi Matt. > > you are poking in php files which will be overwritten the next time > you restart ... > Jost Bökemeier > > ------------------------------------------------------------------------------ > > _____________... |
|
From: <php...@li...> - 2010-05-18 20:54:09
|
Jost, Thanks for the reply, I am not sure how a script that runs on a second installation of PHP is going to work... when I write a script that works in PHP and then drop it into my webapps folder, that script would work without making changes to the PHP/JavaBridge application? Wouldn't the version of php still not be able to connect to ssl? Basically I am looking to do: $query = "ssl://user:pass@server:8443/solr/select/?q=" . $_POST['find'] . "&version=2.2&start=0&rows=10&indent=on"; $display = file_get_contents($query); which works fine if I do it over http but I need to do it over ssl. just not sure how to get this to work... ~Matt > Hi Matt. > > you are poking in php files which will be overwritten the next time > you restart tomcat. I think this is the wrong approach. > >> Has anyone been able to get OpenSSL support to work? > > Yes. > > Why don't you use a "php for windows zip" download and drag and drop > its contents to c:/Program Files/PHP/ (backslash missing on my tel. > keyboard), enable ssl support according to the php documentation and > test your script in a "command" shell, for example: > > c:/Program Files/PHP/php-cgi.exe script.php > > If that works, restart tomcat and move "script.php" to your web app. > It will work as well. > > If you want to ship your web app as a product at a later stage, with > openssl, php and everything embedded, you can think of a proper > layout. The default layout is described in our FAQ and in the latest > 6.x NEWS file. > > > Regards, > Jost Bökemeier > > ------------------------------------------------------------------------------ > > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2010-05-18 07:21:22
|
Hi Matt. you are poking in php files which will be overwritten the next time you restart tomcat. I think this is the wrong approach. > Has anyone been able to get OpenSSL support to work? Yes. Why don't you use a "php for windows zip" download and drag and drop its contents to c:/Program Files/PHP/ (backslash missing on my tel. keyboard), enable ssl support according to the php documentation and test your script in a "command" shell, for example: c:/Program Files/PHP/php-cgi.exe script.php If that works, restart tomcat and move "script.php" to your web app. It will work as well. If you want to ship your web app as a product at a later stage, with openssl, php and everything embedded, you can think of a proper layout. The default layout is described in our FAQ and in the latest 6.x NEWS file. Regards, Jost Bökemeier |
|
From: <php...@li...> - 2010-05-17 22:20:07
|
Hello,
I am using Tomcat 6, Windows XP, and PHP/Java Bridge with SSL and for the
most part all is well. The problem I seem to be having is enabling OpenSSL
Support. I need to pull some data using a get_file() over an SSL
communication line and all I get back is garbled text or nothing and I
assume this is because I am doing
get_file("ssl://user:pass@<website>:<port>/?query=ipod") without OpenSSL
Support. I have tried adding:
extension=php_openssl.dll
to my php.ini and at first I got a warning that the file was mismatched
(old version) so I downloaded a php_openssl.dll v5.3.1.0 and then I
received the following error by running cgi\php-cgi-x86-windows.exe:
---------
"PHP Warning: PHP Startup: Unable to load dynamic library
'C:\apache\Tomcat\Webapps\JavaBridge\WEB-INF\cgi\php_openssl.dll' - This
application has failed to start because the application cofiguration is
incorrect. Reinstalling the application may fix this problem. in Unknown
on line 0"
----------
On the webserver the connection will time out and display an error
eventually followed by the OS throwing an error to close a running
process.
My php.ini is as followed:
--------
;; -*- mode: Scheme; tab-width:4 -*-
;; A simple php.ini
extension_dir="C:\apache\Tomcat\webapps\JavaBridge\WEB-INF\cgi"
include_path="C:\apache\Tomcat\webapps\JavaBridge\WEB-INF\pear;."
extension=php_openssl.dll
-----------
The php_openssl.dll is in the correct folder and I've tried moving
libeay32.dll and ssleay32.dll to various locations but I always get the
same error.
Has anyone been able to get OpenSSL support to work?
I would appreciate help from anyone,
Thanks,
~Matt
|
|
From: <php...@li...> - 2010-05-17 10:10:46
|
Hi Jaime, please follow the install instructions from: http://php-java-bridge.sourceforge.net/pjb/installation.php > I have tried with both Tomcat 5.5 and Tomcat 6 >From the above http://php-java-bridge.sourceforge.net/pjb/installation.php: "Install Apache Tomcat (http://tomcat.apache.org/) (or any other servlet engine) as a Windows or Unix service ..." If you follow the above instructions, it will work. Note the link to http://tomcat.apache.org. The "Tomcat" shipped with Ubuntu is broken. There's a workaround for Debian. But we don't support Linux distributions except RedHat Enterprise (or Fedora) Linux and Debian Linux Furthermore php-cgi must be in the PATH. If it's not, flag the ubuntu PHP package as "broken" as well. Regards, Jost Bökemeier |
|
From: <php...@li...> - 2010-05-14 23:07:01
|
I am having issues with installing phpjavabridge on Ubuntu 9.04 64 bit. The Javabridge does not activate and the samples do not work. I have followed the instructions as provided here http://php-java-bridge.sourceforge.net/pjb/installation.php I have tried with both Tomcat 5.5 and Tomcat 6 as well as Java 1.6. Any help will be useful and much appreciated. Jaime |
|
From: <php...@li...> - 2010-05-12 08:55:47
|
Hi, > What is phpXts.dll and where can I get it from You can get PHP for X64 systems from: http://windows.php.net/download/#php-5.3-ts-VC9-x64 I don't know why the windows version needs a "php5ts.dll" (or "php5.dll" for the non-ts version), nor do I know anything about the differences. I don't know what "VC6" or "VC9" is, either. Please see the php documentation for more information. > Is there a step by step guide how to use PHP-JavaBridge on 64Bit Windows Server Systems? Yes. Please see: http://php-java-bridge.sourceforge.net/pjb/installation.php The install guide doesn't show how to install PHP, as it is assumed that you have already installed PHP. Please see the documentation on http://php.net for details. Regards, Jost Bökemeier |
|
From: <php...@li...> - 2010-05-11 16:18:56
|
Hello, I have installed PHP-Java-Bridge on a 32 Bit System: Tomcat Version: Apache Tomcat/6.0.26 JVM Version: 1.6.0_13-b03 JVM Vendor: Sun Microsystems Inc. OS Name: Windows XP OS Version: 5.1 OS Architecture: x86 I deployed JavaBridge.war, Examples work fine. I then have installed PHP-Java-Bridge on a 64 Bit System: Tomcat Version: Apache Tomcat/6.0.26 JVM Version: 1.6.0_20-b02 (64Bit) JVM Vendor: Sun Microsystems Inc. OS Name: Windows 2003 OS Version: 5.2 OS Architecture: amd64 Deployment of JavaBridge.war without any visible problems. Tomcat localhost.log: >07.05.2010 11:12:31 org.apache.catalina.core.ApplicationContext log >INFO: PhpJavaServlet: PHP/Java Bridge servlet D:\Tomcat 6.0\webapps\JavaBridge version 6.1.2.1 ready. When I try to start http://localhost:8080/JavaBridge/ I get ... nothing (waiting for timeout?) Once I got the Message (I can't reproduce): No suitable php fastcgi sapi found. Install PHP as either "/usr/bin/php-cgi" or "c:/Program Files/PHP/php-cgi.exe" or "D:\Tomcat 6.0\webapps\JavaBridge\WEB-INF\cgi\php-cgi-amd64-windows.exe". See also "php_exec" in your WEB-INF/web.xml. I went to U:\Tomcat 6.0\webapps\JavaBridge\WEB-INF\cgi\amd64-windows And found the advice: you can rename your php fastcgi binary to "php-cgi-amd64-windows.exe", add it and its phpXts.dll (!) to your web application WEB-INF/cgi directory and re-deploy your web application. Here I got stuck: What is phpXts.dll and where can I get it from? - do I really need it? In the long run: Is there a step by step guide how to use PHP-JavaBridge on 64Bit Windows Server Systems? Help is very much appreciated Dirk |
|
From: <php...@li...> - 2010-05-10 10:04:01
|
Hi, the PHP/Java Bridge implementation requires a running Java VM. This may be either a Java JRE or a Java SDK from Sun/Oracle or any other Java 1.4 compliant implementation, including MS .NET or GNU "Java". Regards, Jost Bökemeier |
|
From: <php...@li...> - 2010-05-08 10:54:44
|
Hi, I'm currently testing PJB to use jasperreports in our php applications, but I would like to know if PJB requires a JDK or it's fine with a JRE, because the faq only says "Java >= 1.4. Java >= 6 recommended." Thanks! |
|
From: <php...@li...> - 2010-05-02 13:16:28
|
Thanks so much! I'll try this out and let you know how it goes. > Date: Sun, 2 May 2010 13:14:39 +0200 > To: php...@li... > From: php...@li... > Subject: Re: [Php-java-bridge-users] Access to a Drupal site > > > http://php-java-bridge.sourceforge.net/pjb/server/documentation/API/index.html > > Link was incorrect. Correct link: > > http://php-java-bridge.sourceforge.net/pjb/server/documentation/API/php/java/script/servlet/EngineFactory.html > > On 5/2/10, Jost Boekemeier <jos...@go...> wrote: > >> auto_prepend_file=JavaProxy.php > > > > auto_append_file=JavaProxy.php > > > > > > > > On 5/2/10, Jost Boekemeier <jos...@go...> wrote: > >> Hi, > >> > >> isn't it possible to use the JSR 223 API to call your (external or > >> internal) PHP script methods? > >> > >> > >> Any PHP script which contains the call > >> > >> java_call_with_continuation() > >> > >> automatically implements the javax.script.Invocable interface. Example: > >> > >> > >> <?php //script.php > >> require_once("Java.inc"); > >> ... > >> java_call_with_continuation(); > >> // reached after ((Closable)e).close() has been called > >> ?> > >> > >> main(String s[]) throws Throwable { > >> ScriptEngine e = new > >> ScriptEngineManager().getEngineByName("php-invocable"); > >> e.eval(new URLReader("http://localhost/drupal/script.php"); > >> Invocable i = (Invocable)e; > >> System.out.println(i.invokeFunction("phpversion", new Object[]{})); > >> ((Closeable)e).close(); > >> } > >> > >> > >> You can append java_call_with_continuation() to a specific script or > >> to all scripts using the php.ini directive: > >> > >> auto_prepend_file=JavaProxy.php > >> > >> > >> For internal scripts you can also use the RequestDispatcher to include > >> the PHP resource. > >> > >> Please see > >> > >> http://php-java-bridge.sourceforge.net/pjb/server/documentation/API/index.html > >> > >> and > >> > >> http://php-java-bridge.sourceforge.net/pjb/docs/php-api/JavaBridge/_JavaBridge.inc.html#functionjava_call_with_continuation > >> > >> for details. > >> > >> > >> Regards, > >> Jost Bökemeier > >> > > > > ------------------------------------------------------------------------------ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users _________________________________________________________________ If It Exists, You'll Find it on SEEK. Australia's #1 job site http://clk.atdmt.com/NMN/go/157639755/direct/01/ |
|
From: <php...@li...> - 2010-05-02 11:14:46
|
> http://php-java-bridge.sourceforge.net/pjb/server/documentation/API/index.html Link was incorrect. Correct link: http://php-java-bridge.sourceforge.net/pjb/server/documentation/API/php/java/script/servlet/EngineFactory.html On 5/2/10, Jost Boekemeier <jos...@go...> wrote: >> auto_prepend_file=JavaProxy.php > > auto_append_file=JavaProxy.php > > > > On 5/2/10, Jost Boekemeier <jos...@go...> wrote: >> Hi, >> >> isn't it possible to use the JSR 223 API to call your (external or >> internal) PHP script methods? >> >> >> Any PHP script which contains the call >> >> java_call_with_continuation() >> >> automatically implements the javax.script.Invocable interface. Example: >> >> >> <?php //script.php >> require_once("Java.inc"); >> ... >> java_call_with_continuation(); >> // reached after ((Closable)e).close() has been called >> ?> >> >> main(String s[]) throws Throwable { >> ScriptEngine e = new >> ScriptEngineManager().getEngineByName("php-invocable"); >> e.eval(new URLReader("http://localhost/drupal/script.php"); >> Invocable i = (Invocable)e; >> System.out.println(i.invokeFunction("phpversion", new Object[]{})); >> ((Closeable)e).close(); >> } >> >> >> You can append java_call_with_continuation() to a specific script or >> to all scripts using the php.ini directive: >> >> auto_prepend_file=JavaProxy.php >> >> >> For internal scripts you can also use the RequestDispatcher to include >> the PHP resource. >> >> Please see >> >> http://php-java-bridge.sourceforge.net/pjb/server/documentation/API/index.html >> >> and >> >> http://php-java-bridge.sourceforge.net/pjb/docs/php-api/JavaBridge/_JavaBridge.inc.html#functionjava_call_with_continuation >> >> for details. >> >> >> Regards, >> Jost Bökemeier >> > |
|
From: <php...@li...> - 2010-05-02 11:11:17
|
> auto_prepend_file=JavaProxy.php
auto_append_file=JavaProxy.php
On 5/2/10, Jost Boekemeier <jos...@go...> wrote:
> Hi,
>
> isn't it possible to use the JSR 223 API to call your (external or
> internal) PHP script methods?
>
>
> Any PHP script which contains the call
>
> java_call_with_continuation()
>
> automatically implements the javax.script.Invocable interface. Example:
>
>
> <?php //script.php
> require_once("Java.inc");
> ...
> java_call_with_continuation();
> // reached after ((Closable)e).close() has been called
> ?>
>
> main(String s[]) throws Throwable {
> ScriptEngine e = new
> ScriptEngineManager().getEngineByName("php-invocable");
> e.eval(new URLReader("http://localhost/drupal/script.php");
> Invocable i = (Invocable)e;
> System.out.println(i.invokeFunction("phpversion", new Object[]{}));
> ((Closeable)e).close();
> }
>
>
> You can append java_call_with_continuation() to a specific script or
> to all scripts using the php.ini directive:
>
> auto_prepend_file=JavaProxy.php
>
>
> For internal scripts you can also use the RequestDispatcher to include
> the PHP resource.
>
> Please see
>
> http://php-java-bridge.sourceforge.net/pjb/server/documentation/API/index.html
>
> and
>
> http://php-java-bridge.sourceforge.net/pjb/docs/php-api/JavaBridge/_JavaBridge.inc.html#functionjava_call_with_continuation
>
> for details.
>
>
> Regards,
> Jost Bökemeier
>
|
|
From: <php...@li...> - 2010-05-02 11:08:01
|
Hi,
isn't it possible to use the JSR 223 API to call your (external or
internal) PHP script methods?
Any PHP script which contains the call
java_call_with_continuation()
automatically implements the javax.script.Invocable interface. Example:
<?php //script.php
require_once("Java.inc");
...
java_call_with_continuation();
// reached after ((Closable)e).close() has been called
?>
main(String s[]) throws Throwable {
ScriptEngine e = new ScriptEngineManager().getEngineByName("php-invocable");
e.eval(new URLReader("http://localhost/drupal/script.php");
Invocable i = (Invocable)e;
System.out.println(i.invokeFunction("phpversion", new Object[]{}));
((Closeable)e).close();
}
You can append java_call_with_continuation() to a specific script or
to all scripts using the php.ini directive:
auto_prepend_file=JavaProxy.php
For internal scripts you can also use the RequestDispatcher to include
the PHP resource.
Please see
http://php-java-bridge.sourceforge.net/pjb/server/documentation/API/index.html
and
http://php-java-bridge.sourceforge.net/pjb/docs/php-api/JavaBridge/_JavaBridge.inc.html#functionjava_call_with_continuation
for details.
Regards,
Jost Bökemeier
|
|
From: <php...@li...> - 2010-05-01 11:28:35
|
Hi, Is it possible using the php-java-bridge to access a Drupal site running on the SAME box as a Java servlet? That is, I have written several Java servlets and will need to access the Drupal backend/database to read/write user information. Thanks, Bernmeister. _________________________________________________________________ New, Used, Demo, Dealer or Private? Find it at CarPoint.com.au http://clk.atdmt.com/NMN/go/206222968/direct/01/ |
|
From: <php...@li...> - 2010-04-30 10:41:56
|
Hi Hameed,
> php.java.servlet.fastcgi.ConnectionException
this usually means that PHP crashed with a core dump. This should not
happen[1], you might want to report this PHP bug to the PHP
developers.
If you define ("JAVA_LOG_LEVEL", 4) before including Java.inc, you
should be able to see the last statements before the crash.
Or you may try the current PHPDebugger to debug your code:
http://php-java-bridge.cvs.sourceforge.net/viewvc/*checkout*/php-java-bridge/php-java-bridge/server/META-INF/java/PHPDebugger.php
Regards,
Jost Bökemeier
[1] Not necessarily a PHP bug. The following script will crash every
stack-based script engine unless it can handle tail calls or uses
David Baker's algorithm:http://home.pipeline.com/~hbaker1/CheneyMTA.html
function f() { g(); }
function g() { f(); }
f();
|