Category Archives: ntPHPselector

18Jan/18

ntPHPSelector version 4.2.0 released

New version of ntPHPselector with 7.2 support is released. It is added with email notification for any license check related errors. Server owner/administrator needs to update the contact email address via ntPHPselector WHM front end. Also added fix for the scanning of additional ini files for php 5.3

Features
[+] Fixed the additional scanning of ini files.
[+] Alert for license error
[+] Added 7.2 support

Current users will get instructions for updating the plugin from the plugin support department. New users can order the service from the following page.

https://www.nixtree.com/nt-php-selector.php

Stop using custom php.ini in ntPHPselector.

I am writing this post to give an idea about how to use custom php.ini and stop using custom php.ini in ntPHPselector. Since we got some request form some of the customers about the same, so I am adding this as blog for others to check.

How to use custom php.ini

There are several instances that may require you to modify a setting in the php.ini file for your website, such as increasing the PHP upload limit. The customer need to copy the default php.ini ( collect it from the php info page ) and alter the values based on the site requirements.

Some of the disadvantages of using custom php.ini

You lose the ability to select the php version via the control panel, if the version is not specific to the respective php version, it may cause errors.

Any changes we made on the global php.ini will not be reflected on your site

Changes you made to php.ini will not be applied instantly

Some of the web hosts will not allow to use custom php.ini. Since allowing this feature will cause resource usage abuse, which include performance issue with the server too. So they forced to disable this feature.

In ntPHPselector, you can disable the custom php.ini by un commenting the following entries under the section “phprc_paths”. By default, there is no commented entry for 5.3 in the suphp.conf. You need add the following entry manually, since it is compiled by you using ntPHPSelector interface.

[phprc_paths]
application/x-httpd-ea-php54=/opt/cpanel/ea-php54/root/etc
application/x-httpd-ea-php55=/opt/cpanel/ea-php55/root/etc
application/x-httpd-ea-php56=/opt/cpanel/ea-php56/root/etc
application/x-httpd-ea-php70=/opt/cpanel/ea-php70/root/etc
application/x-httpd-ea-php71=/opt/cpanel/ea-php71/root/etc

; entry related with PHP 5.3
application/x-httpd-php53=/opt/cpanel/nt-php53/root/etc

Restart the httpd service and check whether it is loading or not.

If you need further customization to the plugin, you can contact our support and we will help you. Also you can inform us the feature requests or bug reports

20Jun/17

Recompile PHP 5.3 in ntPHPselector version 4

ntPHPselector plugin allows user to select preferred PHP version per directory on the same domain. Our new ntPHPselector version 4  released for the cPanel servers with EasyApache 4 version, which support php versions 5.3, 5.4, 5.5, 5.6, 7.0 and 7.1. By default 5.3 is disabled. You need to recompile it after enabling it from “Settings” tab after the installation.

ntPHPselector manually recompile the php version 5.3, since it is removed from EasyApache 4. You need to recompile the php version 5.3 using from your end using the interface available inntPHPselector WHM module.  Continue reading

06Apr/17

ntPHPSelector version 4.1.0 released

New version of ntPHPselector with 5.3 support is released. It is added with a WHM module for recompilation of 5.3 and listing the instances of custom php used.

Features
[+] Added 5.3 Support.
[+] WHM Interface available for listing the instances of custom PHP used.
[+] 5.3 Recompilation option available via WHM interface.
[+] Recompilation logs can be view from the WHM interface
[+] Compatible with Centos 6 and Centos 7.

The php version 5.3 successfully recompiled with Centos 6 and Centos 7 operating systems.  Missing of some devel packages or any other custom environments in the server may cause the failure of php recompile.  And we suggest to do the troubleshoot in recompilation with the help of an experienced hand.  For recompilation and installation support, please open a ticket with our support.

Current users can upgrade to the new version, by contacting the support.

Migrate EasyApache 3 to EasyApache 4 and ntPHPselector Installation

Here I am  discussing the migration of Easyapache 3 to Easyapache 4 and the ntPHPselector installation ( version 4 )and the things taken care while installing the plugin. The Migration section of WHM’s EasyApache 4 interface (Home >> Software >> EasyApache 4) displays your system’s version of EasyApache and allows you to migrate to and from EasyApache 3 (EA3) and EasyApache 4 (EA4). Continue reading

19Jan/17

ntPHPSelector version 4.0.0 released

New version of ntPHPselector released and it support easyapache version 4 and unfortunately it is not work with older easyapache version 3.

Features
[+] Support Easyapache 4
[+] Support all PHP versions, available in cPanel Multi-PHP
[-] Do not work with Easyapache 3

If your server is still using Easyapache 3. You can still use the  old ntPHPselector  plugin and it is still available.

10Feb/16

ntPHPselector :: Released v3.0.0 Beta

The new version of ntPHPselector is ready for Centos 6 servers. It is not compatible with Centos 7 servers. If you are using Centos 6, you can update the plugin to the latest version using the following commands.

#Removed, since new version is released Click here

cd /usr/local/src
wget -N https://nixtree.com/download/free/ntphpselector_manage_beta.sh
sh ntphpselector_manage_beta.sh update

It will install the new version ( 5.6 ) and update the other version to the latest release. So make sure to run this in screen and it take time to complete, since it reuqire to recompile/update all the php versions installed in the server. Continue reading

15Feb/15

Prevent .htaccess file modification while running easyapache

Most of the time, the recompilation process of Apache/php with Easyapache with WHM/cPanel server will be effected the users’ .htaccess file. Most probably the entries like “AddHandler” will be commented state.

We can prevent the .htaccess file modification from the WHM tweak settings.

In WHM-> Server Configuration -> Tweak Settings -> System
set
Depth to recurse for .htaccess checks = 0