amnuts / opcache-gui

A clean, effective and responsive interface for Zend OPcache
1.22k stars 198 forks source link

Depend on Zend Opcache extension instead of PHP 5.5 #3

Closed jkrehm closed 9 years ago

jkrehm commented 9 years ago

Technically the library should depend on the Zend Opcache extension being present and not PHP 5.5+.

My company's application has a minimum dependency of PHP 5.4+, so many clients are on 5.4. We then recommend that they install the Opcache extension separately. With PHP 5.5 as a requirement the Composer install fails, even though they have Opcache installed.

I tested my change with the following:

Version Opcache Outcome
5.4 No Failed
5.4 Yes Succeeded
5.6 Yes Succeeded
amnuts commented 9 years ago

Ah, cool, thanks!