How to deploy Bagisto using FTP
-
Hi everyone, first of all thank you for this amazing open source ecommerce solution.
I want to deploy my bagisto app using ftp because my hosting service doesn't provide bagisto installer in softaculous . I can't install it. Could someone help me?
https://devdocs.bagisto.com/2.x/deploy/ is still work in process I guess because it is empty
-
@AhmtMtlu Bagisto installed is provided by softaculous. If softaculous is there, bagisto will also be there.
Check this guide: https://bagisto.com/en/how-to-install-bagisto-on-shared-hosting/
-
@admin Yes, you are right but I can't install bagisto using softaculous because my shared hosting provider not allow me using installer. I mean there is no installer option for Bagisto that's why I have to set it up using FTP.
[Edit]
I found a solution, just zip your bagisto project and upload to your server and extract it then create .httaccess file in public_html and add those lines. Don't forget to create symlink for images!.htacess file
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(.*)$ /public/$1 [L,QSA]php -- BEGIN cPanel-generated handler, do not edit
<IfModule mime_module>
AddHandler application/x-httpd-ea-php81 .php .php8 .phtml
</IfModule>php -- END cPanel-generated handler, do not edit
-
@AhmtMtlu Great, so is the problem resolved as of now for you?