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

Sean Coates' Blog: php-5.2.5 on Leopard

Rob Allen: Injecting configuration into a ZF2 controller

Robert Basic's Blog: A Zend_Captcha example

Slashdot.org: Extending and Embedding PHP

SitePoint PHP Blog: PHP Extension Development with PHP-CPP: Object Oriented Code


Community Events





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


podcast introduction tips language package framework deployment series unittest laravel zendserver api update install symfony release interview opinion community library

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