[resolved] omega2 uhttpd php7-cgi Bad gateway
been trying for 2 hours to setup php on omega2, I followed this tutorial:
After I add the
list interpreter ".php=/usr/bin/php-cgi"and
option index_page 'index.php'and restaring the uhttpd
/etc/init.d/uhttpd restartI get the Bad Gateway error, and nothing else. Tried a few times, factory reset the omega but the results were same. Then lately I tried the upgrade onion-os, and when I navigate to Code Editor on http://192.168.3.1/OnionOS/ I get the same error as below.
The process did not produce any response
Tried to check if firmware is up too:
Device Firmware Version: 0.1.10 b160
Checking latest version online...
Repo Firmware Version: 0.1.10 b160
Comparing version numbers
Device firmware is up to date!`
Anyone having this error recently? How would I get php working?
@Mentor-Gashi try a factory restore
firstbootand a clean install of
oos-app-editorit should configure php for you automatically
make sure you are at the latest firmware build
@Mentor-Gashi try a factory restore firstboot and a clean install of onion-os and oos-app-editor it should configure php for you automatically
make sure you are at the latest firmware build oupgrade -l
Thanks, the -l flag did indeed upgrade the firmware despite the regular check was claiming the firmware was up to date.
Going to give it a try if I can get a use of it