Softaculous


Topic : cli warning


Posted By: tikklik on September 20, 2016, 2:25 pm
hello after installing a second php on my server (php7)
but the cli is using the standard php
php -v
PHP 5.6.25 (cli) (built: Aug 20 2016 09:39:48)


im getting my mailbox spammed with cron emails


Notice: Undefined index: HTTPS in /usr/local/softaculous/enduser/softpanel.php on line 68

Notice: Undefined index: SERVER_NAME in /usr/local/softaculous/enduser/softpanel.php on line 68

Notice: Undefined index: SERVER_PORT in /usr/local/softaculous/enduser/softpanel.php on line 68

Notice: Undefined index: SERVER_NAME in /usr/local/softaculous/enduser/softpanel.php on line 108

Notice: Undefined index: SERVER_PORT in /usr/local/softaculous/enduser/softpanel.php on line 108

Notice: Undefined index: SERVER_NAME in /usr/local/softaculous/enduser/softpanel.php on line 109

Notice: Undefined index: SERVER_PORT in /usr/local/softaculous/enduser/softpanel.php on line 109
^C
etc

my /etc/php.ini has
error_reporting = E_ALL & ~E_NOTICE  & ~E_DEPRECATED

Posted By: Brijesh on September 22, 2016, 9:55 am | Post: 1
Hi,

Which control panel are you using ?

Can you please check if E_NOTICE is disabled in the correct PHP binary ?

If you can open a support ticket with us we can check this for you :
https://www.softaculous.com/support/

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: tikklik on September 22, 2016, 10:35 am | Post: 2
i use ISPconfig 3

/etc/php.ini >  error_reporting = E_ALL & ~E_NOTICE  & ~E_DEPRECATED

/etc/opt/remi/php70/php.ini > error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT

/usr/local/softaculous/php.ini:  error_reporting = E_PARSE
i added & ~E_NOTICE
but no difference


Posted By: DreamCatcher on September 22, 2016, 12:15 pm | Post: 3
I have this same issue and i'm using WHM 58.0 (build 29) EA4 Php7 and the php version is not detected by softaculous anymore and giving this warning under plugins page

Code

PHP Version : Usage: php-cgi [-q] [-h] [s] [-v] [i] [-f ] php-cgi [args...] -a Run interactively -b | Bind Path for external FASTCGI Server mode -C Do not chdir to the script's directory -c | Look for php.ini file in this directory -n No php.ini file will be used -d foo[=bar] Define INI entry foo with value 'bar' -e Generate extended information for debugger/profiler -f Parse . Implies `-q' -h This help -i PHP information -l Syntax check only (lint) -m Show compiled in modules -q Quiet-mode. Suppress HTTP Header output. -s Display colour syntax highlighted source. -v Version number -w Display source with stripped comments and whitespace. -z Load Zend extension . -T Measure execution time of script repeated times.


How do I fix this?

Posted By: Brijesh on September 22, 2016, 2:07 pm | Post: 4
Quote From : tikklik September 22, 2016, 10:35 am
i use ISPconfig 3

/etc/php.ini >  error_reporting = E_ALL & ~E_NOTICE  & ~E_DEPRECATED

/etc/opt/remi/php70/php.ini > error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT

/usr/local/softaculous/php.ini:  error_reporting = E_PARSE
i added & ~E_NOTICE
but no difference


Hi,

Can you please open a support ticket with us so that we can check this for you :
https://www.softaculous.com/support/


-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: Brijesh on September 22, 2016, 2:09 pm | Post: 5
Quote From : DreamCatcher September 22, 2016, 12:15 pm
I have this same issue and i'm using WHM 58.0 (build 29) EA4 Php7 and the php version is not detected by softaculous anymore and giving this warning under plugins page

Code

PHP Version : Usage: php-cgi [-q] [-h] [s] [-v] [i] [-f ] php-cgi [args...] -a Run interactively -b | Bind Path for external FASTCGI Server mode -C Do not chdir to the script's directory -c | Look for php.ini file in this directory -n No php.ini file will be used -d foo[=bar] Define INI entry foo with value 'bar' -e Generate extended information for debugger/profiler -f Parse . Implies `-q' -h This help -i PHP information -l Syntax check only (lint) -m Show compiled in modules -q Quiet-mode. Suppress HTTP Header output. -s Display colour syntax highlighted source. -v Version number -w Display source with stripped comments and whitespace. -z Load Zend extension . -T Measure execution time of script repeated times.


How do I fix this?

Hi,

cPanel team has released a new version on 20th September with some behavior changes for PHP CLI binary causing this issue.

We have discussed this with the cPanel team and have finalized that
we will release a new version of Softaculous to address this change in
behavior by cPanel.

We will release the new version by the end of this week.

If you want us to apply the patch on your server please open a support ticket with us so that we can apply the patch for you :
https://www.softaculous.com/support/


Edited by Brijesh : September 22, 2016, 2:11 pm

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: tikklik on September 22, 2016, 2:45 pm | Post: 6
just opend the ticket assigned ticket #581533.

Posted By: Brijesh on September 24, 2016, 1:15 pm | Post: 7
Hi,

We have fixed this in Softaculous and have applied the patch on your server.

This patch will be included in Softaculous 4.8.1

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.