phpsymfonypearsymfony2adsapi-php.ini

Fatal error: require_once(): Failed opening required 'C:\xampp\htdocs\sample\web/../app/bootstrap.php.cache' (include_path='.;C:\xampp\php\pear\PEAR')


I am new to Symfony for a project. I am getting the following error when everything is okay. My Symfony

My php.ini file

[PHP]

;;;;;;;;;;;;;;;;;;;
; About php.ini   ;
;;;;;;;;;;;;;;;;;;;


;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
;Windows: "\path1;\path2"
include_path = ".;C:\xampp\php\pear\PEAR"
;PHP's default setting for include_path is ".;C:\xampp\php\pear\PEAR"
; http://php.net/include-path


Tried every solution available but can't able to solve the problem. Wasted 3 days already. Can anyone help me out? Many thanks.


Solution

  • you need to execute this command

    sudo php vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php