PHP Selector

Started by Administrator, January 11, 2015, 05:03:05 AM

Previous topic - Next topic

bullten

I dont think 10$ for a year is huge.

comepso

Quote from: Nencio on February 28, 2018, 05:34:36 PM
Quote from: bullten on February 28, 2018, 05:25:12 PM
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)"

marcelosb

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

Gogo

@marcelosb Are you sure you have installed 71 version?
"/opt/alt/php71/usr/bin/php-cgi" failed: No such file or directory

maleksandrov

Hi there,

i'm trying to install PHP 5.2, but getting this error:

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

maleksandrov

Hi there,

Is it there someone who can help here?

Thanks,
Milen

dg1

What about instructions for PHP-FPM Selector (v3)?

NychosX

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

GTMAN

WebServer Settings>WebServers Domain Conf

Select Username > View /Edit Configuration

Scroll down to last option block and select version

geolaw

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.

NychosX

Quote from: GTMAN 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

Thank you very much!  ;)

host56

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.

studio4host

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.

geolaw

Quote from: NychosX on December 10, 2018, 11:22:05 AM
Quote from: GTMAN 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

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 :(

lucaslealdev

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.