title: The scl Utility created at: Thu Nov 28 2024 10:43:01 GMT+0000 (Coordinated Universal Time) updated at: Sat Feb 08 2025 14:22:44 GMT+0000 (Coordinated Universal Time) --- # The scl Utility # Overview To manage software packages in a Software Collection Library (SCL) environment via the command line, use the `scl` utility. EasyApache 4 (EA4) uses SCLs for PHP versions. SCLs allow multiple concurrent software packages to reside on your file system. You can use this utility if you run multiple websites that require different PHP versions. For more information about EasyApache, read our [About EasyApache 4](https://docs.cpanel.net/ea4/basics/about-easyapache-4/) documentation. # The `scl` Utility The `scl` utility uses the following syntax: ```bash scl option action library 'command' ``` | Variable | Description | Possible values | Example | | ----------- | ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | | `option` | The desired option. | - `-l`,` --list` — List the server’s available software package collections. <br />- `-h`, `-help` — Display the `scl` utility’s help output. | `-l` | | `action` | The action to perform. | - `enable` <br />- `register` <br />- `deregister` | `enable` | | `library` | The SCL. | - A valid PHP software collection. <br />- An absolute filepath to the software collection.!! Important: <br />If you use the register or deregister variable, you **must** pass the SCL’s absolute filepath. The SCLs reside in the `/opt/cpanel/ea-phpxx/root/usr/bin` directory, where `xx` represents the `ea-php` version. | `ea-php70` | | `'command'` | The command to run in the SCL environment. | For a list of valid commands, run the `php --help` or `pecl --help` commands. | `'php -m'` | # Example To view the `ea-php70` SCL modules, run the following command: ```bash scl enable ea-php70 'php -m' ``` The output will resemble the following example: ### View ```bash [PHP Modules] bcmath calendar Core ctype curl date dom filter ftp gd hash imap json libxml mcrypt mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql pdo_sqlite Phar posix readline Reflection session SimpleXML sockets SPL sqlite3 standard tokenizer wddx xml xmlreader xmlwriter xsl zlib ```