Skip to content

Trying to install and use XAMPP, Laravel and composer all for the first time. Had some difficulties at first and then overcame them by doing some research on working solutions.

Notifications You must be signed in to change notification settings

JHUSSM/Laravel-PHP

Repository files navigation

After browsing the internet I quickly realized that to even begin writing any PHP code I'd need to download a few things. The only useful application I have pre downloaded was VS Code, which I later used. I began watching tutorials on youtube, most of which were outdated therefore useless to me but eventually I found a newer video and followed along.

  • All was going well until I received this error message.

image

But not to worry, I was sure I could figure this out. I had previously used MySQL on other projects I worked on so I was sure that was the issue and resolved it in no time. Below is how I achieved this.

I went to my old trusted cmd prlook at what was listening on this port it was number 8272

image

Went to Administrator Command Prompt and discovered it was mysql, which was the problem to begin with.

image

I then went to services and stopped mysql

image

I ran them both again and they seem to be working.

image

Next challenge i faced was that i wanted to use the 'php artisan make:auth' command to have laravel register and login users etc but when i went to use the command it had been removed from newer versions of laravel.

image

So I seached about this issue and found a solution. I used the command 'composer require laravel/ui' in my command prompt to install the laravel/ui package via the composer. I then used the command 'php artisan ui:auth' to generate the authentication scaffolding in the same way the old command used to.

This then gave me a LOGIN and REGISTER options on the top right of my PHP application.

About

Trying to install and use XAMPP, Laravel and composer all for the first time. Had some difficulties at first and then overcame them by doing some research on working solutions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published