how to install dBase on cpanel/whm with php version 5.3.2
how can i install dBase on cpanel/whm with php version 5.3.2, i didn't see the option on EasyApache (Apache Update)
UPDATE Below is the ssh command to make it work
wget http://pecl.php.net/get/dbas开发者_StackOverflow中文版e-5.0.1.tgz
tar -xzf dbase-5.0.1.tgz
cd dbase-5.0.1
phpize
./configure
make
make install
I know that this is not a lot of help for cpanel use, but if you can use pecl, dbase was moved to pecl in 5.3. You can still use it with 5.3 by doing:
pecl install channel://pecl.php.net/get/dbase
Then add dbase.so to php.ini if it is not there already. The --enable-dbase configure option when building php does nothing in 5.3.
according to response from cPanel:
It appears Dbase is no longer available in PHP 5.3.x, I selected 5.2.13 (without building) and it showed up in the options list.
So, I switched back to php 5.2.X and installed dBase from EasyApache and it's now working.
In WHM, go to Software > Module Installers
then click in Manage
in PHP PECL line. Search for "dbase" > Install
!
CENTOS 6.8 x86_64 kvm – cPanel & WHM 64.0 (build 36)
精彩评论