Bug #65207 [Fbk->NoF]: OPCache can't be compiled with SolarisStudio

From: Date: Sun, 01 Nov 2020 04:22:08 +0000
Subject: Bug #65207 [Fbk->NoF]: OPCache can't be compiled with SolarisStudio
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230042@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65207&edit=1

 ID:               65207
 Updated by:       php-bugs@lists.php.net
 Reported by:      reh at hebis dot uni-frankfurt dot de
 Summary:          OPCache can't be compiled with SolarisStudio
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          Compile Failure
 Operating System: Solaris / Illumos
 PHP Version:      5.5.0
 Assigned To:      cmb
 Private report:   N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2020-10-18 21:42:55] cmb@php.net

Are there still issue compiling OPcache with any of the actively
supported PHP versions[1]?

[1] <https://www.php.net/supported-versions.php>

------------------------------------------------------------------------
[2014-05-02 08:11:03] leehanxue at gmail dot com

Could be be similar to https://bugs.php.net/bug.php?id=65423 ? Try
installing libtdl-dev, or otherwise the complete GNU Libtool installation that includes libtdl. 

Libtdl is required for Opscache compilation. 


Hope that helps.

------------------------------------------------------------------------
[2014-03-10 01:59:13] sjnims at gmail dot com

Per changelog (http://www.php.net/ChangeLog-5.php#5.5.0), the Zend Opcache extension was enabled by
default since 5.5.0. Otherwise, the extension was available for install from PECL. Not sure what
happens behind the scenes in a default compilation of version 5.5.x vs compiling a lesser version
and installing the extension via PECL, but something doesn't seem to be working correctly in
5.5.x.

Personally, my main concern was that I'd hit some impasse, and that disabling the opcache
extension would be a "game ender." As it is, the extension wasn't enabled by default
as recent as the 5.4.x branch, so I think I can argue that disabling it is acceptable for the time
being. I'm also using mecachier and nginx, and won't be serving too much to begin with, so
I'm fine with disabling it.

I am interested to see what comes of this bug. Any extension to help speed up the response time of
our apps is a good idea to me.

------------------------------------------------------------------------
[2014-03-09 19:15:03] sjnims at gmail dot com

I've tried on PHP-5.5.10 and -5.5.9 with libmcrypt-2.5.8 with no success. I have confirmed that
removing "--with-mcrypt..." allows configure to complete successfully. It should be noted
that I am doing this on Heroku.

My libmcrypt configure directives:

./configure --prefix=/app/vendor/mcrypt \
            --disable-posix-threads \
            --enable-dynamic-loading

My PHP configure directives:

./configure --prefix=/app/vendor/php \
            --with-mysqli \
            --with-gd \
            --with-curl=/usr/lib \
            --with-config-file-path=/app/vendor/php \
            --with-openssl \
            --enable-fpm \
            --with-zlib \
            --enable-mbstring \
            --disable-debug \
            --disable-rpath \
            --enable-gd-native-ttf \
            --enable-inline-optimization \
            --with-bz2 \
            --with-mhash \
            --enable-zip \
            --with-gettext \
            --with-jpeg-dir=/usr \
            --with-png-dir=/usr \
            --enable-exif \
            --enable-bcmath \
            --enable-calendar \
            --enable-sockets \
            --with-xmlrpc \
            --with-mcrypt=/app/vendor/mcrypt \
            --without-pdo-sqlite \
            --without-sqlite3

------------------------------------------------------------------------
[2014-02-06 21:04:53] stadtkind2 at gmx dot de

Bug seems to be gone in PHP 5.5.9. Compiling with '--enable-opcache' works fine, loading
the module in php.ini + opcache.enable=1 works as well. phpinfo() confirms that opcache is up and
running.

Tested with Solaris 11.1 x86/amd64 + Solaris Studio 12.3

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=65207


--
Edit this bug report at https://bugs.php.net/bug.php?id=65207&edit=1


Thread (18 messages)

« previous php.bugs (#230042) next »