Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#21702 closed defect (invalid)

posix_isatty missing in PHP 5.3, standard posix functions disabled

Reported by: tom@… Owned by: ryandesign (Ryan 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 7 years ago by tom@…

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

comment:2 Changed 7 years ago by macsforever2000@…

  • Cc jwa@… added
  • Milestone MacPorts 1.8.2 deleted
  • Owner changed from macports-tickets@… to ryandesign@…

comment:3 Changed 7 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 7 years ago by ryandesign (Ryan Schmidt)

  • Resolution set to invalid
  • Status changed from new to 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 7 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

Note: See TracTickets for help on using tickets.