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:
Managing PHP 5.4 Extensions on Ubuntu
November 29, 2012 @ 11:08:44

In this new post to her site Lorna Mitchell shares a handy tip for those using Ubuntu (or a Debian-based distribution) about how to manage your PHP 5.4 extensions and the "php5enmod" tool.

My shiny new VPS* runs Ubuntu 12.10 (official subtitle: Quantal Queztal. Local nickname: Quirky Kestrel) and therefore has PHP 5.4 installed. It's very new so every command I type is missing, and today I realised that included a PECL module (pecl_http, of course). [...] What's happened here is that all debian-flavoured unixes have adopted this standard for their PHP 5.4 packages, so if you're using debian, ubuntu, or any of their relatives with PHP 5.4, you'll see a directory structure like this. When you add a module to PHP, you'll add a file to the mods-available directory enabling the module and adding any config specific to it.

She points out that the "phpenmod" command, accompanied by the PECL extension to install, is the newer way to correctly get these extensions downloaded and configured correctly.

0 comments voice your opinion now!
manage extension ubuntu php5enmod install linux


blog comments powered by Disqus

Similar Posts

Kevin van Zonneveld's Blog: Make SSH connections with PHP

Ilia Alshanetsky's Blog: Taking suggestions for the filter extension

HowTo Forge: Fedora 8 Server Setup - LAMP, Email, DNS, FTP, ISPConfig - Page 6

Ben Ramsey\'s Blog: PECL Input Filter

Christopher Jones' Blog: Casting PL/SQL arrays as REF CURSORS for Ruby (and PHP)


Community Events

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


api series interview voicesoftheelephpant unittest security framework release laravel5 library development introduction opinion language podcast laravel version php7 community extension

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