Package: php-cgi
Version: php5-cgi
Severity: important

Dear Maintainer,

environment
Apache 2.4.10-10
libapache2-mod-fcgid 1:2.3.9-1+b1
php5-cgi 5.6.7+dfsg-1

---

By calling an php-file with exec statement I receive after 2nd to 3rd call 
errors like following line
[core:notice] [pid 22388] AH00052: child pid 22394 exit signal Segmentation 
fault (11)

After this it isn't able to successfully recall the file.

as an example
<?php
        echo exec('whoami');
?>

I tried this with several other commands, with the same result. 
I also tried to add exec to disabled_functions in php.ini and call the same 
file which results in segfault before, with disabled exec there isn't any 
problem (except there is no execution of course). 
And finaly I also tried to use popen instead of exec, with the same result 
(segfault).
So I'm pretty sure there is something strange with executions in general.


-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to