<span style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);">由于PigCMS 官方给的版本对环境是如下要求: </span>
PHP5.4.x with Zend Guard Loader
Apache 2.2+ 或者 IIS 7.5 ,不使用 Nginx 反向代理的情况下可以支持 Nginx
所以ubuntu下apt-get安装的php5.5.9 不能正确运行,会提示
Zend Guard Run-time support missing!
Zend Guard Run-time support missing!
One more more files on this web site were encoded by ZendGuard and the required run-time support is not installed orproperly configured.
For the Web site user
This means that this Web server is not configured correctly to runthe files that it contains. Please contact the Web site'sadministrator/webmaster and inform them of this problem and give themthe URL you are trying to display to help them in diagnosing theproblem.
For The Site Administrator/Web Master
One or more files on your site were encoded with Zend Guard. Thismay be third party libraries that were provided to you by an ISV. Toallow these files to properly run you need to download and installone of the Zend guard run-time libraries. This is either ZendOptimizer or Zend Loader. The proper files can be downloaded fromhttp://www.zend.com/guard/downloads.This software is provided free of charge.
General Disclaimer: Zend Technologies is not responsible tothe configuration and setup of web sites using Zend Guard technology.Please contact your software vendor if these components were providedby an ISV or consult your Zend Guard Users Guide if these files wereencoded by your organization.
就需要安装低版本的php 降级安装一直没成功。就重新格式化了服务器,全部重新开启安装
1、下载安装php
wget http://in1.php.net/distributions/php-5.3.29.tar.bz2
tar -xvf php-5.3.29.tar.bz2
cd php-5.3.29
./configure
make
make install
./configure时会报错,
error: xml2-config not found. Please check your libxml2 installation
这时需要重安装libxml2
sudo apt-get install libxml2-dev
然后就可以
./configure
make
make install
但是make install完成会提示
Wrote PEAR system config file at: /usr/local/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
/root/php-5.3.29/build/shtool install -c ext/phar/phar.phar /usr/local/bin
ln -s -f /usr/local/bin/phar.phar /usr/local/bin/phar