I've got an application placed in path
/var/www/webapp/myapp
"vendor" folder is placed in
/var/www/webapp/myapp/OLDdir/vendor
Now i want to change this in
/var/www/webapp/myapp/NEWdir/vendor
Done. I have updated the path to autoload, of course.
/var/www/webapp/myapp/NEWdir/vendor/autoload.php
Composer's autoload fails because
require_once(/var/www/webapp/myapp/OLDdir/vendor/composer/autoload_real.php):
failed to open stream: No such file or directory in
/var/www/webapp/myapp/OLDdir/vendor/autoload.php
I tried every command line, such as dump-autoload and clear-cache but nothing changes! It is always looking for OLDdir, somehow. I ran a full-text search for "OLDdir" in the entire folder tree, but nothing was found.
I guess if it is possible to change some folder name having composer installed... is it?
Thank you