Before you start, you need to confirm that you are installing optware correctly. Official note in this: http://buffalo.nas-central.org/wiki/Category:LS-WVL Note that optware must be installed when installed http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/ls-mvkw-bootstrap_1.2-7_arm.xsh Because most of the online tutorials are using another version of optware, resulting in the subsequent installation of other software problems. Of course, if you have installed the wrong does not matter, you can download again, install the version, and then have prompted to tell you how to do it. As the ipkg list only php5.2, and we need 5.3, so you need to compile their own, and the system default to streamline some of the compiler components, we installed it. ipkg install gcc ipkg install make ipkg can also install libxml2, but I found that the installation of ipkg version will lead to Php compiler failure, so it was under the libxml2 source code to compile and install. wget http://xmlsoft.org/sources/libxml2-2.9.0.tar.gz tar zxvf libxml2-2.9.0.tar.gz cd libxml2-2.9.0 ./configure –prefix=/usr/local/libxml2 make make install At this point even into the topic, we started to install php. cd /mnt/disk1/tmp wget http://cn.php.net/get/php-5.3.23.tar.gz/from/cn2.php.net/mirror tar zxvf php-5.3.23.tar.gz cd /mnt/disk1/tmp/php-5.3.23 mkdir / mnt / disk1 / nxu / php53 ./configure –prefix=/mnt/disk1/nxu/php53 –with-libxml-dir=/usr/local/libxml2 ‘–enable-fastcgi’ ‘–enable-cgi’ Because the default temporary folder capacity is too small, you need to modify it export TMPDIR=/mnt/disk1/dev_temp make make install Modify the php cgi path in the /etc/lighttpd/mod_fastcgi.conf file. The original value / usr / bin / php-cgi 修改 为 / mnt / disk1 / nxu / php53 / bin / php-cgi Then restart the web server /etc/init.d/lighttpd.sh stop /etc/init.d/lighttpd.sh start Visit the next site, you should be able to see the information of the php.