[MacPorts] #35222: php5 5.3.12 horrible slow cli

MacPorts noreply at macports.org
Mon Jul 16 23:12:28 PDT 2012


#35222: php5 5.3.12 horrible slow cli
--------------------------------+-------------------------------------------
 Reporter:  localgod@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  2.1.1                                
 Keywords:                      |        Port:  php5                                 
--------------------------------+-------------------------------------------
 After I updated macports a few days ago my php cli has become horribly
 slow:
 {{{
 $ time /opt/local/bin/php --version
 PHP 5.3.12 with Suhosin-Patch (cli) (built: Jul 16 2012 15:19:53)
 Copyright (c) 1997-2012 The PHP Group
 Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
     with Xdebug v2.2.0, Copyright (c) 2002-2012, by Derick Rethans
     with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH

 real    0m35.056s
 user    0m0.032s
 sys     0m0.018s
 }}}
 When I run the osx supplied version:
 {{{
 $ time /usr/bin/php --version
 PHP 5.3.10 with Suhosin-Patch (cli) (built: Feb 20 2012 22:55:53)
 Copyright (c) 1997-2012 The PHP Group
 Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

 real    0m0.598s
 user    0m0.048s
 sys     0m0.128s
 }}}
 I tried uninstalling all php related ports and do a fresh install with the
 following ports:
 {{{
 php5 +apache2 +pear +suhosin
 ZendFramework
 php5-solr
 php5-gearman
 php5-http
 php5-imagick
 php5-mongo
 php5-redis
 php5-suhosin
 php5-xdebug
 }}}

 ...but the problem persists.

 I have another machine without php5-gearman, php5-http, php5-imagick,
 php5-mongo, php5-redis and php5-suhosin installed that works fine, so I
 tried uninstalling these, but this has no effect, cli is still extremely
 slow.

 Running php scripts thru apache works fine.

 Im running Xcode Version 4.3.2 on OSX 10.7.4

-- 
Ticket URL: <https://trac.macports.org/ticket/35222>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list