How i loathe PECL – At first, simple plain straight out hate. after 12 hours, it was loathe (with some time to sleep hahaha)
So, the aim was to install the dio extension to php 5.2 – PHP installed via repo.
Base server is a CentOS x64 server, PHP installed from the utter ramblings repo (thanks Jason!)
So, how i did it:
I started with “pecl install dio” – that ended in tears
[[email protected] /]# pecl install dio
Failed to download pecl/dio within preferred state “stable”, latest release is version 0.0.4RC4, stability “beta”, use “channel://pecl.php.net/dio-0.0.4RC4” to install
[[email protected] /]#
Had to go a very round about way
Here is where we put a disclamer.
!!!!!!This worked for me, it may not to you. I hold no repsonsility if it or you bork the system!!!!!!
- Download dio and extract the files to a folder. have the main folder and the package.xml file outside of it
- cd into the directory and run:
/usr/bin/phpize ./configure –enable-dio –with-php-config=/usr/local/php
- now run:
- now run:
And place just these 2 lines in it
; Enable dio extension module
- restart apache (/etc/init.d/httpd restart)
Should be good as gold, well, it worked for me!
Hope this helps someone 🙂
oh, btw! Merry Christmas, and Happy New Year to everyone 🙂