I have a pi zero with WiFi which I have written some simple GPIO stuff on it. I want to operate it from my mobile phone, isolated from home network.

For that I want to have a php webserver that can execute linux commands where I send HTTP request to the webserver and it will do some stuff like this, or ideally the webserver will show me a page with some buttons to press.


So the keyword here is, the pi zero should advertise its own SSID like a modem/router (or what is the correct term) and I can connect to it by connecting to that SSID with username/password.

Myquestions: Is this called HotSpot or AccessPoint? what is the correct term here? Is it possible to do on pi zero-w ? if not what about pi 3? Where can I find more info on this topic.

  • what is the correct term ... AP (access point)
    – jsotola
    May 20, 2021 at 1:25

1 Answer 1


There are literally hundreds of tutorials on setting up an Access Point - on the Foundation website and this Forum.

Similarly there are many on setting up a Web Server

Unfortunately controlling GPIO from php is not easy, as GPIO access requires root access permissions and php normally limits access for security reasons.

There are many tools for controlling GPIO remotely e.g. PiGPIO and I believe there are some programs for controlling GPIO from an app.

You can use VNC or ssh on your phone to control the Pi.

  • You are right: There are "hundreds of tutorials", most of them outdated and none working "out of the box". Happy about any hint.
    – Georg W.
    Jan 22 at 14:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.