After installing php5 and php5-cgi and make setting:
uci set uhttpd.main.interpreter=".php=/usr/bin/php-cgi"
uci set uhttpd.main.index_page="index.html index.htm default.html default.htm index.php"
uci commit uhttpd
sed -i 's,doc_root.*,doc_root = "",g' /etc/php.ini
sed -i 's,;short_open_tag = Off,short_open_tag = On,g' /etc/php.ini
I can't get http://192.168.240.1/cgi-bin/luci/webpanel/homepage anymore..
Where I went wrong and how to fix?
thanks. fabrizio