Ticket #21702 (closed defect: invalid)
posix_isatty missing in PHP 5.3, standard posix functions disabled
| Reported by: | tom@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.0 |
| Keywords: | Cc: | jwa@… | |
| 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
comment:2 Changed 4 years ago by macsforever2000@…
- Owner changed from macports-tickets@… to ryandesign@…
- Cc jwa@… added
- Milestone MacPorts 1.8.2 deleted
comment:3 Changed 4 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 4 years ago by ryandesign@…
- Status changed from new to closed
- Resolution set to invalid
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.
Note: See
TracTickets for help on using
tickets.


(This was fully enabled in the macports 5.2.x)