Re: [Bug 1623540] Re: If php.ini is incorrect, php-frm starts without warning with default values

2016-09-16 Thread Nish Aravamudan
Thank you for doing that, I do believe it is an upstream issue
(possibly for all SAPIs) that php.ini parse failure doesn't
immediately lead to exit.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1623540

Title:
  If php.ini is incorrect, php-frm starts without warning with default
  values

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1623540/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1623540] Re: If php.ini is incorrect, php-frm starts without warning with default values

2016-09-16 Thread selivan
Also reported it directly to php guys:
https://bugs.php.net/bug.php?id=73099

** Bug watch added: bugs.php.net/ #73099
   http://bugs.php.net/bug.php?id=73099

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1623540

Title:
  If php.ini is incorrect, php-frm starts without warning with default
  values

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1623540/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1623540] Re: If php.ini is incorrect, php-frm starts without warning with default values

2016-09-14 Thread Nish Aravamudan
Sorry for my mistake! I have corrected the tasks states -- and reproduce
the issue on 16.10.

** Changed in: php7.0 (Ubuntu Xenial)
   Status: Incomplete => Triaged

** Changed in: php7.0 (Ubuntu Xenial)
   Importance: Low => Medium

** Changed in: php7.0 (Ubuntu)
   Status: Invalid => Triaged

** Changed in: php7.0 (Ubuntu)
   Importance: Undecided => Medium

** Changed in: php7.0 (Ubuntu)
 Assignee: (unassigned) => Nish Aravamudan (nacc)

** Changed in: php7.0 (Ubuntu Xenial)
 Assignee: (unassigned) => Nish Aravamudan (nacc)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1623540

Title:
  If php.ini is incorrect, php-frm starts without warning with default
  values

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1623540/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1623540] Re: If php.ini is incorrect, php-frm starts without warning with default values

2016-09-14 Thread selivan
First I saw this bug on trusty with php7 ppa, where I upgraded from 5.5
by copying php.ini. It had inside comment like "# blablabla (see
foobar)".

I created bug report for ppa owner:
https://github.com/oerdnj/deb.sury.org/issues/456

Then I reproduced it out on newly created xenial instance in AWS and
reported it here.


** Bug watch added: github.com/oerdnj/deb.sury.org/issues #456
   https://github.com/oerdnj/deb.sury.org/issues/456

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1623540

Title:
  If php.ini is incorrect, php-frm starts without warning with default
  values

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1623540/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1623540] Re: If php.ini is incorrect, php-frm starts without warning with default values

2016-09-14 Thread selivan
> # vi /etc/php/7.0/fpm/php-fpm.conf

no, you should do

# vi /etc/php/7.0/fpm/php.ini

It handles errors in php-fpm.conf, but silently ignores in php.ini

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1623540

Title:
  If php.ini is incorrect, php-frm starts without warning with default
  values

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1623540/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1623540] Re: If php.ini is incorrect, php-frm starts without warning with default values

2016-09-14 Thread Nish Aravamudan
While the helper script can/should be fixed, I'm actually unable to
reproduce this on 16.04:

# vi /etc/php/7.0/fpm/php-fpm.conf 
[insert: "# wrong comment (" at the top of the file]
# service php7.0-fpm restart
Job for php7.0-fpm.service failed because the control process exited with error 
code. See "systemctl status php7.0-fpm.service" and "journalctl -xe" for 
details.

Can you give more details on how you installed php-fpm? Was this an
upgrade from 14.04? Or did you install 16.04 at release and follow the
normal upgrade paths to 16.04.1?

** Changed in: php7.0 (Ubuntu)
   Importance: High => Undecided

** Changed in: php7.0 (Ubuntu Xenial)
   Importance: High => Low

** Changed in: php7.0 (Ubuntu Xenial)
   Status: Triaged => Incomplete

** Changed in: php7.0 (Ubuntu Xenial)
 Assignee: Nish Aravamudan (nacc) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1623540

Title:
  If php.ini is incorrect, php-frm starts without warning with default
  values

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1623540/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1623540] Re: If php.ini is incorrect, php-frm starts without warning with default values

2016-09-14 Thread Nish Aravamudan
16.10's dropping of the helper script, I believe, perhaps in
coordination with other changes, means that if you make a similar
modification there and try to restart the service you get:

# service php7.0-fpm restart
Job for php7.0-fpm.service failed because the control process exited with error 
code.
See "systemctl status php7.0-fpm.service" and "journalctl -xe" for details.

So it's already fixed in 16.10. I'll look at what's needed to make the
same occur in 16.04.

** Changed in: php7.0 (Ubuntu)
   Status: Triaged => Invalid

** Changed in: php7.0 (Ubuntu)
 Assignee: Nish Aravamudan (nacc) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1623540

Title:
  If php.ini is incorrect, php-frm starts without warning with default
  values

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1623540/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1623540] Re: If php.ini is incorrect, php-frm starts without warning with default values

2016-09-14 Thread Nish Aravamudan
Hello and thank you for reporting this bug.

With 16.10, the helper script has been removed, so the problem is not
exactly reproducible. With 16.04, it looks to be a simple typo with the
grep ([ERROR] rather than ERROR) in the script. Modifying it in that way
leads to a successful prevention of php-fpm starting on parse errors. I
will work on fixing 16.10 (if possible) and then SRU'ing the fix for
16.04.

Thanks,
Nish

** Changed in: php7.0 (Ubuntu)
   Status: New => Triaged

** Changed in: php7.0 (Ubuntu)
   Importance: Undecided => High

** Also affects: php7.0 (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Changed in: php7.0 (Ubuntu Xenial)
   Status: New => Triaged

** Changed in: php7.0 (Ubuntu Xenial)
   Importance: Undecided => High

** Changed in: php7.0 (Ubuntu)
 Assignee: (unassigned) => Nish Aravamudan (nacc)

** Changed in: php7.0 (Ubuntu Xenial)
 Assignee: (unassigned) => Nish Aravamudan (nacc)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1623540

Title:
  If php.ini is incorrect, php-frm starts without warning with default
  values

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1623540/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs