Ubuntu下配置PHP的dbase支持
可以通过pecl install dbase来安装dbase支持,不过在我的环境下总是出错(Ubuntu 8.04 PHP5.25),提示以下错误: Cannot find config.m4. Make sure that you run ‘/usr/bin/phpize’ in the top level source directory of the module 意思是找不到config.m4,需要在dbase源码目录运行phpize才行 懒得找pecl具体下载源码下到哪里了,就直接进到当前用户主目录,下载dbase源码: cd ~ wget http://pecl.php.net/get/dbase-5.1.0.tgz 解压: tar xzvf dbase-5.1.0.tgz 然后编译安装重启web服务器刷新即可: phpize ./configure make sudo make install sudo /etc/init.d/apache2 restart[……]