Archive for the tag 'extensions'

SBDavid

Cpanel Standard PHP extensions

Standard PHP extensions

EasyApache has the ability to install, uninstall, and update several popular PHP extensions as part of the build process. When EasyApache runs, it will automatically determine which extensions are active in the main php.ini file at /usr/local/lib/php.ini.

Active extensions will automatically be selected in the EasyApache interface.

Rerunning EasyApache is not required in order to enable or disable the standard PHP extensions. cPanel now provides a tool called

/scripts/phpextensionmgr that can also be used for the installation or removal of PHP extensions.

For detailed information about this tool, run the following command:

/scripts/phpextensionmgr –help

Options for downloading PECL extensions

There are several options for downloading PECL extensions, such as:

The pecl install extname command downloads the extensions code automatically, so in this case there is no need for a separate download.

http://pecl.php.net/ The PECL web site contains information about the different extensions that are offered by the PHP Development Team. The information available here includes: ChangeLog, release notes, requirements and other similar details.

pecl download extname PECL extensions that have releases listed on the PECL web site are available for download and installation using the » pecl command. Specific revisions may also be specified.

SVN Most PECL extensions also reside in SVN. A web-based view may be seen at » http://svn.php.net/viewvc/pecl/. To download straight from SVN, the following sequence of commands may be used:

$ svn checkout http://svn.php.net/repository/pecl/extname/trunk extname

Installed SSI extensions are not detected by Plesk

SSI extensions are installed on the server but Plesk saying that the ‘Component is not installed’ in the component management page in Plesk.

You can fix this issue using the below steps.

1. In server

Start >> Control Panel >> Add/Remove programs >> Add/Remove Windows Components >> Application Server >> IIS >> World Wide Web service >> deselect the Server Side Includes option.

2. Once you done the above steps, restart all Plesk services and IIS Admin Service in service console.

3. In server

Start >> Control Panel >> Add/Remove programs >> Add/Remove Windows Components >> Application Server >> IIS >> World Wide Web service >> Select the Server Side Includes option.

4. Also make sure that Server Side Includes status as Allowed in IIS management.

5. Restart all Plesk services and IIS Admin Service in service console.

6. In Plesk

Main >> Server >> Component management >> Click the refresh button.

Now you can see SSI Component is installed in service section.