![]() ![]() Let say in your hosting server (VPS, or shared hosting…whatever), you have current www/ directory, which is accessible publicly via web domain, for example: /Users/username-blah/www/ Directory Structure hostgator user homeĪs you can see we have a directory public_html which is a public directory for keeping our projects. The home directory structure of shared server looks something like this. Once it’s able to connect to the server, It will prompt you for the SSH password, which should be same as your cPanel account password Here is the general command to SSH into the Server $ ssh //Replace username with cPanel username and server-ip with Server IP Address. Note: SSH instructions are usually included in the welcome email. Note : You can ignore this step if your Laravel version requires PHP 5.4 or your hosing provider by defaults provides PHP v > 7.0 Change PHP Version Hostgator for LaravelĪs the first step, Open your terminal / command line and SSH into your Shared Hosting Server Login to your cPanel using credentials sent to your email on Hostgator account signup.Ĭhoose option Change PHP Version and change the current version to > 7.1 Laravel 5.5 requires PHP version greater than 7.0. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |