![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||||||||
Compiling shared PECL extensions with PEARPEAR makes it easy to create shared PHP extensions. Using the pear command, do the following:
That will download the source for extname, and compile it on the system. This results in an extname.so file that may then be included in php.ini In case the systems preferred_state is set higher than an available extname version, like it's set to stable and the extension is still in beta, either alter the preferred_state via pear config-set or specify a specific version of the PECL extension. For example:
Regardless, pear will copy this extname.so into the extensions directory. Adjust php.ini accordingly. Copyright © 1997 - 2007 by the PHP Documentation Group. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later. A copy of the Open Publication License is distributed with this manual, the latest version is presently available at http://www.opencontent.org/openpub/. Please see full copyright text at http://www.php.net/manual/en/copyright.php Original version of the above documentation is available at http://www.php.net/manual/en/ |
|