Switch to the wdcp Directory (in fact, it can be any location, and I prefer to put it together)
Cd/www/wdlinux
Upgrade to php5.3
Wget http://down.wdlinux.cn/in/php_up53.sh
Sh php_up53.sh
Wget http://downinfo.myhostadmin.net/vps/pdo_mysql_ins5.3.sh
Sh pdo_mysql_ins5.3.sh
Wget http://down.wdlinux.cn/in/ZendGL_ins.sh
Sh ZendGL_ins.sh
Wget http://down.wdlinux.cn/in/eac0961_ins.sh
Sh eac096w.ins.sh
Shutdown-r now
Note: After the upgrade, Zend Optimizer is not supported and will be incompatible with the previous program. You need to confirm that the program must use 5.3 for execution (a large amount of compilation is required for execution, generally, the installation can be completed within half an hour-one hour)
The website enables the rewrite function for the default website.
<VirtualHost *: 80>
DocumentRoot/www/web/default
</VirtualHost>
<Directory/www/web/default>
Options FollowSymLinks
AllowOverride All // change No to All
Order allow, deny
Allow from all
</Directory>