:: what is
please take a look at this.
:: [re]compiling php5 with pdo mysql
please take a look instructions on build php on centos before do this.
+ googleLinux
+ blackonsole
please take a look at this.
:: [re]compiling php5 with pdo mysql
please take a look instructions on build php on centos before do this.
[ root:downlad ]# wget http://nl2.php.net/get/php-5.3.0.tar.bz2/from/id.php.net/mirror:: testink
[ root:downlad ]# tar -xjf php-5.3.0.tar.bz2
[ root:downlad ]# cd php-5.3.0
[ root:php-5.3.0 ]# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-gd=/usr/local --with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib --with-freetype-dir=/usr/local --with-zlib-dir=/usr/local --with-mcrypt=/usr/local/bin/mcrypt --enable-mbstring --enable-ftp --with-pdo-mysql=/usr/local/mysql
[ root:php-5.3.0 ]# make && make install
[ root:php-5.3.0 ]# cp php.ini-production /usr/local/etc/php.ini
[ root:php-5.3.0 ]# vi /usr/local/etc/php.ini
; change this line
include_path = ".::/usr/local/lib/php"
[ root ]# php -m | grep pdo:: links
pdo_mysql
pdo_sqlite
+ googleLinux
+ blackonsole
Comments
Post a Comment