Opened 11 years ago

Last modified 11 years ago

#39512 closed request

php-opcache: add port — at Version 2

Reported by: macports.org@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: php-opcache

Description (last modified by ryandesign (Ryan Carsten Schmidt))

PHP 5.5 introduces a new feature, OPcache:

To use it with PHP 5.5, it must be built with --enable-opcache:

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:

Please build the php55 port with the --enable-opcache flag.

Thanks for your consideration.

Change History (2)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Keywords: php php55 enable opcache compilation flag removed
Owner: changed from macports-tickets@… to ryandesign@…
Type: defectenhancement

Thanks for the ticket. In the future, please Cc relevant port maintainers.

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: php-opcache added; php55 removed
Status: newassigned
Summary: php55 @5.5.0_0+libedit: build needs --enable-opcachephp-opcache: add port
Type: enhancementrequest
Version: 2.1.3

The page you linked to says this is an extension. So we need a new php-opcache port for it.

Note: See TracTickets for help on using tickets.