Comments (7)
I totally missed that opcache, by default, is located in /conf.d/ext-opcache.ini :)
I'm going to close this issue and roll this feedback into #31 -- there's two issues here:
- Extensions in other files aren't detected by default
- Extensions that are specified by the full path are not detected due to the regex
I'll be looking into both of these for v4.0 :)
from phpmon.
PHP Monitor currently doesn't support full paths there. You usually don't need to specify the full path regardless.
Does changing the config to:
[opcache]
zend_extension="opcache.so"
cause issues with your PHP installation? After this, PHP Monitor should recognize it. (You should restart PHP Monitor.)
from phpmon.
After removing the full path it says "BROKEN". I'm not sure if my php installation is broken anyways if I have to specify a specific path.
from phpmon.
Okay, best put it back then :) Question: how did you install opcache
?
(My reasoning for not handling these earlier was simple: if the user specifies the full path, they probably know what they are doing. If this is what pecl install opcache
generated however, I'll need to revisit my regex that detects these. I'll keep that in mind.)
If you don't mind, you can always try removing opcache
and try reinstalling it.
Ideally you'd want the following in php.ini
as I noted before:
zend_extension="opcache.so"
To be investigated regardless.
from phpmon.
pecl install opcache
results in No releases available for package "pecl.php.net/opcache" install failed
.
I am no expert in terms of php configuration and honestly I can't remember if I had to install opcache
or if it was already bundled with the php 8 installation.
Thank you for this amazing tool!
from phpmon.
opcache
is usually bundled with PHP if you installed it via Homebrew. I'm on an older version for test purposes right now, and when I run php -v
, I see:
PHP 7.2.34 (cli) (built: Mar 14 2021 10:58:02) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.34, Copyright (c) 1999-2018, by Zend Technologies
PHP Monitor reports no extensions, since opcache
is enabled by default.
If you remove the opcache
line from your php.ini
file and run php -v
, what's the output?
from phpmon.
Then the output is
PHP 8.0.3 (cli) (built: Mar 4 2021 20:42:56) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.3, Copyright (c) Zend Technologies
The only thing I find a bit strange is that opcache is shipped packaged with PHP but yet an absolute path to the opcache.so file must be specified.
from phpmon.
Related Issues (20)
- [Feature] Choose terminal app for "Open in Terminal" HOT 2
- Duplicated value in Domains list window HOT 4
- Statamic is not being detected correctly HOT 6
- Current helper binaries are incompatible with fish HOT 6
- [Bug] Toggling extensions in `conf.d` does not work as expected HOT 5
- [Feature] Install, remove and manage PHP extensions (per PHP version) HOT 1
- [Feature] Manual language selection HOT 5
- [Bug] Cannot install PHP 8.3 at the moment HOT 2
- [Feature] Bulk manage PHP versions HOT 4
- [Bug 6.x] PHP 8.2 is identified as version 8.3.0 (via Homebrew) HOT 7
- [Bug 7.x] Error Warning: Cannot load module "redis" when install via Extension manage HOT 5
- [Polish] Improve reliability of PHP Version Manager
- [Bug 7.x] Various UI issues w/ Extension Manager HOT 1
- [Polish] Quality of life changes for extension management HOT 1
- [Bug] PHP Extension Manager not showing any extensions on Intel Mac HOT 15
- PHPMON doesn't open after cleaning a Mac HOT 2
- [Troubleshooting] Fails to find Valet after debug install HOT 6
- [Troubleshooting] PHP 8.1 site with Xdebug causes Bad Gateway error HOT 24
- [Bug] Too many suggestions in popover HOT 2
- [Bug] Error when listing services HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpmon.