|
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 > |