Author Topic: PHP Selector  (Read 124341 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
Re: PHP Selector
« Reply #45 on: December 24, 2018, 01:12:25 PM »
Not working for me, and I just got PRO just for this feature btw. That htaccess code has no effect at all and I have installed all php versions and tried with all of them.

fixed it!

WebServer Settings>WebServers Domain Conf

Select Username > View /Edit Configuration

I Changed the first dropdown to php-cgi and not the htaccess addhandler works like a charm!

Offline
***
Re: PHP Selector
« Reply #46 on: January 15, 2019, 06:46:42 PM »
Build Completed
###################


Error:Can't add notification!              ???????????????????????????


Offline
*
Re: PHP Selector
« Reply #47 on: January 15, 2019, 07:40:31 PM »
you probably have some old notifications in the panel about php build so you can't add duplicate
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
***
Re: PHP Selector
« Reply #48 on: January 15, 2019, 08:43:34 PM »
What to do?
In the PHP selector, I had an alternate version PHP 5.6.38, but I also had a message that there is a new one, I chose 5.6.4 and wanted to refresh by pressing the button Start Compiler, the result you can see here, there is no new version 5.6.4, not the old version 5.6.38 also ...

http://prntscr.com/m7ngjm

What to do?
« Last Edit: January 15, 2019, 08:46:32 PM by venty »

Offline
***
Re: PHP Selector
« Reply #49 on: January 16, 2019, 06:46:41 AM »
pls, help...

Online
*
Re: PHP Selector
« Reply #50 on: January 16, 2019, 07:17:05 AM »
Once you have an old version installed properly, it should show up as a green button with the installed version number and if an update is available it will show up also as a button mentioning "upgrade available"

If you have no green button showing up, it means you need to install the desired version first.

Offline
***
Re: PHP Selector
« Reply #51 on: January 16, 2019, 09:00:58 AM »
thanks for the answer, but here is the second option, I have no version installed ... or more precisely ...

I had a old version installed and tried to upgrade it but it did not work, and then I deleted the old version with the link "delete" and tried to install again with PHP selector the cleaner version, but again it did not work ...

when I go and uncover Contents of File: /var/log/php-selector-rebuild.log at the end I see it, what is in the picture below:

http://prntscr.com/m7uaf7

BR
Venty

Offline
***
Re: PHP Selector
« Reply #52 on: January 16, 2019, 09:48:56 AM »
you probably have some old notifications in the panel about php build so you can't add duplicate

?!?

Offline
***
Re: PHP Selector
« Reply #53 on: January 16, 2019, 10:13:53 AM »
@venty paste full log (use pastebin due large log file) /var/log/php-selector-rebuild.log
GamePanel and TeamspeakManager Modules source codes are for SALE, PM me!

Offline
***
Re: PHP Selector
« Reply #54 on: January 16, 2019, 10:54:24 AM »
what should I use to pаste the full log?

Offline
***
Re: PHP Selector
« Reply #55 on: January 16, 2019, 04:41:19 PM »
https://pastebin.com/  because that log is large and you won't be able to paste it full here on the forum
GamePanel and TeamspeakManager Modules source codes are for SALE, PM me!

Offline
***
Re: PHP Selector
« Reply #56 on: January 17, 2019, 10:51:53 AM »
Hi,

The problem was found in the ICU version - because of the use of prestashop, I had to compile the latest version of ICU,  version 63.1...

I did so by following and applying the help my colleagues gave to the following address:

http://forum.centos-webpanel.com/php/update-icu-system-package-and-the-intl-php-extension/msg20852/#msg20852

and more precisely, in the following terms:

Quote
[root@cwp7 source]# yum list available | grep libicu
libicu.i686                               50.1.2-15.el7                  base
libicu-devel.i686                         50.1.2-15.el7                  base
libicu-doc.noarch                         50.1.2-15.el7                  base

Quote
[root@cwp7 ~]# icuinfo | grep version
    <param name="version">50.1.2</param>
    <param name="version.unicode">6.2</param>
    <param name="cldr.version">22.1.1</param>
    <param name="tz.version">2012j</param>


Well 50.1.2 the latest version of icu available for centos 7 base repository.

If you need any other version then you need to compile it from source (http://download.icu-project.org/files/icu4c/).

So lets take 62.1 version and compile it.


Quote
cd /usr/local/src
wget http://download.icu-project.org/files/icu4c/62.1/icu4c-62_1-src.tgz
tar -xvf icu4c-*.tgz
cd icu/source/
sed -i '/#define __UCONFIG_H__/a #define UCONFIG_ENABLE_PLUGINS 1' common/unicode/uconfig.h
./configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib64 --datadir=/usr/share --enable-plugins
make -j4 && make install

Quote
[root@cwp7 source]# icuinfo | grep version
    <param name="version">62.1</param>
    <param name="version.unicode">11.0</param>
    <param name="cldr.version">33.1</param>
    <param name="tz.version">2018e</param>

More compiling options can be found inside "configure" and you can use as per your need.

This version of ICU works with PHP 7 and later, but it did not work with PHP 5.6.38 - 40 ... and when compiling with the PHP selector does not get ...
When removed the "INTL" from option list, the version 5.6.40 is installed without problems ...

With PHP Switcher I have installed a version of PHP 7.2.14 and there things are ok ...

Before I changed the ICU version to 63.1 with the other PHP-FPM selector I have compiled a version of PHP 5.6.38 and it is still active and uses the old version of ICU 50.1

This means I have both ICU versions, but when compiling an older version of a PHP, for example, 5.6.38 or 5.6.40 should be said to use the older ICU or maybe in the compilation of the PHP and choosing the "INTL" module should be told to which version of the ICU should be compiled ...

Thanks in advance!

BR

Venty

Offline
*
Re: PHP Selector
« Reply #57 on: January 21, 2019, 04:53:25 AM »
My server just hangs now, 503 bad gateway when I try to install it.

So much for the onscreen recommendation to install this thing.

so what do i do now since I cant login to my admin control panel??

Offline
*
Re: PHP Selector
« Reply #58 on: January 28, 2019, 05:39:17 AM »
WORSE SUPPORT EVER! Hell would freeze over before these ppl reply!

Offline
***
Re: PHP Selector
« Reply #59 on: January 28, 2019, 08:08:00 PM »
@Loz702   this forum ain't support forum, this is support http://centos-webpanel.com/support-services
GamePanel and TeamspeakManager Modules source codes are for SALE, PM me!