August 2017
Intermediate to advanced
278 pages
8h 53m
English
We'll go through this one in sections. Magento is different from many flat file / single root directory structures, so it requires some slight changes compared to a basic PHP site.
set $MAGE_ROOT /var/www/html;
This sets a variable we can easily reference and it means there's only one place we need to update if we move the files:
root $MAGE_ROOT/pub/;
All of the main website files sit in the pub subdirectory. This is commonly overlooked when uploading the files to a shared hosting platform such as CPanel or Plesk. Ensure that the main root directive points to the pub folder, not just the directory of the Magento files. The root directive is therefore pointed at the pub folder with the preceding configuration line.
Conversely, ...
Read now
Unlock full access