I have installed magento 2 in a subfolder /var/www/magento2/
i want it to be seen from var/www/
I changed dir in store customize for both http and https
I copied .htaccess and the index.php.
i changed the dir of line 22 ...
try {
require __DIR__.’/app/bootstrap.php';
}
to this : require __DIR__.’/magento2/app/bootstrap.php';
Now an error comes up
Parse error: syntax error, unexpected '';' (T_ENCAPSED_AND_WHITESPACE) in /var/www/maniacopenhagen.dk/public_html/index.php on line 22
Hi @karebuje,
The error you've mentioned at the end is becasue when you changed the file, probably, you made a mistake.
Take a look to the line 22.
hi @damian Culotte
thanx for the quick response...
The error suggest that - unexpected '';' - but the ; is already there..
all I alter is the folder /magento2/ And that is the correct folder name