News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Lorna Mitchell:
Compiling PHP Extensions
August 29, 2014 @ 09:28:42

Lorna Mitchell has posted a quick guide to compiling PECL extensions to her site today. This is for those users on unix-based systems that might need to manually compile with some custom options (or may be working on your own extension and may just need to test it).

There are lots of reasons why you might like to compile your own PHP extensions. [...] I haven't seen a really approachable guide anywhere, we tend to speak of extensions in hushed tones, and actually it isn't particularly tricky so here is my quick how-to guide.

The process is relatively simple for those familiar with the command line and the steps involved in compiling software. There's some special PHP-only steps you'll have to take before compiling the code to make sure it's ready to be a PHP extension. Then it's up to the usual configure+make_make install to ensure the .so file is correctly generated.

0 comments voice your opinion now!
compile extension tutorial phpize module

Link: http://www.lornajane.net/posts/2014/compiling-php-extensions

blog comments powered by Disqus

Similar Posts

Marcelo Gornstein's Blog: Sniffing in PHP using libpcap: Thank you SWIG!

NETTUTS.com: Getting Clean With PHP

Lorna Mitchell's Blog: ArrayAccess vs ArrayObject

Christopher Jones' Blog: Upgrade PHP with Oracle Application Server on Linux

The Bakery: Seven New Articles/Tutorials


Community Events

Don't see your event here?
Let us know!


version opinion community series xdebug framework api example introduction voicesoftheelephpant release laravel5 extension laravel php7 interview language install unittest podcast

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework