#35222: php-imap causes cli to take 35 seconds to initialize --------------------------------+------------------------------------------- Reporter: localgod@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: php-imap --------------------------------+------------------------------------------- Changes (by ryandesign@…): * port: php5 => php-imap Comment: Replying to [comment:2 localgod@…]:
German fails to install at all,
Please file a separate ticket about this.
and imap seems to be the cause of the slow cli.
Interesting. I'm not able to reproduce that problem on my system. I'm using Snow Leopard however. You could try [wiki:ProblemHotlist#compiler recompiling php54-imap with a different compiler]; perhaps compiling with Xcode 4.3's default clang compiler causes problems for imap. For example, try llvm-gcc-4.2 instead: {{{ sudo port -f uninstall php54-imap sudo port install php54-imap configure.compiler=llvm-gcc-4.2 }}} Or perhaps a better question to ask first: are you actually using php-imap for something? Have you configured any imap-specific values in your php.ini that might account for the slowdown? Or is there an auto_prepend_file that's using imap (slowly) when it's available? Perhaps something is configured to use a server that cannot be reached?
How do I install PEAR using macports? php54 don't have a pear variant flag.
It's a separate port now: {{{ sudo port install php54-pear }}} Note however that everything that's in PEAR is in MacPorts, and we recommend you install such items using MacPorts instead of using PEAR separately. You can see them all by typing: {{{ port search pear- }}}
The same goeas for apache2 support. There is no apache2 variant.
Also a separate port: {{{ sudo port install php54-apache2handler }}} -- Ticket URL: <https://trac.macports.org/ticket/35222#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS