Hi,
I am getting COMPILE ERROR FOR 52 when trying to install on my cPanel/WHM VPS
OS: CentOS 6.8 x86_64 virtuozzo
Default PHP is 5.5.36
php5-concurrent.patch
php5-binary-rename.patch
php5-use_embedded_timezonedb.patch
php5-png_check_sig.patch
php5-CVE-2011-4885.patch
php5-libxml.patch
php5-freebsd-ldflags.patch
php5-ming-0.4.2.patch
php5-iconv-ldflags.patch
php5-conftest-tmpnam.patch
php5-fixed-lib64.patch
php5-mail-header.patch
php5-CVE-2012-0830.patch
patching file main/main.c
Hunk #1 succeeded at 436 (offset 1 line).
patching file main/php_globals.h
Hunk #1 succeeded at 160 with fuzz 2.
patching file main/php_variables.c
patching file main/php_variables.c
patching file configure
patching file configure
patching file configure
patching file acinclude.m4
patching file aclocal.m4
patching file configure
Hunk #388 FAILED at 109428.
1 out of 396 hunks FAILED -- saving rejects to file configure.rej
patching file configure.in
patching file configure
patching file ext/dom/documenttype.c
Hunk #1 succeeded at 215 (offset 10 lines).
patching file ext/dom/node.c
Hunk #1 succeeded at 1950 (offset 55 lines).
patching file ext/simplexml/simplexml.c
Hunk #1 succeeded at 1343 (offset -44 lines).
patching file ext/standard/mail.c
patching file ext/ming/ming.c
patching file ext/ming/php_ming.h
patching file ext/gd/libgd/gd_png.c
patching file ext/date/lib/parse_tz.c
Hunk #3 succeeded at 228 (offset 6 lines).
Hunk #4 succeeded at 695 (offset 6 lines).
Hunk #5 succeeded at 817 (offset 6 lines).
configure: error: can only configure for one host and one target at a time
COMPILE ERROR FOR 52
Exiting Installation
/bin/cp: cannot stat `/usr/local/apache/conf/includes/pre_main_global.conf.ntphp .bak': No such file or directory
`/opt/suphp/etc/suphp.conf.ntphp.bak' -> `/opt/suphp/etc/suphp.conf'
Please open a new thread at http://nixtree.com/forum/ if you meet with any issues
[root@kate src]#
COMPILE ERROR FOR 52
cPanel Server Management
@ 30$ Onwards
@ 30$ Onwards
Re: COMPILE ERROR FOR 52
Do you need php 5.2 version or just other versions ? If you need 5.2 version, then you might need to contact support team and see if they can install manually and get it incorporated in the ntphp selector and install other versions.
-
- Posts: 0
- Joined: Fri Nov 04, 2016 4:50 am
Re: COMPILE ERROR FOR 52
Hello,
From the error message you have mentioned we can see that the ntphpselector plugin installation was failed due to invalid PHP handler on your server. ntPHPselector plugin require SuPHP handler on the system. You can switch the handler from the WHM access of your server.
Resolving www.nixtree.com... 198.235.134.108
Connecting to www.nixtree.com|198.235.134.108|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13230 (13K) [application/x-sh]
Server file no newer than local file ântphpselector_manage.shâ
[root@jupiter src]# sh ntphpselector_manage.sh recompile 4
Cleaning left-over files if you have attempted to run this script previously
SuPHP support is not enabled on this server. Please enable SuPHP support befor running this script
Installation Failed!!!
[root@jupiter src]#
I ahve already selected suphp in WHM
so why this error
From the error message you have mentioned we can see that the ntphpselector plugin installation was failed due to invalid PHP handler on your server. ntPHPselector plugin require SuPHP handler on the system. You can switch the handler from the WHM access of your server.
Resolving www.nixtree.com... 198.235.134.108
Connecting to www.nixtree.com|198.235.134.108|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13230 (13K) [application/x-sh]
Server file no newer than local file ântphpselector_manage.shâ
[root@jupiter src]# sh ntphpselector_manage.sh recompile 4
Cleaning left-over files if you have attempted to run this script previously
SuPHP support is not enabled on this server. Please enable SuPHP support befor running this script
Installation Failed!!!
[root@jupiter src]#
I ahve already selected suphp in WHM
so why this error
Re: COMPILE ERROR FOR 52
Hi
Do you have Ea3 or Ea4 version of eay apache ?
Do you have installed ntphp selector installed earlier as the command you are trying it to recompile php 5.4 version. ?
Also get me the below details as well
====
Run the following commands and update the forum with the output.;
grep '' /etc/redhat-release /usr/local/cpanel/version /var/cpanel/envtype ; grep CPANEL= /etc/cpupdate.conf ;
httpd -v ; php -v ; mysql -V ;arch ;
php –m
/usr/local/cpanel/bin/rebuild_phpconf --current
=========
Do you have Ea3 or Ea4 version of eay apache ?
Do you have installed ntphp selector installed earlier as the command you are trying it to recompile php 5.4 version. ?
Also get me the below details as well
====
Run the following commands and update the forum with the output.;
grep '' /etc/redhat-release /usr/local/cpanel/version /var/cpanel/envtype ; grep CPANEL= /etc/cpupdate.conf ;
httpd -v ; php -v ; mysql -V ;arch ;
php –m
/usr/local/cpanel/bin/rebuild_phpconf --current
=========
Edward N
Support Staff
Nixtree Solutions
Managed Backups || Server Management
https://www.nixtree.com
Support Staff
Nixtree Solutions
Managed Backups || Server Management
https://www.nixtree.com