aminoacid Active Member Licensed User Longtime User Jun 8, 2023 #1 I have a B4J websocket server application and I would like the server to run a PHP script. Is this possible? The way it is at the moment, the server does not recognize the PHP file as a script and simply displays the contents in the browser. Any guidance would be greatly appreciated. Thanks!
I have a B4J websocket server application and I would like the server to run a PHP script. Is this possible? The way it is at the moment, the server does not recognize the PHP file as a script and simply displays the contents in the browser. Any guidance would be greatly appreciated. Thanks!
DonManfred Expert Licensed User Longtime User Jun 9, 2023 #2 aminoacid said: Is this possible? Click to expand... not directly. Asuming php is installed on the server the jetty-server is running on you can use jshell to start php.exe and wait for the result. Note that you have to use the php-commandline-interface. See PHP documentation. Last edited: Jun 9, 2023 Upvote 0
aminoacid said: Is this possible? Click to expand... not directly. Asuming php is installed on the server the jetty-server is running on you can use jshell to start php.exe and wait for the result. Note that you have to use the php-commandline-interface. See PHP documentation.