file_put_contents: Failed to open stream, no such file or directory

Amit Kumar
Aug 20, 2021

--

In this tutorial i’m going to solve how to solve this types of error.

When I run this project its showing some errors as like file_put_contents: Failed to open stream, no such file or directory

First step 1

First go to your folder directory -> C:\xampp\htdocs\email-verification-token\bootstrap\cache

And delete config.php file and run below command

composer dump-autoload
composer install
php artisan cache:clear
php artisan config:clear
php artisan optimize
php artisan clear-compiled

Now my problem has been solved I hope its helpful for you.

Now its solved.

--

--

Amit Kumar

Hi I am Amit Experienced Web Developer with a demonstrated history of working in the information technology and services industry.