How to Install Bagisto on GoDaddy?

9 minutes read

To install Bagisto on GoDaddy, follow these steps:

  1. Log in to your GoDaddy account and access your hosting cPanel.
  2. Navigate to the "File Manager" option in the cPanel.
  3. Locate the folder where you wish to install Bagisto.
  4. Click on "New Folder" to create a new folder (you can name it as per your preference).
  5. Access the folder you just created by double-clicking on it.
  6. Download the latest version of Bagisto from the official website (
  7. Upload the downloaded Bagisto zip file to the folder you created. You can upload it through the File Manager's "Upload" option or use FTP if you prefer.
  8. Once the zip file is uploaded, select it and click on "Extract" in the File Manager toolbar. This will extract the contents of the zip file into the current folder.
  9. After extraction, navigate inside the Bagisto folder using the File Manager.
  10. Locate the "public" folder within Bagisto and move all its contents to the parent folder.
  11. Go back to the parent folder.
  12. Locate the "index.php" file in the parent folder and right-click on it. Choose the "Edit" option to modify the file.
  13. Look for the following line in the "index.php" file:
require __DIR__.'/../vendor/autoload.php';

Replace it with:

require __DIR__.'/vendor/autoload.php';

  1. Save the changes to the "index.php" file.
  2. Now, you need to create a MySQL database for Bagisto. Go back to the cPanel and navigate to the "MySQL Databases" option.
  3. Create a new database by entering a name and clicking on "Create Database".
  4. Create a new MySQL user by scrolling down to the "MySQL Users" section. Enter a username and password, then click on "Create User".
  5. Assign the newly created user to the database by scrolling down to the "Add User to Database" section. Select the user and database from the dropdown menus, and click on "Add".
  6. On the next page, grant all privileges to the user by ticking the checkbox and clicking on "Make Changes".
  7. Open a web browser and visit your Bagisto installation by entering the domain or subdomain where you uploaded Bagisto (e.g., or
  8. Follow the on-screen instructions to complete the Bagisto installation process, providing the necessary details such as the database name, username, password, and other configuration settings.

That's it! You have successfully installed Bagisto on GoDaddy hosting.

Best Web Hosting Services of 2024


Rating is 5 out of 5



Rating is 4.9 out of 5



Rating is 4.8 out of 5



Rating is 4.6 out of 5


What are the database connection details required during installation?

The specific database connection details required during installation may vary depending on the software being installed. However, typically, the following information is needed:

  1. Database Type: The type of database being used, such as MySQL, PostgreSQL, Oracle, etc.
  2. Hostname: The hostname or IP address of the machine where the database is located.
  3. Port Number: The port number on which the database is running. The default port number for various database types can be found in the respective database's documentation.
  4. Database Name: The name of the specific database within the database server that will be used for the installation.
  5. Database Username and Password: The username and password credentials for authenticating and accessing the database.

In some cases, additional details, such as socket file paths, database prefixes, or schema names, may also be required. It is best to refer to the installation instructions or documentation specific to the software being installed for accurate and complete database connection details.

What is an SMTP server and how to configure it for Bagisto?

An SMTP server stands for Simple Mail Transfer Protocol server. It is a server responsible for sending, receiving, and relaying outgoing mail between email senders and receivers.

To configure the SMTP server for Bagisto, you need to follow these steps:

  1. Open the Bagisto project in your text editor.
  2. Locate the .env file in the root directory of your Bagisto project.
  3. Open the .env file and search for the MAIL_MAILER field.
  4. Set the value of MAIL_MAILER to smtp.
  5. Next, find the MAIL_HOST, MAIL_PORT, MAIL_USERNAME, and MAIL_PASSWORD fields and set their values according to your SMTP server provider's details. MAIL_HOST field should contain the hostname or IP address of your SMTP server. MAIL_PORT field should contain the port number, usually 587 or 465, used by your SMTP server. MAIL_USERNAME field should contain your SMTP server username or email address. MAIL_PASSWORD field should contain your SMTP server password.
  6. If your SMTP server requires a secure connection, you can set the MAIL_ENCRYPTION field to tls or ssl, depending on your provider's requirements.
  7. Save the .env file.
  8. Clear the cache of your Bagisto project by running php artisan config:cache command in the terminal.

After following these steps, your Bagisto project will be configured to use the specified SMTP server for sending emails.

How to install composer on GoDaddy's server?

To install Composer on GoDaddy's server, you can follow these steps:

  1. Log in to your GoDaddy account and go to your hosting dashboard.
  2. Navigate to the cPanel for your hosting account.
  3. In the cPanel, look for the "Software" section and click on "Select PHP Version" (or similar).
  4. In the PHP Version section, make sure you are using the desired PHP version. Also, ensure that the PHP extension "openssl" is enabled (Composer requires this extension).
  5. Exit the PHP Version section and return to the cPanel homepage.
  6. Look for the "Advanced" section and click on "Terminal" (or similar).
  7. In the Terminal, navigate to the directory where you want to install Composer. For example, if you want to install it in your public_html folder, use the command:
cd public_html

  1. Download the Composer installer by running the following command:
php -r "copy('', 'composer-setup.php');"

  1. Run the installer by executing the command:
php composer-setup.php

  1. Once the installer completes, you will get the message "All settings correct for using Composer."
  2. Next, move the Composer PHAR file to the desired location:
php -r "copy('composer.phar', '/usr/local/bin/composer');"

  1. Set the correct permissions for the Composer executable by running:
chmod +x /usr/local/bin/composer

  1. Verify the installation by typing the following command to display the Composer version:
composer -V

If you see the Composer version, it means that Composer has been successfully installed on your GoDaddy server.

Note: The steps may vary slightly depending on the server configuration or interface provided by GoDaddy.

How to check if GoDaddy meets Bagisto's system requirements?

To check if GoDaddy meets Bagisto's system requirements, follow these steps:

  1. Visit the official website of Bagisto or check the documentation to find the specific system requirements for the application.
  2. Go to GoDaddy's website and navigate to the hosting plans or server options page.
  3. Compare the system requirements of Bagisto with the features and specifications provided by GoDaddy. Pay attention to the following factors: Operating system: Ensure that GoDaddy offers the required operating system, such as Linux or Windows. Server type: Check if GoDaddy provides shared hosting, virtual private servers (VPS), or dedicated servers. Make sure the chosen hosting plan meets Bagisto's recommendations. PHP version: Verify if the GoDaddy server supports the required version of PHP mentioned in Bagisto's system requirements. Database: Check if GoDaddy supports the recommended database by Bagisto, such as MySQL or MariaDB. Web server: Ensure that GoDaddy supports the recommended web server, such as Apache or Nginx. Required PHP extensions: Make sure GoDaddy has the necessary PHP extensions installed (e.g., OpenSSL, PDO, Mbstring, etc.) as dictated by Bagisto's requirements.
  4. If the information provided by GoDaddy matches all the necessary system requirements mentioned by Bagisto, then GoDaddy should meet Bagisto's requirements.
  5. In case you are uncertain or need further assistance, contact GoDaddy's customer support to confirm if their hosting services align with Bagisto's system requirements.

What is the public directory in Bagisto and how to configure it?

The public directory in Bagisto is the folder where all the publicly accessible files of the application are stored. It contains the index.php file, which serves as the entry point for the application.

To configure the public directory in Bagisto, you need to follow these steps:

  1. Open the "config/app.php" file in your Bagisto project.
  2. Locate the 'public_path' key in the 'app' array. By default, it is set to base_path('public').
  3. Change the value of the 'public_path' key to the desired folder path you want to use as the public directory. For example, if you want to use a folder named "public_html" as the public directory, change the value to base_path('public_html').
  4. Save the changes and close the file.

After configuring the public directory, you may need to update the web server configuration to point to the new public directory. If you are using Apache, you can modify the "DocumentRoot" directive in the virtual host configuration file. For Nginx, modify the "root" directive in the server block.

Remember to restart the web server to apply the changes.

Facebook Twitter LinkedIn Telegram Pocket

Related Posts:

Running Ghost on GoDaddy is a tutorial that guides you through the process of setting up and running a Ghost blog on GoDaddy hosting. Ghost is a popular open-source content management system (CMS) that is specifically designed for creating professional blogs a...
To launch Ghost on GoDaddy, follow these steps:Purchase a domain and a hosting plan from GoDaddy that meets the minimum requirements for running Ghost, which are PHP 7.3 or higher and MySQL 5.5 or higher. Access your GoDaddy account and navigate to the hosting...
Sure! Here's a brief explanation of how to publish Discourse on GoDaddy:Sign up for a hosting plan: Go to the GoDaddy website and sign up for a hosting plan that meets the requirements for hosting a Discourse forum. Ensure that the plan provides adequate s...