Problems with login page LuCI

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

Restoring Arduino Yun to Factory Defaults ( backup your own files)

PHP/uhttpd

Setup index page

Thanks! It works

I had forgotten one "." before php=/usr/bin/php-cgi and and the interpreter was not recognized.
Problem solved..

fabrizio