opcache.so: cannot open shared object file: No such file or

Apache, Nginx etc... realted help

opcache.so: cannot open shared object file: No such file or

Postby Terry » Wed Nov 25, 2015 5:29 am

When try to run php script on CLI mode or when checking php version I got following error every time. :( :(

Code: Select all
# php -v
 # Failed loading opcache.so:  opcache.so: cannot open shared object file: No such file or directory


Can you guys help me to fix this ? Appreciate a lot
:D :D Catch me at FaceBook if you can :D :D
Terry
 
Posts: 2
Joined: Wed Nov 25, 2015 5:15 am

Re: opcache.so: cannot open shared object file: No such file

Postby techguru » Sat Nov 28, 2015 10:04 am

Hi,

You should have to set zend_extension path on httpd.conf

1) find file location of opcache.so
Code: Select all
which opcache.so


2) Then add file location to httpd.conf
Code: Select all
zend_extension=/path/to/the/opcache.so


That's it , reload or restart Apache
techguru
 
Posts: 3
Joined: Sat Nov 21, 2015 9:16 am


Return to Web Servers

Who is online

Users browsing this forum: No registered users and 0 guests

cron