Mark_CFH

Well-Known Member
Apr 2, 2013
64
0
6
cPanel Access Level
Root Administrator
I've noticed that in cPanel, users have the ability to select their preferred php version. However, when clients click on this icon, it takes them to a 404 not found page.

How can I get this fixed?

(server info)
Code:
/etc/redhat-release:CentOS release 6.7 (Final)
/usr/local/cpanel/version:11.52.0.17
/var/cpanel/envtype:standard
CPANEL=release
Server version: Apache/2.2.27 (Unix)
Server built:   Jun 12 2014 01:42:41
Cpanel::Easy::Apache v3.24.19 rev9999
PHP 5.4.29 (cli) (built: Jun 12 2014 01:45:07)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube Ltd., and
    with Zend Guard Loader v3.3, Copyright (c) 1998-2013, by Zend Technologies
mysql  Ver 14.14 Distrib 5.5.45, for Linux (x86_64) using readline 5.1
 

Metro2

Well-Known Member
May 24, 2006
585
98
178
USA
cPanel Access Level
Root Administrator
Are you using the ntPHPSelector plugin by any chance? I've read that ntPHPSelector will give a 404 if you're using a custom theme, or possibly any theme other than the X3 or Paper Lantern default themes. That info could be outdated, but last I knew ntPHPSelector will produce a 404 with custom theme (but there is a workaround, whereby copying the plugin folder from default theme to your custom theme).
 
Last edited:

NixTree

Well-Known Member
Aug 19, 2010
413
5
143
Gods Own Country
cPanel Access Level
Root Administrator
Twitter
For any one still having this issue , you can use the below commands to fix it

Run the following commands to add the plugin to paper lantern theme

cd /usr/local/src
wget - Removed -
/usr/local/cpanel/scripts/install_plugin ntphp_paperlantern.tar.gz
cp -pvr /usr/local/cpanel/base/frontend/x3/ntphpselector /usr/local/cpanel/base/frontend/paper_lantern/
 
Last edited by a moderator: