[php-maint] Bug#759195: Bug#759195: php5: invalid argument -delete for "-cmin"
Ondřej Surý
ondrej at sury.org
Fri Aug 29 12:54:25 UTC 2014
Try with
-d "display_errors=On" -d "display_startup_errors=On"
On Fri, Aug 29, 2014, at 14:38, Bastian wrote:
> Hi Ondřej,
>
> thanks for your quick reply.
>
> On 29Aug14 12:41 +0200, Ondřej Surý wrote:
> > strip the << -d "error_reporting='~E_ALL'" >>
> > from the php command line and re-run the php, e.g.:
> >
> > php5 -c /etc/php5/apache2/php.ini -r 'print
> > ini_get("session.gc_maxlifetime"); print "\n";'
>
> Still, same behaviour.
>
> The end part of strace looks like this:
> {{{
> # strace php5 -c /etc/php5/apache2/php.ini -r 'print
> ini_get("session.gc_maxlifetime")
> [..cut..]
> open("/etc/services", O_RDONLY|O_CLOEXEC) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=19398, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
> = 0xf7731000
> read(3, "# Network services, Internet sty"..., 4096) = 4096
> read(3, "\t\t# IPX\nipx\t\t213/udp\nimap3\t\t220/"..., 4096) = 4096
> read(3, " assessment scanner\nlotusnote\t1"..., 4096) = 4096
> close(3) = 0
> munmap(0xf7731000, 4096) = 0
> rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTART}, {SIG_IGN, [PIPE],
> SA_RESTART}, 8) = 0
> exit_group(1) = ?
> }}}
>
> Whereas a successfull run deliveres this strace:
> {{{
> # strace php5 -c /etc/php5/fpm/php.ini -r 'print
> ini_get("session.gc_maxlifetime");'
> [..cut..]
> open("/etc/services", O_RDONLY|O_CLOEXEC) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=19398, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
> = 0xf77a6000
> read(3, "# Network services, Internet sty"..., 4096) = 4096
> read(3, "\t\t# IPX\nipx\t\t213/udp\nimap3\t\t220/"..., 4096) = 4096
> read(3, " assessment scanner\nlotusnote\t1"..., 4096) = 4096
> close(3) = 0
> munmap(0xf77a6000, 4096) = 0
> rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTART}, {SIG_IGN, [PIPE],
> SA_RESTART}, 8) = 0
> rt_sigaction(SIGPROF, {0x8317a90, [PROF], SA_RESTART}, {SIG_DFL, [], 0},
> 8) = 0
> rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0
> gettimeofday({1409315669, 574372}, NULL) = 0
> fstat64(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 4), ...}) = 0
> fstat64(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 4), ...}) = 0
> fstat64(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 4), ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
> = 0xf77a6000
> _llseek(0, 0, 0xffa9e3c4, SEEK_CUR) = -1 ESPIPE (Illegal seek)
> fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 4), ...}) = 0
> fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 4), ...}) = 0
> fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 4), ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
> = 0xf4971000
> _llseek(1, 0, 0xffa9e3c4, SEEK_CUR) = -1 ESPIPE (Illegal seek)
> fstat64(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 4), ...}) = 0
> fstat64(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 4), ...}) = 0
> _llseek(2, 0, 0xffa9e3c4, SEEK_CUR) = -1 ESPIPE (Illegal seek)
> write(1, "1440", 41440) = 4
> close(2) = 0
> close(1) = 0
> munmap(0xf4971000, 4096) = 0
> close(0) = 0
> munmap(0xf77a6000, 4096) = 0
> munmap(0xf47a3000, 46488) = 0
> munmap(0xf4941000, 20616) = 0
> munmap(0xf493f000, 5788) = 0
> munmap(0xf47af000, 754940) = 0
> munmap(0xf4871000, 114932) = 0
> munmap(0xf4972000, 28944) = 0
> munmap(0xf488e000, 717476) = 0
> munmap(0xf497a000, 37200) = 0
> munmap(0xf4947000, 170484) = 0
> munmap(0xf6928000, 33044) = 0
> gettimeofday({1409315669, 578779}, NULL) = 0
> munmap(0xf4984000, 131936) = 0
> munmap(0xf4cc7000, 49380) = 0
> munmap(0xf49a5000, 3280908) = 0
> munmap(0xf4cd4000, 100364) = 0
> munmap(0xf4d24000, 41120) = 0
> munmap(0xf4cf7000, 183072) = 0
> munmap(0xf4ced000, 38656) = 0
> munmap(0xf62fa000, 194088) = 0
> munmap(0xf4e38000, 49188) = 0
> munmap(0xf6120000, 1940196) = 0
> munmap(0xf5fb6000, 1479840) = 0
> munmap(0xf4e45000, 18284552) = 0
> munmap(0xf6640000, 90248) = 0
> munmap(0xf65f9000, 286840) = 0
> munmap(0xf6414000, 66460) = 0
> munmap(0xf6425000, 1277496) = 0
> munmap(0xf63ea000, 168520) = 0
> munmap(0xf63b1000, 231064) = 0
> munmap(0xf637b000, 219492) = 0
> munmap(0xf655d000, 635728) = 0
> munmap(0xf6358000, 139724) = 0
> munmap(0xf6330000, 159800) = 0
> munmap(0xf77a7000, 11384) = 0
> munmap(0xf632a000, 22144) = 0
> munmap(0xf6931000, 69912) = 0
> munmap(0xf68bd000, 436444) = 0
> munmap(0xf688a000, 205020) = 0
> munmap(0xf6860000, 168516) = 0
> munmap(0xf67ff000, 333220) = 0
> munmap(0xf6851000, 57504) = 0
> munmap(0xf67e5000, 105524) = 0
> munmap(0xf6744000, 111176) = 0
> munmap(0xf667b000, 819368) = 0
> munmap(0xf6760000, 544588) = 0
> munmap(0xf77aa000, 15580) = 0
> munmap(0xf6669000, 70404) = 0
> munmap(0xf6657000, 70320) = 0
> munmap(0xf6943000, 111368) = 0
> munmap(0xf6ce4000, 1052672) = 0
> munmap(0xf6de5000, 266240) = 0
> munmap(0xf695f000, 163840) = 0
> exit_group(0) = ?
> }}}
>
>
> I am a bit puzzled by this picture.
> Do I have something weired in the apache2/php.ini?
>
>
> Thanks,
>
> --
> Bastian
--
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
More information about the pkg-php-maint
mailing list