![]() We are using the zip link of Opencart 3.0.3.6 as this is the latest version of Opencart now. ![]() You can get the zip URL from the Github Opencart releases. Now, let’s retrieve the Opencart zip code by using wget. So, let’s remove it by the following command: sudo rm index.html When you do the ls command then you will see index.html which shows the Bitnami page. Opencart installation steps in the AWS Lightsail LAMP stackĬhange the directory to /opt/bitnami/apache2/htdocs cd /opt/bitnami/apache2/htdocs If you are using the latest LAMP stack in AWS Lightsail then it is greater than PHP 7.4. If your PHP version is less the 7.3 than you need to upgrade to PHP 7.3+ php -v To ensure your system is up-to-date, you can run the following command: sudo apt update -yĬheck your PHP version by the following command as Opencart needs PHP version 7.3. Update system and PHP version in AWS lightsail It may look similar to the below screenshot. Or you can navigate from All services > Compute > Lightsail. The main AWS Lightsail dashboard page is separate from the main AWS dashboard. Go to, and create an account or log in to your AWS account. All of the PHP modules and components needed for Opencart hosting are available in the LAMP stack of AWS Lightsail. AWS Lightsail LAMP stack includes the latest versions of PHP 7+, Apache, and MySQL with phpMyAdmin and pre-configured components and PHP modules include FastCGI, ModSecurity, SQLite, Varnish, ImageMagick, xDebug, Xcache, OpenLDAP, Memcache, OAuth, PEAR, PECL, APC, GD, and cURL. Placing my index.html file in the DocumentRoot defined in nf would solve the problem, but this approach is neither clean nor extensible.In this hosting tutorial, we are looking into the AWS Lightsail LAMP stack, where we will host Opencart in AWS, and found out that there is no easy way to install it like WordPress or Magento even in AWS Lightsail, hope the Opencart package will be added soon, but for now, we need to use LAMP stack to host the Opencart in the AWS Lightsail. Include "/opt/bitnami/apache/conf/bitnami/nf"īoth /opt/bitnami/apache/conf/vhosts/nf and /opt/bitnami/apache/conf/bitnami/nf define a virtual host listening on port 80 (the second being thus ignored) and referring to two different DocumentRoot paths. ![]() I've also tried to restore the original LocalSettings.php file but, even in this case, I cannot access the default index.html in /opt/bitnami/apache2/htdocsĮdit 2: The problem is rooted in /opt/bitnami/apache/conf/nf, towards the end, it contains the following lines: IncludeOptional "/opt/bitnami/apache/conf/vhosts/*.conf" If you already have a Web page and you want to serve its content with Apache, copy your file to the default document root directory at /opt/bitnami/apache/htdocs/. Of course, I've already (and unsuccessfully) tried with what's suggested in the docs: When visiting I want an index page to be displayed, while I want to be redirected to the wiki whenever accessing URLS starting by /wiki. Whenever accessing I get redirected to the wiki, but I don't want to. I'm running a virtual machine for Mediawiki packaged by Bitnami ( ) and I've set a domain name for the machine so that now the wiki responds to say.
0 Comments
Leave a Reply. |