php5の環境整えてみる
xdebug
$ tar xzvf xdebug-2.0.0beta5.tgz $ cd xdebug-2.0.0beta5/ $ /path/to/phpize $ ./configure --enable-xdebug --with-php-config=/path/to/php-config $ make $ sudo cp ./module/xdebug.so /path/to/extension/.
php.iniに追加
zend_extension="/path/to/xdebug.so"
pear
$ sudo pear upgrade-all $ pear config-set preferred_state 'beta' $ sudo pear install -a PHPUnit2 PhpDocumentor
Phing
$ pear channel-discover pear.phing.info $ pear install phing/phing
FullPackage
$ tar xzvf phing-2.2.0RC2.tar.gz.tar $ sudo mv xdebug-phing-2.2.0RC2 /path/to/other $ sudo ln -s /path/to/phing/bin/phing /usr/local/bin/phing $ phing -version
PDO
http://jp.php.net/manual/ja/ref.pdo.php
phpビルド時
$ ./configure --with-zlib --enable-pdo=shared --with-pdo-hoge
or
$ sudo pear install pdo-hoge
or
$ sudo pecl install pdo-hoge
or
$ phpize $ ./configure --option $ make install
で、
php.iniに追加
extension=/path/to/pdo-hoge.so