php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64473 opcache not documented in php.ini patterns
Submitted: 2013-03-21 03:32 UTC Modified: 2023-04-04 12:33 UTC
From: hajo at csphere dot eu Assigned: ab (profile)
Status: Closed Package: opcache
PHP Version: 5.5.0 beta 1 OS: windows x86 and x64
Private report: No CVE-ID: None
 [2013-03-21 03:32 UTC] hajo at csphere dot eu
Description:
------------
the opcache extension is not present in php.ini dev and prod file. version affected is php 5.5.0 beta 1 windows build for x86 and x64 of all types. if the opcode extension should autoload its not loading and/or not present in the list of loaded extensions.

Expected result:
----------------
opcode working

Actual result:
--------------
opcode dll is present, but not activated

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-03-21 03:41 UTC] hajo at csphere dot eu
manually adding the following line of code produces the attached error:

extension=php_opcache.dll

Warning PHP Startup: Invalid library (maybe not a PHP library) 'php_opcache.dll'

same effect using x86 and x64 build

changed from doc problem to bug due to this
 [2013-03-21 04:02 UTC] hajo at csphere dot eu
updated php version tag
 [2013-03-21 04:02 UTC] hajo at csphere dot eu
-PHP Version: 5.5Git-2013-03-21 (Git) +PHP Version: 5.5.0 beta 1
 [2013-03-21 08:18 UTC] ab@php.net
Use zend_extension= instead of extension= .
 [2013-03-21 08:18 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2013-03-21 13:00 UTC] hajo at csphere dot eu
-Status: Closed +Status: Assigned
 [2013-03-21 13:00 UTC] hajo at csphere dot eu
reopened to ask if opcache configuration details are going to be added to php.ini dev and prod patterns since that was my initial concern.
 [2013-03-21 14:36 UTC] dsp@php.net
They should be added BUT they the opcache should be deactivated by default.
 [2013-03-21 14:53 UTC] dsp@php.net
-Status: Assigned +Status: Closed
 [2013-03-21 14:53 UTC] dsp@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

I added the ini files BUT it will be still be disabled by default.
 [2013-03-21 15:08 UTC] hajo at csphere dot eu
-Summary: opcache not loading +Summary: opcache not documented in php.ini patterns
 [2013-03-21 15:08 UTC] hajo at csphere dot eu
its ok that its still disabled by default, all i wanted are some documentation hints in php.ini patterns

thanks alot :)
 [2013-03-21 15:57 UTC] hajo at csphere dot eu
-Status: Closed +Status: Assigned
 [2013-03-21 15:57 UTC] hajo at csphere dot eu
this line, as provided by ab, works like a charm for x86 builds:

zend_extension = php_opcache.dll

nevertheless its not part of the commit done by dsp. did you just forget to add it or was it intended to not add it (even with a semicolon to have it not activated by default)?

in addition for x64 builds loading this zend extension crashes php on startup, but i might open a new bug ticket for that if the problem persists in a later beta.
 [2013-03-21 17:06 UTC] ab@php.net
-Status: Assigned +Status: Closed
 [2013-03-21 17:06 UTC] ab@php.net
Yes, please open another one for the x64 crash including the BT. This page can help with getting a useful BT https://bugs.php.net/bugs-generating-backtrace-win32.php . This ticket is done then, the opcache inclusion is being discussed right now on internals list.

Thanks
 [2023-04-04 07:22 UTC] capitalfinacenews at gmail dot com
Capital Finance News More are online news portal about finance, business, trading, share market, banking, stock exchange etc. info to visit: https://capitalfinancenews.com/github.com
 [2023-04-04 08:07 UTC] autoopinionn at gmail dot com
Auto opinion blog are are online news portal about auto, trucks, bus, electric vehicle, automobile news etc. info to visit: (https://autoopinionblog.com)github.com
 [2023-04-04 10:29 UTC] homeinteriormodern at gmail dot com
Modern Homes Interiors are sharing latest blog and stories Modern Homes Interiors, home interiors, design, plumbing, cleaning, maintaince, realestate etc. More info to visit:(https://modernhomesinteriors.com)github.com
 [2023-04-04 12:20 UTC] bussinessgrowthtimes at gmail dot com
Business growth times is new business strategy for sharing grow, business tips, finance, investment tips etc. More info to visit: (https://businessgrowthtimes.com)github.com
 [2023-04-04 12:33 UTC] requinix@php.net
-Block user comment: No +Block user comment: Yes
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 05:01:30 2024 UTC