lanmp3安装,自主选择的httpd-2.4.18 php-5.3.29 mysql-5.5.49
安装后正常,修改了密码和各端口
然后,使用下面指令降级php5.2.17
wget -c http://dl.wdlinux.cn:5180/soft/php-5.2.17.tar.gz
tar zxvf php-5.2.17.tar.gz
cd php-5.2.17
./configure --prefix=/www/wdlinux/php-5.2.17 --with-config-file-path=/www/wdlinux/etc --with-mysql=/www/wdlinux/mysql --with-iconv=/usr --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-inline-optimization --with-curl --enable-mbregex --enable-mbstring --with-mcrypt=/usr --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-ftp --with-apxs2=/www/wdlinux/apache/bin/apxs
make
make install
rm -f /www/wdlinux/php
ln -s /www/wdlinux/php-5.2.17 /www/wdlinux/php
service httpd restart
但是重启报错
httpd: Syntax error on line 150 of /www/wdlinux/httpd-2.4.18/conf/httpd.conf: Cannot load modules/libphp5.so into server: /www/wdlinux/httpd-2.4.18/modules/libphp5.so: undefined symbol: unixd_config