Author Topic: PHP Selector  (Read 208503 times)

0 Members and 2 Guests are viewing this topic.

Offline
***
Re: PHP Selector
« Reply #30 on: February 28, 2018, 05:25:12 PM »
I dont think 10$ for a year is huge.

Offline
*
Re: PHP Selector
« Reply #31 on: March 04, 2018, 09:42:57 AM »
I dont think 10$ for a year is huge.
It's advertised as a free panel. If a charge is imposed for everything, it is not a free commercial panel.
It's even advertised as a free feature on the front page

"CWP PHP Selector (FREE)"

Offline
*
Re: PHP Selector
« Reply #32 on: June 20, 2018, 03:51:35 PM »
I tried to do this  with .htaccess but doesn´t work.

I put = AddHandler application/x-httpd-php71 .php

And the page shows

Internal Server Error (500)
The server encountered an internal error or misconfiguration and was unable to complete your request.

and the error_log show

Wed Jun 20 12:43:45.650621 2018] [core:error] [pid 25002:tid 140403528488704] [client 138.204.25.171:45632] End of script output before headers: info.php
[Wed Jun 20 12:43:46.141581 2018] [:error] [pid 12398:tid 140403353286400] [client 138.204.25.171:45893] SoftException in Application.cpp:542: Could not execute script "/home/tabcorde/public_html/info.php"
[Wed Jun 20 12:43:46.141740 2018] [:error] [pid 12398:tid 140403353286400] [client 138.204.25.171:45893] Caused by SystemException in API_Linux.cpp:444: execve() for program "/opt/alt/php71/usr/bin/php-cgi" failed: No such file or directory
[Wed Jun 20 12:43:46.141781 2018] [core:error] [pid 12398:tid 140403353286400] [client 138.204.25.171:45893] End of script output before headers: info.php

Offline
**
Re: PHP Selector
« Reply #33 on: June 20, 2018, 10:43:15 PM »
@marcelosb Are you sure you have installed 71 version?
"/opt/alt/php71/usr/bin/php-cgi" failed: No such file or directory

Offline
*
Re: PHP Selector
« Reply #34 on: November 10, 2018, 06:14:55 PM »
Hi there,

i'm trying to install PHP 5.2, but getting this error:
 
Code: [Select]
phar-2.0.0/zip.c
/usr/local/cwpsrv/htdocs/resources/conf/php_selector/external_modules/5.2/phar.sh: line 9: /opt/alt/php52/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/php_selector/external_modules/5.2/phar.sh: line 10: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
/usr/local/cwpsrv/htdocs/resources/conf/php_selector/external_modules/5.2/phar.sh: line 14: /opt/alt/php52/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /phar.so
Redirecting to /bin/systemctl restart  httpd.service

Build Completed
###################

I switch a few weeks ago from 5.2 to 7, and now I need 5.2 again. But I want to keep PHP 7 for all user on the server.

Thanks,
Milen Aleksandrov

Offline
*
Re: PHP Selector
« Reply #35 on: November 23, 2018, 05:50:24 AM »
Hi there,

Is it there someone who can help here?

Thanks,
Milen

Offline
*
Re: PHP Selector
« Reply #36 on: December 06, 2018, 11:15:23 PM »
What about instructions for PHP-FPM Selector (v3)?

Offline
*
Re: PHP Selector
« Reply #37 on: December 07, 2018, 05:04:24 PM »
Hello,
how can I assign a different PHP-FPM version to a certain user/website?
I tried adding "AddHandler application/x-httpd-php71 .php" to htaccess file but it does not work.

Thanks

Offline
**
Re: PHP Selector
« Reply #38 on: December 07, 2018, 06:10:26 PM »
WebServer Settings>WebServers Domain Conf

Select Username > View /Edit Configuration

Scroll down to last option block and select version

Offline
*
Re: PHP Selector
« Reply #39 on: December 07, 2018, 08:15:43 PM »
For the most part my CWP install runs and I never have to touch it

Today I logged in to add an email address

Every menu item from the main menu takes me to the PHP selector - I cannot do ANYTHING else within CWP

I just paid for the pro option hoping that will give more access but at the moment, the only access within CWP is to the PHP selector which does not appear to work.

Offline
*
Re: PHP Selector
« Reply #40 on: December 10, 2018, 11:22:05 AM »
WebServer Settings>WebServers Domain Conf

Select Username > View /Edit Configuration

Scroll down to last option block and select version

Thank you very much!  ;)

Offline
*
Re: PHP Selector
« Reply #41 on: December 10, 2018, 11:01:17 PM »
It'll be greate, if users can change PHP version by yourself, without contacting with hosting administrator. I see, that in lang files users zone have php selector. How to enable it there? Or, when this function will be allowed to users? Thanks.

Offline
*
Re: PHP Selector
« Reply #42 on: December 11, 2018, 08:49:48 AM »
it still in test phase, but will come soon for sure.
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 #43 on: December 21, 2018, 05:07:34 PM »
WebServer Settings>WebServers Domain Conf

Select Username > View /Edit Configuration

Scroll down to last option block and select version

Thank you very much!  ;)


That's just it -- no matter how many times I start the "build" I never get past the inital screen so I can never select the web server settings for users because it is never populated.

Select a user, "create configuration", select one option ... drop down menu is empty :(

Offline
*
Re: PHP Selector
« Reply #44 on: December 24, 2018, 12:19:25 AM »
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.