Installing MogileFS for PHP

Dependencies

To install MogileFS for PHP, a working C compiler, PHP >=5.2.x includes and  neon is required.

Installation

Download the latest release from  software.usrportage.de and unpack it. Change into the unpacked directory (mogilefs-0.x) and type phpize. Than the usual three step installation on UNIX systems is possible:

./configure
make
make install

To enable the module, load the mogilefs.so-file in the php.ini with the following statement:

extension=mogilefs.so

Testing the extension works

If the installation was successful, php -r "var_dump(extension_loaded('mogilefs'));" command should result in bool(true):