[MacPorts] #39512: php-opcache: add port (was: php55 @5.5.0_0+libedit: build needs --enable-opcache)

MacPorts noreply at macports.org
Sun Jun 23 23:04:28 PDT 2013


#39512: php-opcache: add port
-----------------------------+--------------------------
  Reporter:  macports.org@…  |      Owner:  ryandesign@…
      Type:  request         |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  php-opcache     |
-----------------------------+--------------------------
Changes (by ryandesign@…):

 * status:  new => assigned
 * version:  2.1.3 =>
 * type:  enhancement => request
 * port:  php55 => php-opcache


Old description:

> 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.

New description:

 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:
 * browser:trunk/dports/lang/php/Portfile#L147

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

 Thanks for your consideration.

--

Comment:

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

-- 
Ticket URL: <https://trac.macports.org/ticket/39512#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list