#39512: php55 @5.5.0_0+libedit: build needs --enable-opcache -------------------------------------------------+------------------------- Reporter: macports.org@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Keywords: php php55 enable opcache | Version: 2.1.3 compilation flag | Port: php55 -------------------------------------------------+------------------------- PHP 5.5 introduces a new feature, OPcache: * http://php.net/opcache To use it with PHP 5.5, it must be built with --enable-opcache: * http://php.net/manual/en/opcache.installation.php However, the current php55 port does have this configured: {{{ $ php -v PHP 5.5.0 (cli) (built: Jun 22 2013 00:21:42) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.5.0-dev, Copyright (c) 1998-2013 Zend Technologies with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans $ php -i | grep "^Configure Command" | fold -s Configure Command => './configure' '--prefix=/opt/local' '--mandir=/opt/local/share/man' '--infodir=/opt/local/share/info' '--program-suffix=55' '--includedir=/opt/local/include/php55' '--libdir=/opt/local/lib/php55' '--with-config-file- path=/opt/local/etc/php55' '--with-config-file-scan-dir=/opt/local/var/db/php55' '--disable-all' '--enable-bcmath' '--enable-ctype' '--enable-dom' '--enable-fileinfo' '--enable-filter' '--enable-hash' '--enable-json' '--enable-libxml' '--enable-pdo' '--enable-phar' '--enable-session' '--enable-simplexml' '--enable-tokenizer' '--enable-xml' '--enable-xmlreader' '--enable- xmlwriter' '--with-bz2=/opt/local' '--with-mhash=/opt/local' '--with-pcre-regex=/opt/local' '--with-libxml-dir=/opt/local' '--with-zlib=/opt/local' '--without-pear' '--disable-cgi' '--disable-fpm' '--enable-cli' '--with-libedit=/opt/local' }}} The source confirms this: * https://trac.macports.org/browser/trunk/dports/lang/php/Portfile#L147 Please build the php55 port with the --enable-opcache flag. Thanks for your consideration. -- Ticket URL: <https://trac.macports.org/ticket/39512> MacPorts <http://www.macports.org/> Ports system for OS X