Author Topic: PHP Selector  (Read 52587 times)

0 Members and 1 Guest 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