- Updated September 27, 2022 PHP Installation Failing If you’re experiencing PHP build failing you need to check the following requirements in order to fix the issue 1st case : you’ve low on RAM we recommend adding at…
- Updated February 6, 2022 PHP Defender – Snuffleupagus PHP Defender – Snuffleupagus This is a PHP security module that has a custom configuration for each PHP version Supported PHP versions are PHP 7 and PHP 8. Configuration locations…
- Updated October 28, 2020 Apache Proxy Timeout with PHP-FPM Apache has a default timeout of 60 seconds, you can increase it by creating a custom template in cwp. Follow this basic steps to increase the php timeout when using…
- Updated September 7, 2020 How to Configure PHP options under CWP-Admin and CWP-User In cwp there are two PHP configuration files i.e. “php.ini” and “.user.ini” for configuring user side PHP values/options. For ADMIN/root you can always adjust PHP options in respected PHP modules…
- Updated September 7, 2020 Install MSSQL Freetds extension with PHP 5.x.x These PHP functions allow you to access MS SQL Server database by using freetds. This tutorial will work with php 5.3.29 – php 5.6.40 only. For php 7.x use sqlsrv…
- Updated August 17, 2020 Install MSSQL Freetds extension with PHP 5.x These PHP functions allow you to access MS SQL Server database by using freetds. This tutorial will work with php 5.3.29 – php 5.6.40 only for php 7.x use sqlsrv…
- Updated May 6, 2020 How to disable dangerous php functions These functions can be potentially dangerous in some scenarios for the security of your scripts and server you can always disable them. Run the below command for the PHP versions…
- Updated April 16, 2020 Install Composer – PHP dependency manager Composer can be installed in your server quickly and it’s very easy to install: First update the server : yum -y update Switch into the /usr/local/src directory. cd /usr/local/src Install…
- Updated October 14, 2019 How to disable php/php-fpm selector If you don’t have CWPpro then you would need to deactivate php/php-fpm selector for all your sites. PHP-FPM Selector in CWP.admin left menu go to WebServer Settings –> Select WebServers…
- Updated August 2, 2019 How many php versions I can run on the single server With cwp we give you these 3 main tools to run php in many different ways. – PHP Switcher – PHP Selector – PHP-FPM Selector PHP Switcher This is the…
- Updated November 21, 2020 PHP open_basedir How to enabled PHP open_basedir in CWP ** Note this is only for PHP-CGI We have two options – global config, one config file in the include folder /usr/local/php/php.d/ and…
- Updated May 24, 2018 DSO – PHP Handler for CWP DSO – PHP Handler for CWP Run as an Apache module, DSO also referred to as mod_php, is one of the oldest PHP handlers and its major benefits are speed…
- Updated August 6, 2019 MSSQL extension for PHP7 The SQLSRV extension allows you to access Microsoft SQL Server and SQL Azure databases when running PHP on Windows. The 3.0 release of the driver supports SQL Server, beginning with…
- Updated January 10, 2016 Install ssh2 php extension Instructions for installation of PHP extension ssh2. cd /usr/local/src wget http://www.libssh2.org/snapshots/libssh2-1.6.1-20160109.tar.gz tar -zxvf libssh2-1.6.1-20160109.tar.gz cd libssh2-1.6.1-20160109 ./configure --with-php-config=/usr/local/bin/php-config make make install cd /usr/local/src wget http://pecl.php.net/get/ssh2-0.12.tgz tar -zxvf ssh2-0.12.tgz cd ssh2-0.12…
- Updated September 26, 2015 How to install ffmpeg-php We have made a simple ffmpeg-php installer for CentOS servers running CWP. To install FFMPEG and ffmpeg-php in your CWP, go to PHP Settings –> FFMPEG Installer. Installation will run…
- Updated August 25, 2021 php.ini per folder Video instructions for custom php.ini All server with CWP can have custom php.ini file set per user account or per folder. User can manually create php.ini file and add values…
- Updated June 27, 2015 PHP compile errors Compiling PHP with tidy support ADDED FLAGS IN COMPILER: –with-tidy COMPILE ERROR: configure: error: Cannot find libtidy SOLUTION: yum install libtidy libtidy-devel Additional Error solutions 20+ common PHP compilation errors…
- Updated August 20, 2020 PHP Version Switcher Now CWP has a PHP Switch option where you can very easily switch to other PHP versions and recompile it with desired modules. How to use it? – Click on…
- Updated December 6, 2021 PHP Selector From version 0.9.8 all CWP servers have a CWP PHP Selector which can install all PHP versions with a single click. Using CWP PHP selector you can use a different…