#21702 closed defect (invalid)
posix_isatty missing in PHP 5.3, standard posix functions disabled
Reported by: | tom@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | Cc: | jyrkiwahlstedt | |
Port: | php5 |
Description
posix_isatty is mysteriously missing in the current macports PHP 5 (PHP 5.3.0). This apparently only happens with an explicit --disable-posix.
This causes problems for Symfony test scripts, the output of which is almost unreadable without ANSI colorization.
Is there a reason why POSIX is disabled?
Change History (5)
comment:1 Changed 15 years ago by tom@…
comment:2 Changed 15 years ago by mf2k (Frank Schima)
Cc: | jwa@… added |
---|---|
Milestone: | MacPorts 1.8.2 |
Owner: | changed from macports-tickets@… to ryandesign@… |
comment:3 Changed 15 years ago by blb@…
I don't see any --disable-posix
in php5's Portfile, but I'm guessing that you may want the php5-posix port.
comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Many many things have changed in php5 between 5.3.0_0 and 5.3.0_2. Modules have been moved into separate ports. See #19091. For POSIX functions, install php5-posix. "port echo "php5-*'" will show you all the modules that are now available.
comment:5 Changed 15 years ago by tom@…
Now I understand why things did seem different. Installing PHP5 modules as separate ports instead of weird variant thingies is vastly better. Thank you
(This was fully enabled in the macports 5.2.x)