Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#20511 - PHP: posix functions not defined

Attached to Project: Arch Linux
Opened by Xiong Chiamiov (Xiong_Chiamiov) - Wednesday, 18 August 2010, 22:16 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 18 August 2010, 22:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The posix_getpid() function[0] is not defined. I also get undefined errors from calling a few other POSIX functions PHP provides; I did not test them all.

It seems[1] that a compile-time flag is neccesary; the pkgbuild currently has '--enable-posix=shared', however, which I would have thought would fix this.

I have the standard php package installed (version 5.3.3-1), i686.

Steps to reproduce:
<?php
posix_getpid();
?>

[0]: http://php.net/manual/en/function.posix-getpid.php
[1]: http://status.net/open-source/issues/1778
This task depends upon

Closed by  Ionut Biru (wonder)
Wednesday, 18 August 2010, 22:23 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Requested task closure - posix.so needs to be enabled in php.ini.

Loading...