Closed kevingale closed 10 years ago
what's is your extension_dir in php.ini, and where did you put php_opcached to?
I am not sure but as I remembered, the dll must be putted in system32 folder
Hi.
The extension_dir points to a sub folder within my php folder and I have placed the files inside that directory. There are other extensions in this directory and they load okay (if I rename other extension dll files as a test php complains that they cannot be found). This is the same setup that I have on the server where the opcache works.
Kev
could you please have a try to put it into system32 folder?
Hi.
I've just tried this and unfortunately, it still does not load.
Kev.
Try: zend_extension=ext/php_opcache.dll in your php.ini
If that does not work, try the full path, something like zend_extension=c:/php/ext/php_opcache.dll
Hi.
zend_extension=ext/php_opcache.dll works - thank you!!
Is there any reason why I had to prefix the name with ext/ on this server while on another server I didn't?
Kev.
IIRC, there is a difference between PHP versions. In 5.5 it is without the ext/, in 5.3/5.4 with the ext/.
I must admit i'm running the same build of 5.4 on both servers. Most importantly is that it now loads. Thanks.
I realized that after posting my first comment and thought it would not work ;-)
BTW: close the issue.
Hi.
I am trying to get the compiled ZendCache 7.0.3 extension to run on a Windows 2012 server. No matter what I try I always get the error "Failed loading php_opcache.dll".
I have tried multiple versions of PHP5.4 including 5.4.29 but they all fail with the same error. I have checked security settings etc.. and I see no reason why PHP would not be able to load the dll. If I remove the dll I get the exact same error message.
I can get the exact same ZendCache & PHP version & PHP .ini to run on a different server which is running an earlier version of Windows Server.
Is there any way to get more in-depth error messages which might help track down the problem?
Thanks. Kev.