cd /usr/local/directadmin/custombuild
mkdir -p custom/ap2
cp -pf configure/ap2/configure.php5 custom/ap2/configure.php5
vim custom/ap2/configure.php5
به اين مسير بريد و فايل رو با دستور nano باز كنيد
بعدش كد زير رو بزارد توش
...
--enable-mbstring \
--enable-soap \
--enable-intl \
--with-xmlrpc \
بعدش بايد php رو ريكامپايل كنيد
cd /usr/local/directadmin/custombuild
و بعد
./build php n
اگه به اين ارور برخوردين كه اميدوارم نخوريد نگران نباشيد راه حل داره باز
checking for location of ICU headers and libraries... not found
configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and
دستور
yum install libicu-devel
رو اجرا كنيد و مجددا تو custombuild بريد و php رو ريكامپايل كنيد 100 درصد جواب ميده رو سرور خودمون تست شده![]()






پاسخ با نقل قول