Home > Article > Backend Development > Can php run on mobile phone?
Can php run on mobile phones?
php can run on mobile phones. But you need your phone to have a PHP running environment.
For example, the PHP running environment software on an Android phone: anmpp.
ANMPP is the abbreviation of Android NGINX MYSQL PGSQL PHP-FPM
ANMPP installation instructions:
Requires root permissions
Install anmpp .apk
Enter anmpp.apk
Use the installation function of anmpp gui (you will be prompted for the anmpp.zip path to use during installation, and place anmpp.zip to this path according to the CPU architecture)
If you need to use terminal installation, unzip anmpp.zip and use the anmpp.sh inside to install it
ANMPP intranet penetration rule:
Use ngrok solution for intranet penetration. The client uses ngrokc
to start intranet penetration. The intranet penetration option must be correctly set to start
Example: -SER[Shost: server address, Sport: server port] -AddTun[Type :http,Lhost:127.0.0.1,Lport:80]
Multiple rules can be added directly in the format of -AddTun[] -AddTun[]
For more PHP related knowledge, please Visit PHP Chinese website!
The above is the detailed content of Can php run on mobile phone?. For more information, please follow other related articles on the PHP Chinese website!