configure --help|grep pdo 是的怎么搞啊,[root@test error]# configure --help|grep pdo -bash: configure: command not found [root@test error]#我linux不熟,最近才搞的, 帮我再看看呢,
不知道configure你是怎么装好的?不会是rpm吧?
安装 WindowsFollow the same steps to install and enable the PDO drivers of your choice. Windows users can download the extension DLL php_pdo.dll as part of the PECL collection binaries from http://www.php.net/downloads.php or a more recent version from a PHP 5 PECL Snapshot. To enable the PDO extension on Windows operating systems, you must add the following line to php.ini: extension=php_pdo.dll
Next, choose the other DB specific DLL files and either use dl() to load them at runtime, or enable them in php.ini below pdo_pdo.dll. For example: extension=php_pdo.dll extension=php_pdo_firebird.dll extension=php_pdo_mssql.dll extension=php_pdo_mysql.dll extension=php_pdo_oci.dll extension=php_pdo_oci8.dll extension=php_pdo_odbc.dll extension=php_pdo_pgsql.dll extension=php_pdo_sqlite.dll
These DLL's should exist in the systems extension_dir. Linux and UNIXDue to a bug in the pear installer you should install the PDO package manually using the following steps: Follow the same steps to install and enable the PDO drivers of your choice. Download the PDO package to your local machine: bash$ wget http://pecl.php.net/get/PDO
Determine your PHP bin directory. If your PHP 5 CLI binary lives at /usr/local/php5/bin/php then the bin dir is /usr/local/php5/bin. Set your path so that your PHP bin directory is at the front: export PATH="/usr/local/php5/bin:$PATH"
Manually build and install the PDO extension: bash$ tar xzf PDO-0.2.tgz bash$ cd PDO-0.2 bash$ phpize bash$ ./configure bash$ make bash$ sudo -s bash# make install bash# echo extension=pdo.so >> /usr/local/php5/lib/php.ini
使用pdo最好是用php5.1.x
[root@tovy PDO]# phpize -bash: phpize: command not found [root@tovy PDO]# 怎么办,请高手帮下忙,还有如果我改用php5.1.x但没有rpm包, 如果用源代码编译安装呢?
ashchen能给我讲一下为什么不建议用呢?
网上说可以比adodb的速度提高三倍,
而且我也主要是想边学边练,~~
关键能不能告诉我该怎么在linux下安装啊,谢谢你啦!
configure --help|grep pdo
看看,应该有的
是的怎么搞啊,[root@test error]# configure --help|grep pdo
-bash: configure: command not found
[root@test error]#我linux不熟,最近才搞的,
帮我再看看呢,
WindowsFollow the same steps to install and enable the PDO drivers of your choice. Windows users can download the extension DLL php_pdo.dll as part of the PECL collection binaries from http://www.php.net/downloads.php or a more recent version from a PHP 5 PECL Snapshot. To enable the PDO extension on Windows operating systems, you must add the following line to php.ini: extension=php_pdo.dll
Next, choose the other DB specific DLL files and either use dl() to load them at runtime, or enable them in php.ini below pdo_pdo.dll. For example: extension=php_pdo.dll
extension=php_pdo_firebird.dll
extension=php_pdo_mssql.dll
extension=php_pdo_mysql.dll
extension=php_pdo_oci.dll
extension=php_pdo_oci8.dll
extension=php_pdo_odbc.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
These DLL's should exist in the systems extension_dir. Linux and UNIXDue to a bug in the pear installer you should install the PDO package manually using the following steps: Follow the same steps to install and enable the PDO drivers of your choice. Download the PDO package to your local machine: bash$ wget http://pecl.php.net/get/PDO
Determine your PHP bin directory. If your PHP 5 CLI binary lives at /usr/local/php5/bin/php then the bin dir is /usr/local/php5/bin. Set your path so that your PHP bin directory is at the front: export PATH="/usr/local/php5/bin:$PATH"
Manually build and install the PDO extension: bash$ tar xzf PDO-0.2.tgz
bash$ cd PDO-0.2
bash$ phpize
bash$ ./configure
bash$ make
bash$ sudo -s
bash# make install
bash# echo extension=pdo.so >> /usr/local/php5/lib/php.ini
使用pdo最好是用php5.1.x
[root@tovy PDO]# phpize
-bash: phpize: command not found
[root@tovy PDO]#
怎么办,请高手帮下忙,还有如果我改用php5.1.x但没有rpm包,
如果用源代码编译安装呢?
pdo是一个模块,是直接编译这个模块?
http://community.csdn.net/Expert/topic/4338/4338855.xml?temp=.8305628