Page 1 of 1

Compiling a shared PECL extensions with phpize

Posted: Fri Apr 18, 2008 8:08 am
by hiddenidentity
Hey,

I was hoping to give a crack at compiling APC on my CentOS 4/Plesk/PHP 5.2.5 box to an *.so extension to plonk into php.ini

Looking at this page...

http://us.php.net/manual/en/install.pecl.phpize.php

Will the make script generated by phpize screw up anything around with regards to the ART PHP 5.2.5 install? Or does this run in isolation, simply creating the new *.so extension in the target folder?


Thanks

Posted: Fri Apr 18, 2008 8:30 am
by scott
I dont think so, that all looks OK to me.

Posted: Sat Apr 19, 2008 1:28 pm
by hiddenidentity
Thanks.

For those playing at home it does work fine running, phpize, configure and make. you then end up with a resulting *.so extension which you can copy to the right place and drop into your php.ini. does not effect the PHP install itself.