lutfailham96 / libernet

Libernet is open source web app for tunneling internet using SSH, V2Ray, Trojan, Shadowsocks, OpenVPN on OpenWRT with ease.
71 stars 61 forks source link

index.php download accessing http://router-ip/libernet #11

Closed essoojay closed 3 years ago

essoojay commented 3 years ago

Platform: sunxi s905x openwrt Installation: successful

Problem:

Cant access libernet configuation url, it downloads index.php

Steps tried: I cleared cookies, reinstall libernet, same problem

please how to fix

Thank you

lutfailham96 commented 3 years ago

Platform: sunxi s905x openwrt Installation: successful

Problem:

Cant access libernet configuation url, it downloads index.php

Steps tried: I cleared cookies, reinstall libernet, same problem

please how to fix

Thank you

you have to enable php execution manually, by putting php on uhttp list interpreter

essoojay commented 3 years ago

Platform: sunxi s905x openwrt Installation: successful Problem: Cant access libernet configuation url, it downloads index.php Steps tried: I cleared cookies, reinstall libernet, same problem please how to fix Thank you

you have to enable php execution manually, by putting php on uhttp list interpreter


thanks, just for anyone with that issue, solution is

edit /etc/config/uhttpd

under config uhttpd main

add: list interpreter '.php=/usr/bin/php-cgi'

save and reboot