PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0
Showing posts with label laravel-valet. Show all posts
Showing posts with label laravel-valet. Show all posts

Friday, May 20, 2022

[FIXED] How to install Laravel Valet on Mac Mojave?

 May 20, 2022     composer-php, laravel-valet     No comments   

Issue

I'm trying to install Laravel Valet on my system using Homebrew. I'm on the step where I'm installing Composer. I'm trying to install it globally. After installing it says: Composer (version 2.0.12) successfully installed to: /Users/ryan/composer.phar But when I try to check the version using composer -v, it says: Could not open input file: /usr/local/bin/composer.phar. Why is it looking there? Also, this is what I have in my PATH's file:

/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
~/.composer/vendor/bin

I think it's a PATH issue, but I'm not sure. Thank you.


Solution

I just moved the composer.phar and composer.json files to this location: /usr/local/bin/. That solved this issue for me.



Answered By - Ryan Sacks
Answer Checked By - David Goodson (PHPFixing Volunteer)
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg

Sunday, January 16, 2022

[FIXED] Installing Laravel Valet on macOS Heigh Sierra

 January 16, 2022     composer-php, laravel, laravel-5, laravel-valet, php     No comments   

Issue

I'm having issues installing Laravel Valet on macOS Heigh Sierra I already did the following steps.

  1. /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" - this worked fine

  2. brew update - this worked fine

  3. brew install homebrew/php/php71 - this worked fine

  4. composer global require laravel/valet - this gives me command not found.

I know I'm supposed to add it to the path, but this command composer global require laravel/valet should work before I add the path


Solution

Shouldn't you install composer somewhere before executing it? Try executing brew install composer after installing PHP



Answered By - Nico Haase
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg

Wednesday, January 5, 2022

[FIXED] Laravel valet secure does not work and where is nginx information coming from after deletion?

 January 05, 2022     composer-php, laravel, laravel-valet, nginx, valet     No comments   

Issue

So I am working on Laravel/Valet, I was trying to use ssl. So I ran:

valet secure examplesite 

This did not work. I have uninstalled valet, cleared cache, remove laravel/valet. Nothing worked. I just could not open the https://examplesite.test site. However, the non-secure http site is working fine.

Question 1: How can I get this to work? I am on MAC OS Sierra.

Question 2: Even after removing nginx and valet, I am still seeing something like the image shown like this image when I load the page. Where is the information about the server nginx coming from?

Thank you very much.


Solution

So after running valet secure in the same directory of the web project;

I ran the code below:

    sudo nginx -s stop && sudo nginx


Answered By - franc
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg

Wednesday, December 29, 2021

[FIXED] Valet - phpMyAdmin throws 404 not found

 December 29, 2021     laravel-5, laravel-valet, phpmyadmin     No comments   

Issue

Before installing Laravel and Valet on my dev environment (Ubuntu), I had installed PHP 7, MySQL and phpMyAdmin and everything was working fine.

In order to install Valet I had to disable apache2 as Valet was complaining during the instalation and add nginx and follow these steps https://github.com/cpriego/valet-linux/wiki/Requirements:%20Ubuntu

However after the instalation when I try to access the phpMyAdmin through the browser I'm getting the default white page 404 - not found. How can I fix this?


Solution

You have parked your workspace directory using

valet park

Clone the phpmyadmin repository using

git clone https://github.com/phpmyadmin/phpmyadmin --depth=1
cd phpmyadmin
composer install

In the same directory just download phpmyadmin package & extract it. You will be able to access it from

http://phpmyadmin.test


Answered By - Ganesh
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Older Posts Home
View mobile version

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
All Comments
Atom
All Comments

Copyright © PHPFixing