Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : cli warning



Threaded Mode | Print  

 cli warning (7 Replies, Read 2388 times)
tikklik
Group: Member
Post Group: Newbie
Posts: 39
Status:
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
IP: --   

cli warning
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
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
IP: --   

cli warning
tikklik
Group: Member
Post Group: Newbie
Posts: 39
Status:
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

IP: --   

cli warning
DreamCatcher
Group: Member
Post Group: Newbie
Posts: 4
Status:
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?
IP: --   

cli warning
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
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
IP: --   

cli warning
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
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
IP: --   

cli warning
tikklik
Group: Member
Post Group: Newbie
Posts: 39
Status:
just opend the ticket assigned ticket #581533.
IP: --   

cli warning
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
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
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 18, 2024, 5:38 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.143