ntphpselector doesn't work on cPanel 11.52.2

cPanel plugin for php selection
Post Reply
Sajjad88
Posts: 0
Joined: Sat Jan 16, 2016 8:34 pm

ntphpselector doesn't work on cPanel 11.52.2

Post by Sajjad88 » Mon Jan 18, 2016 4:08 pm

Hello,

First, I wanna to say congratulation for this product, It's So useful as I
heard.

I decided to test your product on a VPS, So I installed a XEN VPS with the
CentOS 6.7 64bit and latest cPanel 11.52.2 includes php 5.6 and suphp
handler as default.

I exactly did run your commands which is mentioned on the page as follows:
https://www.nixtree.com/ntphp.php

But there are a few problems are as bellow. I ask you please check and let
me know how I can resolve them.

*1- When I compile php 5.3,5.4,5.5 I faced the following errors:*

5.3
============================
patching file configure
Hunk #1 succeeded at 75565 (offset 382 lines).
configure: warning: LDFLAGS=: invalid host type
configure: error: -L/usr/X11R6/lib64: invalid option; use --help to show
usage
COMPILE ERROR FOR 53
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

5.4
============================
patching file configure
Hunk #1 succeeded at 76409 (offset 1226 lines).
configure: error: unrecognized option: `-L/usr/X11R6/lib64'
Try `./configure --help' for more information
COMPILE ERROR FOR 54
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

5.5
============================
patching file configure
Hunk #1 succeeded at 74871 (offset -312 lines).
configure: error: unrecognized option: `-L/usr/X11R6/lib64'
Try `./configure --help' for more information
COMPILE ERROR FOR 55
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


Although I've read the following link but problems doesn't solved:
http://nixtree.com/forum/viewtopic.php?f=9&t=14013
http://nixtree.com/forum/viewtopic.php?f=9&t=9
http://nixtree.com/forum/viewforum.php? ... 3db7fba245


*2- ntphpselector icon is in cpanel account but when I click on that, it's
going to the following address:*
/frontend/paper_lantern/ntphpselector/index.live.php

Then faced this error:

HTTP error 404
The requested page was not found.
Possible reasons why you are seeing this page:
A bookmarked URL may have changed since you last visited.
The URL was entered incorrectly.
The URL was entered with inaccurate capitalization (URLs are case
sensitive).
Please re-check the URL you are trying to reach. (Go Back)

According to your solutions which is mentioned on the following links, I
went to "/usr/local/cpanel/base/frontend/paper_lantern/" and
"/usr/local/cpanel/base/frontend/x3/" but, there isn't any directory named
ntphpselector in both of these path!

http://www.webhostingtalk.com/showthread.php?t=1316839
http://nixtree.com/forum/viewtopic.php?f=5&t=6



*Server information is here:*
OS: CentOS 6.7 64bit
Default PHP: 5.6.17
Handler: SuPHP
Web Server: Apache 2.4.18
cPanel: 11.52.2 (build 2)


Look Forward to hearing with you :)
Sajjad Ebrahimi



steve
Site Admin
Posts: 3
Joined: Tue Mar 10, 2015 12:41 am
Contact:

Re: ntphpselector doesn't work on cPanel 11.52.2

Post by steve » Wed Jan 20, 2016 10:33 pm

Hello Sajjad,

Our development team is working on the integration of 5.6 with ntPHPselector. hopefully it will be released by tomorrow, if all tests go smoothly. Please watch our blog for the new release.

https://nixtree.com/blog/


Steve N
Support Staff
Nixtree Solutions
https://www.nixtree.com

Sajjad88
Posts: 0
Joined: Sat Jan 16, 2016 8:34 pm

Re: ntphpselector doesn't work on cPanel 11.52.2

Post by Sajjad88 » Mon Jan 25, 2016 12:31 pm

Thank you, But that seems there is no update on your Blog.



steve
Site Admin
Posts: 3
Joined: Tue Mar 10, 2015 12:41 am
Contact:

Re: ntphpselector doesn't work on cPanel 11.52.2

Post by steve » Mon Jan 25, 2016 6:59 pm

Hello,

We have noticed some errors with the new installer and working on it to fix it.


Steve N
Support Staff
Nixtree Solutions
https://www.nixtree.com

thenob
Posts: 0
Joined: Sat Mar 19, 2016 2:23 am

Re: ntphpselector doesn't work on cPanel 11.52.2

Post by thenob » Mon Mar 21, 2016 5:36 pm

I had the same problem.

REASON:
easyapache compiles php with:
'./configure' '--disable-fileinfo' '--disable-opcache'
'--enable-bcmath' '--enable-calendar' '--enable-ftp'
'--enable-gd-native-ttf' '--enable-libxml' '--enable-mbstring'
'--enable-pdo=shared' '--enable-sockets' '--enable-zip'
'--prefix=/usr/local' '--with-apxs2=/usr/local/apache/bin/apxs'
'--with-bz2' '--with-curl=/opt/curlssl/' '--with-freetype-dir=/usr'
'--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/'
'--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos'
'--with-libdir=lib64' '--with-libxml-dir=/opt/xml2/'
'--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr'
'--with-mysql-sock=/var/lib/mysql/mysql.sock'
'--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/usr'
'--with-openssl-dir=/usr' '--with-pcre-regex=/opt/pcre'
'--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-pic'
'--with-png-dir=/usr' '--with-xpm-dir=/usr' '--with-zlib'
'--with-zlib-dir=/usr' 'LDFLAGS= '-L/usr/X11R6/lib64''

When you strip-out the ' you got in the end:
--with-zlib-dir=/usr LDFLAGS= -L/usr/X11R6/lib64

However this should be:
--with-zlib-dir=/usr LDFLAGS='-L/usr/X11R6/lib64'


SOLUTION
The best solution is to use config.nice in the php-src, however that's a lot of work for the designers of the script.

WORKAROUND
** only when you are not in 64-bit (/usr/X11R6/lib64 shouldn't exist)
- download ntphpselector_manage_beta.sh
- edit line 40, from:
php-cli -i |grep configure|sed 's/Configure Command => //g' | sed "s/'//g" > /tmp/phpconf.txt
to
# php-cli -i |grep configure|sed 's/Configure Command => //g' | sed "s/'//g" > /tmp/phpconf.txt
php-cli -i |grep configure|sed 's/Configure Command => //g' | sed "s/'//g" |sed "s/LDFLAGS= -L\/usr\/X11R6\/lib64//" > /tmp/phpconf.txt



barnaclemotor
Posts: 0
Joined: Sat Oct 06, 2018 11:48 am

Re: ntphpselector doesn't work on cPanel 11.52.2

Post by barnaclemotor » Sat Oct 06, 2018 11:57 am

[quote=Sajjad88 post_id=19119 time=1453113501 user_id=5092]
Hello,

First, I wanna to say congratulation for this product, It's So useful as I
heard.

I decided to test your product on a VPS, So I installed a XEN VPS with the
CentOS 6.7 64bit and latest cPanel 11.52.2 includes php 5.6 and suphp
handler as default.

I exactly did run your commands which is mentioned on the page as follows:

But there are a few problems are as bellow. I ask you please check and let
me know how I can resolve them.

*1- When I compile php 5.3,5.4,5.5 I faced the following errors:*

5.3
============================
patching file configure
Hunk #1 succeeded at 75565 (offset 382 lines).
configure: warning: LDFLAGS=: invalid host type
configure: error: -L/usr/X11R6/lib64: invalid option; use --help to show
usage
COMPILE ERROR FOR 53
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

5.4
============================
patching file configure
Hunk #1 succeeded at 76409 (offset 1226 lines).
configure: error: unrecognized option: `-L/usr/X11R6/lib64'
Try `./configure --help' for more information
COMPILE ERROR FOR 54
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

5.5
============================
patching file configure
Hunk #1 succeeded at 74871 (offset -312 lines).
configure: error: unrecognized option: `-L/usr/X11R6/lib64'
Try `./configure --help' for more information
COMPILE ERROR FOR 55
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


*2- ntphpselector icon is in cpanel account but when I click on that, it's
going to the following address:*
/frontend/paper_lantern/ntphpselector/index.live.php

Then faced this error:

HTTP error 404
The requested page was not found.
Possible reasons why you are seeing this page:
A bookmarked URL may have changed since you last visited.
The URL was entered incorrectly.
The URL was entered with inaccurate capitalization (URLs are case
sensitive).
Please re-check the URL you are trying to reach. (Go Back)

According to your solutions which is mentioned on the following links, I
went to "/usr/local/cpanel/base/frontend/paper_lantern/" and
"/usr/local/cpanel/base/frontend/x3/" but, there isn't any directory named
ntphpselector in both of these path!

http://www.webhostingtalk.com/showthread.php?t=1316839


*Server information is here:*
OS: CentOS 6.7 64bit
Default PHP: 5.6.17
Handler: SuPHP
Web Server: Apache 2.4.18
cPanel: 11.52.2 (build 2)


Look Forward to hearing with you :)
Sajjad Ebrahimi
[/quote]


Thanks for the link.



Post Reply