日期:2014-05-17  浏览次数:20482 次

ubuntu下php开发环境搭建
sudo apt-get install apache2

浏览器打开 http://127.0.0.1 看到 It works 表示安装成功!

sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo /etc/init.d/apache2 restart


sudo apt-get install mysql-server
sudo apt-get install libapache2-mod-auth-mysql
sudo apt-get install php5-mysql
sudo /etc/init.d/apache2 restart


http://www.zend.com/en/products/guard/downloads


[ZendGuardLoader]
zend_loader.enable=1
zend_loader.disable_licensing=0
zend_loader.obfuscation_level_support=3
zend_loader.license_path=
zend_extension="/usr/lib/php5/ZendGuardLoader.so"

windows:zend_extension="d:\php\ext\ZendLoader.dll"

sudo service apache2 restart