https://github.com/euskadi31/eselect-php-ext
PHP extensions module for Gentoo eselect
https://github.com/euskadi31/eselect-php-ext
Last synced: 3 months ago
JSON representation
PHP extensions module for Gentoo eselect
- Host: GitHub
- URL: https://github.com/euskadi31/eselect-php-ext
- Owner: euskadi31
- Created: 2013-08-06T14:46:51.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-08-06T18:56:02.000Z (almost 12 years ago)
- Last Synced: 2025-01-19T18:49:24.611Z (5 months ago)
- Size: 121 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Gentoo eselect PHP Extentions module
====================================Activate and Deactivate php extensions on Gentoo.
Install
-------Copy the `php-ext.eselect` file in the folder `/usr/share/eselect/modules/`
Usage
-----Manage your php extensions by module (cli, fpm, cgi, apache2) and version (php 5.3, php 5.4 and php 5.5)
~~~shell
localhost ~ # eselect php-ext
Usage: eselect php-extStandard actions:
help Display help text
usage Display usage information
version Display version informationExtra actions:
list
Lists available php extensions installs for a module
module one of cli apache2 fpm cgi
php-version PHP version (5.5, 5.4, 5.3) By default uses the activated php version
set
Sets a php extensions for a module
module one of cli apache2 fpm cgi
target Target name or number (from the 'list' action)
php-version PHP version (5.5, 5.4, 5.3) By default uses the activated php version
unset
Unsets a php extensions for a module
module one of cli apache2 fpm cgi
target Target name or number (from the 'list' action)
php-version PHP version (5.5, 5.4, 5.3) By default uses the activated php version
~~~Lists PHP extensions for cli module (php5.4 is activate by `eselect php`)
~~~
localhost ~ # eselect php-ext list cli
PHP Version : php5.4
[1] geoip *
[2] http *
[3] xdebug
~~~Lists PHP extensions for cli module and php 5.5 version
~~~
localhost ~ # eselect php-ext list cli 5.5
PHP Version : php5.5
[1] opcache *
~~~Lists PHP extensions for fpm module
~~~
localhost ~ # eselect php-ext list fpm
PHP Version : php5.4
[1] geoip *
[2] http
[3] xdebug *
~~~Activate xdebug extension on activate PHP
~~~shell
eselect php-ext set cli xdebug
~~~Activate xdebug extension on PHP version
~~~shell
eselect php-ext set cli xdebug 5.4
~~~Deactivate http extension on activate PHP
~~~shell
eselect php-ext set cli http
~~~Deactivate http extension on PHP version
~~~shell
eselect php-ext set cli http 5.4
~~~