提問三步曲: 提問先看教程/FAQ索引(wdcp,wdcp_v3,一鍵包)及搜索,會讓你更快解決問題
1 提供詳細,如系統版本,wdcp版本,軟件版本等及錯誤的詳細信息,貼上論壇或截圖發(fā)論壇
2 做過哪些操作或改動設置等
溫馨提示:信息不詳,很可能會沒人理你!論壇有教程說明的,也可能沒人理!因為,你懂的
直接下載PHP5.6.29重新編譯安裝,步驟如下:
[root@localhost ~] cd /tmp
[root@localhost tmp] wget -c http://dl.wdlinux.cn:5180/soft/php-5.6.29.tar.gz
[root@localhost tmp] tar zxvf php-5.6.29.tar.gz
[root@localhost tmp] cd php-5.6.29
[root@localhost tmp] ./configure --prefix=/www/wdlinux/php-5.6.29 \
--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
[root@localhost tmp] make
[root@localhost tmp] make install
[root@localhost tmp] rm -f /www/wdlinx/php
[root@localhost tmp] ln -s /www/wdlinux/php-5.6.29 /www/wdlinux/php
[root@localhost tmp] systemctl restart httpd.service |