Запустите PHP-сервер из терминала для запуска PHP-файла на Raspberry Pi. ⇐ Php
Запустите PHP-сервер из терминала для запуска PHP-файла на Raspberry Pi.
I have PHP and Apache2 installed on my Raspberry Pi, that works. But, I dunno how to run a server and connect to it from it's IP(http://192.168.1.25:22). And when I try another port, it says [Sat Mar 9 09:32:37 2024] Failed to listen on 192.168.1.25:80 (reason: Address already in use).
And : [Sat Mar 9 09:33:49 2024] PHP 7.4.33 Development Server (http://192.168.1.25:22) started
I tried those techniques, like php -S 192.168.1.25:22 router.php but does not work, maybe port error ? I createda router, tried without router.
Источник: https://stackoverflow.com/questions/781 ... asperry-pi
I have PHP and Apache2 installed on my Raspberry Pi, that works. But, I dunno how to run a server and connect to it from it's IP(http://192.168.1.25:22). And when I try another port, it says [Sat Mar 9 09:32:37 2024] Failed to listen on 192.168.1.25:80 (reason: Address already in use).
And : [Sat Mar 9 09:33:49 2024] PHP 7.4.33 Development Server (http://192.168.1.25:22) started
I tried those techniques, like php -S 192.168.1.25:22 router.php but does not work, maybe port error ? I createda router, tried without router.
Источник: https://stackoverflow.com/questions/781 ... asperry-pi
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
NRF24L01 Связь между Raspberry Pi 4 и Raspberry Pi Pico (Micropython) не работает
Anonymous » » в форуме Python - 0 Ответы
- 5 Просмотры
-
Последнее сообщение Anonymous
-
-
-
NRF24L01 Связь между Raspberry Pi 4 и Raspberry Pi Pico (Micropython) не работает
Anonymous » » в форуме Python - 0 Ответы
- 4 Просмотры
-
Последнее сообщение Anonymous
-