I've recently upgraded my server to use PHP 7.0. However following this upgrade, I noticed that my web application wasn't working. I looked in my apache2 error.log file and found this error:
PHP Fatal error: Uncaught Error: Class 'Zend_Loader_Autoloader' not found
When I do 'php -v' on the command line, it shows this:
PHP 7.0.0-5+deb.sury.org~trusty+1 (cli) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
It looks like the framework is installed, but for the cli only (not Apache).
Does anyone know how to enable it for Apache?
Thanks.
No comments:
Post a Comment