Binaryfolks 2020 Dev Assignment
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
ad_hitech
Posts : 7
Join date : 2020-07-26
Age : 25

My First Problem Empty My First Problem

Sun Jul 26, 2020 12:08 am
I want to install composer but It needs the path of my php .I downloaded PHPStorm and installed it..How to give its path?
avatar
ritendubhattacharyya
Posts : 13
Join date : 2020-07-25

My First Problem Empty Re: My First Problem

Sun Jul 26, 2020 12:45 am
if you are using xampp see in xampp folder there is a folder name 'php'. in that folder u will find the php.exe, that is the path u should use

Subhrajit Majumder likes this post

avatar
Mahasweta Bhowmick
Posts : 7
Join date : 2020-07-26

My First Problem Empty Re: My First Problem

Sun Jul 26, 2020 1:32 am
first of all you need to download xampp for local server then composer and git and which ever text editor you want to use, after downloading xampp start apache & Mysql aswell, then you need to install composer (as composer wants xampp file that is why firstly you need to install xampp) then click composer it will choose automatically the xampp path, click on next and next and it get insall. after that install git or git bash whatever u called, click next n next again next one pop up gets on ur screen choose last option "use the native window secure channel library"( we use it because as windows command prompt for ls commands), rest of all choose as default. After that install visual studio code (i use VSC) then open it then go to view then integrated terminal then type on terminal( cd.. enter , cd.. enter, cd xampp/htdocs enter, composer create-project laravel/laravel lsapp enter) after this laravel will installing on ur pc. After installing laravel change the directory type cd lsapp. Then go to project click on open file then click on c drive then goto xampp then click on htdocs then click ls app , all the file will open up.

Then for checking laravel goto browser type localhost/lsapp/public (enter) laravel interface will appear on ur screen , but there is a security issue for that u need to change the host file for that u need to follow some steps.
step 1- goto c drive then xampp then apache the extra then open up vhost file by using notepad, change virtual host file.
<virtualhost *:80>
documentroot "C:/xampp/htdocs"
servername localhost
</virtualhost>

virtualhost *:80>
documentroot "C:/xampp/htdocs/lsapp/public"
servername lsapp.test
</virtualhost>
then save the file.

After that open notepad as administrator then open file goto c drive , goto windows goto system 32 goto drivers goto etc change text document to all file choose .host file , then edit type
127.0.0.1 localhost
127.0.0.1 lsapp.test
After all this stop xampp and restart again.
Then goto browser type "lsapp.test" same laravel page will open up on ur screen.
THIS IS HOW YOU NEED TO INSTALL LARAVEL AND THEN ENJOY CODING!
THANK YOU.
I HOPE THIS MAY HELP YOU!

ad_hitech, Subhrajit Majumder and Lovely-Kumari like this post

Sponsored content

My First Problem Empty Re: My First Problem

Back to top
Permissions in this forum:
You cannot reply to topics in this forum