Wednesday, March 20, 2013

cpanel compiling php 5.4 modules

/usr/local/bin/phpize ./configure --with-php-config=/usr/local/bin/php-config make clean make make test make install this works well with mongodb Example for mongodb: git clone https://github.com/mongodb/mongo-php-driver.git cd mongo-php-driver /usr/local/bin/phpize ./configure --with-php-config=/usr/local/bin/php-config make clean make make test make install vi /usr/lib/php.ini add extension=mongo.so

No comments: