Error Hosting - Zend Framework 2

Asked

Viewed 56 times

2

I am hosting a system created in Zend 2 on a dedicated server with Windows Server 2008, Apache 2.4, PHP 7.1.5.

The user that is running apache is already with full permission in the files, but I am getting the following error:

Fatal error: require_once(): Failed Opening required '/vendor/Doctrine/Orm/lib/Doctrine/ORM/Mapping/Driver/Doctrineannotations.php' (include_path='.;C: php Pear') in C: Apache24 htdocs urldosite.com.br vendor Doctrine Annotations lib Doctrine Common Annotations Annotationregistry.php on line 64

Does anyone know how I can solve?

1 answer

0

use __DIR__ to take the right path, if using autoloader revise it is carrying what you need.

require_once(__DIR__."path/arquivo.php")

Browser other questions tagged

You are not signed in. Login or sign up in order to post.