My compiled application works fine on a local server but produces an error when ported to a client machine.
It says host… is not allowed to connect to mysql database. This happens when you are trying to connect to a remote server machine.
It looks like your remote server machine is blocking access to external clients. Make sure your remote server is correctly configured (port, firewall) to access external connections from your compiled PHP applications. Be sure to use HTTPS to transfer data securely.
You’ll find one in our General demo that ships with ExeOutput. We show how you can use cURL to download data from HTTPS. Otherwise, just use URLs that begin with https:// in your app and you’ll be fine.
The idea is to initialize the WAMP and start the app EXE after that. Thus, PHP scripts in your EXE can access non-compiled PHP scripts through http://localhost:port/path to PHP script
As explained, we’ll offer the possibility to build server EXE apps and/or integrate a built-in external server to existing GUI apps, so that external apps will be able to exchange with a PHP app through the standard localhost:port
We have multiple systems connected to the local network and exe is installed on each. One of the systems is set as a server and SqlLite is installed with exeoutput. The exe works perfectly with the sqllite in the server system. What I need is to connect all the exe in other systems to the sqlLite in the server.
I created an exe using exeoutput with laravel and a Xampp server running MySQL. exeoutput is trying to connect with the wrong DB, instead of connecting to the DB mentioned in the .env file. Config is cleared and also verifies no DB name is defined in database.php.