GithubHelp home page GithubHelp logo

cpriego / valet-linux Goto Github PK

View Code? Open in Web Editor NEW

This project forked from laravel/valet

1.3K 1.3K 154.0 144.92 MB

A fork of Laravel Valet to work in Linux.

License: MIT License

PHP 90.71% Shell 9.20% HTML 0.08%
arch-linux fedora laravel linux ubuntu valet

valet-linux's People

Contributors

aaemnnosttv avatar adamwathan avatar adesin-fr avatar cca-bheath avatar cognitus avatar coolpraz avatar corey-evans avatar cpriego avatar creeppork avatar foxgrovemedia avatar hajmo avatar igorpan avatar indykoning avatar jasonvarga avatar jerguslejko avatar jmarcher avatar jpscharf avatar kennedytedesco avatar kraveir0 avatar lucasmichot avatar mattstauffer avatar nickurt avatar nikazooz avatar nuernbergera avatar pespantelis avatar rodrigopedra avatar sasin91 avatar taylorotwell avatar thenodi avatar vmitchell85 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

valet-linux's Issues

[Encrypted /home] Valet is not automatically starting after a system reboot.

First off @cpriego et al thanks for porting valet! It's making switching between mac and linux much simpler!

I may have misinterpreted the docs but my understanding was that valet should automatically start on system boot, this is not happening for me, I have to valet restart each time I boot, but after that it works exactly as expected.

OS: Ubuntu 17.04
PHP: 7.0.15
NetworkManager: 1.4.4

valet install: PHP Fatal error: Uncaught ReflectionException: Class 0 does not exist in /root/.composer/vendor/illuminate/container/Container.php:741

root@waiylgeek:~# valet install
PHP Fatal error:  Uncaught ReflectionException: Class 0 does not exist in /root/.composer/vendor/illuminate/container/Container.php:741
Stack trace:
#0 /root/.composer/vendor/illuminate/container/Container.php(741): ReflectionClass->__construct('0')
#1 /root/.composer/vendor/illuminate/container/Container.php(631): Illuminate\Container\Container->build(0, Array)
#2 /root/.composer/vendor/cpriego/valet-ubuntu/cli/includes/helpers.php(58): Illuminate\Container\Container->make(0)
#3 /root/.composer/vendor/cpriego/valet-ubuntu/cli/Valet/Valet.php(141): resolve(0)
#4 [internal function]: Valet\Valet->Valet\{closure}(0, 'Valet\\PackageMa...')
#5 /root/.composer/vendor/illuminate/support/Arr.php(153): call_user_func(Object(Closure), 0, 'Valet\\PackageMa...')
#6 /root/.composer/vendor/illuminate/support/Collection.php(233): Illuminate\Support\Arr::first(Array, Object(Closure), Object(Closure))
#7 /root/.composer/vendor/cpriego/valet-ubuntu/cli/Valet/Valet.php(144): Illuminate\Support\Collection->first(Object(Closure), Object(Closure)) in /root/.composer/vendor/illuminate/container/Container.php on line 741

502 Bad Gateway

502 Bad Gateway

OS : Ubunthu 16.10
PHP : PHP 7.1.2-4+deb.sury.orgyakkety+1 (cli) (built: Mar 2 2017 10:40:28) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.1.2-4+deb.sury.org
yakkety+1, Copyright (c) 1999-2017, by Zend Technologies

Unable to determine PHP-FPM configuration folder.

While installing I get this weird Unable to determine PHP-FPM configuration folder. error message.

Using Ubuntu 16.10, installed php 7.0 fpm and it is running fine according to services. Full Output:

 daniel@fuckwindows  ~  valet install                 
Stopping nginx...

                                                     
  [DomainException]                                  
  Unable to determine PHP-FPM configuration folder.  
                                                     

install [--ignore-selinux]

Valet install uncaught error

When I ran "valet install" I got the following error:
namnguyen@namnguyen-linux:~/.composer$ valet install PHP Fatal error: Uncaught ReflectionException: Class 0 does not exist in /home/namnguyen/.composer/vendor/illuminate/container/Container.php:734 Stack trace: #0 /home/namnguyen/.composer/vendor/illuminate/container/Container.php(734): ReflectionClass->__construct('0') #1 /home/namnguyen/.composer/vendor/illuminate/container/Container.php(629): Illuminate\Container\Container->build(0, Array) #2 /home/namnguyen/.composer/vendor/cpriego/valet-linux/cli/includes/helpers.php(58): Illuminate\Container\Container->make(0) #3 /home/namnguyen/.composer/vendor/cpriego/valet-linux/cli/Valet/Valet.php(141): resolve(0) #4 [internal function]: Valet\Valet->Valet\{closure}(0, 'Valet\\PackageMa...') #5 /home/namnguyen/.composer/vendor/illuminate/support/Arr.php(157): call_user_func(Object(Closure), 0, 'Valet\\PackageMa...') #6 /home/namnguyen/.composer/vendor/illuminate/support/Collection.php(282): Illuminate\Support\Arr::first(Array, Object(Closure), Object(Closure)) #7 /home/namnguyen/.composer/vendor/cpriego/valet-linux/cli/Valet/Valet.php in /home/namnguyen/.composer/vendor/illuminate/container/Container.php on line 734

My environment details are:
Ubuntu 16.10
PHP 7.0.15
composer 1.4.1

Please help me figure out what happened. Thank you so much!

error in nginx conf

nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1
nginx: [emerg] unexpected ";" in /etc/nginx/nginx.conf:3

after removing extra semi colon on code this error occur

nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1
nginx: [emerg] open() "/etc/nginx/mime.types" failed (2: No such file or directory) in /etc/nginx/nginx.conf:11

Valet share fails

There is problem in valet share in Ubuntu 16.04

Failed to complete tunnel connection

The connection to http://1f6622a1.ngrok.io was successfully tunneled to your ngrok client, but the client failed to establish a connection to the local address muts.dev:null.

Make sure that a web service is running on muts.dev:null and that it is a valid address.

The error encountered was: dial tcp 127.0.0.1:9: getsockopt: connection refused

Valet doesn't use the same .ini files as `php artisan serve`

I was doing the following laracasts tutorial and installed valet-linux following the procedure for Fedora.

When I reached the moment to add db (postgresql) support to my website, php artisan migrate worked flawlessly but I was getting PDOException in Connector.php line 68: could not find driver when serving it.

phpinfo() revealed the following informations

Loaded Configuration File
-------------------------
/etc/php.ini

Scan this dir for additional .ini files
---------------------------------------
/etc/php.d

Additional .ini files parsed
----------------------------
/etc/php.d/20-bz2.ini, /etc/php.d/20-calendar.ini, /etc/php.d/20-ctype.ini, /etc/php.d/20-curl.ini, /etc/php.d/20-dom.ini, /etc/php.d/20-exif.ini, /etc/php.d/20-fileinfo.ini, /etc/php.d/20-ftp.ini, /etc/php.d/20-gd.ini, /etc/php.d/20-gettext.ini, /etc/php.d/20-iconv.ini, /etc/php.d/20-intl.ini, /etc/php.d/20-json.ini, /etc/php.d/20-mbstring.ini, /etc/php.d/20-mcrypt.ini, /etc/php.d/20-pdo.ini, /etc/php.d/20-phar.ini, /etc/php.d/20-posix.ini, /etc/php.d/20-shmop.ini, /etc/php.d/20-simplexml.ini, /etc/php.d/20-sockets.ini, /etc/php.d/20-sqlite3.ini, /etc/php.d/20-sysvmsg.ini, /etc/php.d/20-sysvsem.ini, /etc/php.d/20-sysvshm.ini, /etc/php.d/20-tokenizer.ini, /etc/php.d/20-xml.ini, /etc/php.d/20-xmlwriter.ini, /etc/php.d/20-xsl.ini, /etc/php.d/30-pdo_sqlite.ini, /etc/php.d/30-wddx.ini, /etc/php.d/30-xmlreader.ini, /etc/php.d/40-zip.ini 

The content of /etc/php.d is

#> ls /etc/php.d/
20-bz2.ini       20-iconv.ini     20-shmop.ini      20-xsl.ini
20-calendar.ini  20-intl.ini      20-simplexml.ini  30-mysqli.ini
20-ctype.ini     20-json.ini      20-sockets.ini    30-pdo_mysql.ini
20-curl.ini      20-mbstring.ini  20-sqlite3.ini    30-pdo_pgsql.ini
20-dom.ini       20-mcrypt.ini    20-sysvmsg.ini    30-pdo_sqlite.ini
20-exif.ini      20-mysqlnd.ini   20-sysvsem.ini    30-wddx.ini
20-fileinfo.ini  20-pdo.ini       20-sysvshm.ini    30-xmlreader.ini
20-ftp.ini       20-pgsql.ini     20-tokenizer.ini  40-zip.ini
20-gd.ini        20-phar.ini      20-xml.ini
20-gettext.ini   20-posix.ini     20-xmlwriter.ini

Note that according to phpinfo(), 20-pgsql.ini and 30-pdo_pgsql.ini aren't parsed (even though they are in /etc/php.d).

Using php artisan serve instead of valet fixed the problem. It's probably a configuration problem on my part, but the fact that both files aren't loaded seems suspicious to me.

I'm using Fedora 25 and php 7.0.16. Php and its modules the ones from Fedora official repositories.

Google Chrome error ERR_ICANN_NAME_COLLISION on Ubuntu 17.04

Everything worked well until today when I upgraded Ubuntu from 16.10 to 17.04.

I've tried the fixes you've provided on the wiki and in this thread but nothing seems to be working.
I'm still getting the "ERR_ICANN_NAME_COLLISION" error on Google Chrome.

The nameserver is set to 127.0.0.53 in the /etc/resolv.conf file.
The /etc/NetworkManager/NetworkManager.conf file's content is:

[main]
plugins=ifupdown,keyfile
dns=dnsmasq

[ifupdown]
managed=false

I've stopped the dnsmasq service and restarted the network manager and even reinstalled and upgraded valet to the latest version without success.

Any help would be greatly appreciated.

Global function conflicts with local Laravel install

Hi,
I ran into this issue:

PHP Fatal error:  Cannot redeclare info() (previously declared in 
/home/xxx/xxx/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:517) in
 /home/xxx/.config/composer/vendor/cpriego/valet-linux/cli/includes/helpers.php on line 20 

Am I doing something wrong with the autoloader? Or should the global functions be replaced by a namespaced class? I'm happy to do it if needed.

Php-fpm is not running...

I'm getting this message

Php-fpm is not running...
Nginx is not running...

when I run valet status.

dnsmasq is also not running, so valet is not working.


El problema que tengo en Antergos y Arch es el de este mismo issue, pero con las instrucciones que me proporcionaste para fedora (descomentando la linea Defaults env_keep +="HOME") la instalación continua perfectamente, pero a la hora abrir cualquier dominio .dev Chrome me tira el error de ERR ICANN NAME COLLISION lo que quiere decir que los DNS no están funcionando, al igual que php-fpm y nginx no están corriendo. Lo que se me hace algo raro es que la primera vez que instalé Antergos de manera limpia la instalación de valet funcionó sin ningún problema y se ejecutó como debería ser, al reinstalar Antergos (igual limpio, eliminando y formateando particiones) comenzó este error. Instalé Arch para comprobar que no sucediera el mismo error, pero no, paso exactamente lo mismo, php-fpm, nginx y dnsmasq se instalan al ejecutar valet install via pacman pero no se ejecutan.

Valet Share

After run command valet share

Forwarding http://181d8844.ngrok.io -> oms.dev:null

why oms.dev:null ?

Case sensitive project names

When user folder with capital letters domain gets a 404 - not found.

If installed valet on an Ubuntu 16 machine with php 5.6. When using valet link in folder with capital letter got an 404 - not found error. When linking with project name with lower case name, it works.

Maybe creating symlinks always with lower case characters?

WordPress HTTP ERROR 500 Valet WordPress Arch Linux

For some reason, Laravel valet is working wonderfully on Arch Linux but WordPress via Valet goes through everything but breaks to a HTTP ERROR 500 after I put in the DB Name, Username, and Password...

Anyone else have a similar issue?

Thanks!

Not implemented reached in virtual void views::DesktopWindowTreeHostX11::InitModalType(ui::ModalType)

The Following shows up when i run valet open from inside project directory

[5545:5545:0305/182351.787278:ERROR:desktop_window_tree_host_x11.cc(1127)] Not implemented reached in virtual void views::DesktopWindowTreeHostX11::InitModalType(ui::ModalType)
[5640:5640:0305/182356.499333:ERROR:desktop_window_tree_host_x11.cc(1127)] Not implemented reached in virtual void views::DesktopWindowTreeHostX11::InitModalType(ui::ModalType)

p.s: i did valet link before this command from inside project directory.

404 - Not Found, yet everything else seems fine

Elementary Os Loki (Ubuntu 16.04)
PHP version 7.1 with all dependencies
valet status returns
Php7.1-fpm is running... Nginx is running...
Valet config.json is
{ "domain": "dev", "paths": [ "/home/moose/projects" ] }
Pinging any .dev domain returns 127.0.0.1

Just can't understand why I get 404 time I create a new Laravel project in /home/moose/projects

Duplicated $query_string from nginx

Hello,

It looks that the nginx server duplicate the query string. If i go to http://sample.dev/something?foo=bar, in the $_SERVER['QUERY_STRING'] PHP variable i have foo=bar&foo=bar instead of foo=bar.

In a bulletproof application this behaviour is well handled, but on my 5.1 Lumen, the URL routing is completely broken when i have parameters. I have MethodNotAllowedHttpException or NotFoundHttpException depending on the situation.

I think this problem comes from nginx. It is driver independant (happens on all my installations).

Maybe related #22

I will investigate after eating :)

use valet with wifi network from laptop as hotspot network

hi, I know this not an issue with the code . but I did not know where to ask this question . so here I am

I want to develop application with laravel as api for mobile applications . I have laptop running ubuntu 16.04 with valet installed on it . by default valet domains can be accessed locally . or by share some random link . I want custom static domain name served from my ubuntu laptop by the android application I use .
how the two are connected . using ubuntu network manager i managed to make hotstop wifi network the mobile can use . the default ip address for the server when open the hotspot is 10.42.0.1 . i tried to change the ip in the /etc/networkMananger/dnsmasq.d/valet . but with no luck .

if any one use valet to develop api servers for mobile application . tell me about how to handle the static custom domain problem ?

thank you

Failing to execute valet

ben@ben-Aspire-M5800-M3800:~$ composer global require cpriego/valet-linux
Changed current directory to /home/ben/.composer
Using version ^2.0 for cpriego/valet-linux
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
  - Installing cpriego/valet-ubuntu (v2.0.6) Loading from cache
  - Installing cpriego/valet-linux (v2.0.6) Loading from cache
    Skipped installation of bin valet for package cpriego/valet-linux: name conflicts with an existing file
Package cpriego/valet-ubuntu is abandoned, you should avoid using it. Use cpriego/valet-linux instead.
Writing lock file
Generating autoload files
ben@ben-Aspire-M5800-M3800:~$ valet
[sudo] password for ben: 
PHP Fatal error:  Cannot declare class Facade, because the name is already in use in /home/ben/.composer/vendor/cpriego/valet-linux/cli/includes/facades.php on line 5

Running Ubuntu 16.04

Not working in 17.04 ootb

Valet version: v2.0.17

This is what I did on a fresh Ubuntu 17.04 install:

sudo apt install libnss3-tools jq xsel php7.0-cli php7.0-curl php7.0-mbstring php7.0-mcrypt php7.0-xml php7.0-zip php7.0-sqlite3 php7.0-mysql
composer global require cpriego/valet-linux
valet install
cd ~/Sites && valet park

I expected to be able to open something like project.dev but that didn't happen. DNS was actually messed up completely (no more resolution at all) until I manually removed all valet configuration files. Running valet uninstall did not remove /etc/NetworkManager/dnsmasq.d/default.con and /etc/NetworkManager/conf.d/valet.conf. Removing the latter and restarting NetworkManager caused resolution to work again.

The fix in 74cfb2d does not seem to help.

I tried valet update and got multiple errors, one of them a missing jq dependency which is not listed anywhere. I'll continue to investigate.

can not reach internet after install valet

i use Linux mint 18
after follow instruction of valet installation i can't reach internet or ping to any site.

i can reach internet after stop dnsmasq sudo service dnsmasq stop

Nginx: Fix to “405 Not Allowed”

Hi!

All my API endpoints which are Post result in a
MethodNotAllowedHttpException in RouteCollection.php line 233:

So, after my research, I think the error is due to nginx.

Anyone knows how to solve this issue?

Domain Exception: Unable to determine service name

Hi

I got this error ('Unable to determine service name') while running valet install. Almost every valet command I input yields this error. I tried to reinstall the complete package but the same happened.

On an other machine, it worked last saturday (after stop, uninstall and reinstall, to be precise). Can't install on this machine...

Any idea?

installation issue

I run this command

sudo composer global require cpriego/valet-linux

And this is what i got:

Changed current directory to /home/anas/.composer
Using version ^2.0 for cpriego/valet-linux
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - cpriego/valet-linux v2.0.1 requires nategood/httpful ~0.2 -> satisfiable by nategood/httpful[0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9].
    - cpriego/valet-linux v2.0.10 requires nategood/httpful ~0.2 -> satisfiable by nategood/httpful[0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9].
    - cpriego/valet-linux v2.0.11 requires nategood/httpful ~0.2 -> satisfiable by nategood/httpful[0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9].
    - cpriego/valet-linux v2.0.2 requires nategood/httpful ~0.2 -> satisfiable by nategood/httpful[0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9].
    - cpriego/valet-linux v2.0.3 requires nategood/httpful ~0.2 -> satisfiable by nategood/httpful[0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9].
    - cpriego/valet-linux v2.0.4 requires nategood/httpful ~0.2 -> satisfiable by nategood/httpful[0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9].
    - cpriego/valet-linux v2.0.5 requires nategood/httpful ~0.2 -> satisfiable by nategood/httpful[0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9].
    - cpriego/valet-linux v2.0.6 requires nategood/httpful ~0.2 -> satisfiable by nategood/httpful[0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9].
    - cpriego/valet-linux v2.0.7 requires nategood/httpful ~0.2 -> satisfiable by nategood/httpful[0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9].
    - cpriego/valet-linux v2.0.8 requires nategood/httpful ~0.2 -> satisfiable by nategood/httpful[0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9].
    - cpriego/valet-linux v2.0.9 requires nategood/httpful ~0.2 -> satisfiable by nategood/httpful[0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9].
    - nategood/httpful 0.2.9 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.8 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.7 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.6 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.5 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.20 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.19 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.17 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.16 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.13 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.11 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.10 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - Installation request for cpriego/valet-linux ^2.0 -> satisfiable by cpriego/valet-linux[v2.0.1, v2.0.10, v2.0.11, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8, v2.0.9].

  To enable extensions, verify that they are enabled in those .ini files:
    - /etc/php/7.0/cli/php.ini
    - /etc/php/7.0/cli/conf.d/10-mysqlnd.ini
    - /etc/php/7.0/cli/conf.d/10-opcache.ini
    - /etc/php/7.0/cli/conf.d/10-pdo.ini
    - /etc/php/7.0/cli/conf.d/15-xml.ini
    - /etc/php/7.0/cli/conf.d/20-calendar.ini
    - /etc/php/7.0/cli/conf.d/20-ctype.ini
    - /etc/php/7.0/cli/conf.d/20-dom.ini
    - /etc/php/7.0/cli/conf.d/20-exif.ini
    - /etc/php/7.0/cli/conf.d/20-fileinfo.ini
    - /etc/php/7.0/cli/conf.d/20-ftp.ini
    - /etc/php/7.0/cli/conf.d/20-gd.ini
    - /etc/php/7.0/cli/conf.d/20-gettext.ini
    - /etc/php/7.0/cli/conf.d/20-iconv.ini
    - /etc/php/7.0/cli/conf.d/20-intl.ini
    - /etc/php/7.0/cli/conf.d/20-json.ini
    - /etc/php/7.0/cli/conf.d/20-mbstring.ini
    - /etc/php/7.0/cli/conf.d/20-mcrypt.ini
    - /etc/php/7.0/cli/conf.d/20-mysqli.ini
    - /etc/php/7.0/cli/conf.d/20-pdo_mysql.ini
    - /etc/php/7.0/cli/conf.d/20-phar.ini
    - /etc/php/7.0/cli/conf.d/20-posix.ini
    - /etc/php/7.0/cli/conf.d/20-readline.ini
    - /etc/php/7.0/cli/conf.d/20-shmop.ini
    - /etc/php/7.0/cli/conf.d/20-simplexml.ini
    - /etc/php/7.0/cli/conf.d/20-sockets.ini
    - /etc/php/7.0/cli/conf.d/20-sysvmsg.ini
    - /etc/php/7.0/cli/conf.d/20-sysvsem.ini
    - /etc/php/7.0/cli/conf.d/20-sysvshm.ini
    - /etc/php/7.0/cli/conf.d/20-tokenizer.ini
    - /etc/php/7.0/cli/conf.d/20-wddx.ini
    - /etc/php/7.0/cli/conf.d/20-xmlreader.ini
    - /etc/php/7.0/cli/conf.d/20-xmlwriter.ini
    - /etc/php/7.0/cli/conf.d/20-xsl.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

Installation failed, reverting ./composer.json to its original content.

Can't changue valet domain

Just reporting a bug when i try valet domain app i get:

PHP Warning:  file_put_contents(/etc/NetworkManager/dnsmasq.d/valet): failed to open stream: Permission denied in /home/flick/.config/composer/vendor/cpriego/valet-linux/cli/Valet/Filesystem.php on line 176

I'm on Arch(Manjaro)

Valet not found 404-Not Found

Hello, guys last night I turned off my laptop without turning off the valet service. Now I'm facing a problem. Whenever I try to hit blog.dev or the URL given with it I'm getting a 404 error

image

image

Please tell me what is it that is going wrong. I even pinged blog.dev to see if it was hitting 127.0.0.1 and yeah it's hitting it

image

502 bad gateway time out

Hi,

When using valet open in my projects folder it is redirecting to firefox with some errors in console and opening the browser. After opening the browser getting message 502 Bad Gateway.

DomainException on WSL

Got a DomainException-issue with latest valet on ubuntu 16.04 @ Windows subsystem for Linux:

alshstf@magicPC:~$ valet install
[sudo] password for alshstf:
sh: 1: /home/alshstf/.composer/vendor/cpriego/valet-linux/cli/scripts/update.sh: Permission denied
Enabling nginx.service ...


  [DomainException]
  Unable to determine service name.


install [--ignore-selinux]

dnsmasq, network-manager and nginx are installed and running

Valet home directory is inside /root

I'm trying to install valet but I've got and exception

[RuntimeException]
Valet home directory is inside /root

install [--ignore-selinux]

I installed antergos 1 week ago and it was working, no problems but then I reinstalled antergos 3 days ago and same error, I didn't change anything in the system or installation. Now I just installed Arch and same error.

question: valet share

I haven't tried it yet, but I am a bit curious about valet share. I love that feature in my mac, and my wonderful Ubuntu has gotten much less use since Valet came out.

Ubuntu 17.04 DNS issues after installing

Using Ubuntu 17.04. After installing Valet I seem to be having intermittent DNS issues including some common sites (facebook, etc...) not always resolving correctly. I believe this may be related to dnsmasq. Is this a known issue?

PHP Fatal error: Cannot declare class CommandLine

PHP Fatal error: Cannot declare class CommandLine, because the name is already in use in /home/marko/.config/composer/vendor/jmarcher/valet-linux/cli/includes/facades.php on line 43
this is the error message that i get after typing valet install into the terminal

Valet not pointing to 127.0.0.1

screenshot from 2017-04-08 22-54-32

I've already added

[main]
plugins=keyfile
dns=dnsmasq

to my

/etc/NetworkManager/NetworkManager.conf

but still, it's pointing to 127.0.53.53

I'm using Ubuntu 16.04

404 status code for static files

In my custom driver all my static files returned with 404 error. But if i open one of them at the same address with the status code of 404 i can read files but status code of this file be 404.
2017-05-05 16-19-49

Error on run command valet install

PHP Fatal error: Cannot declare class Facade, because the name is already in use in /home/user/.config/composer/vendor/jmarcher/valet-linux/cli/includes/facades.php on line 3
PHP Stack trace:
PHP 1. {main}() /home/user/.config/composer/vendor/cpriego/valet-linux/cli/valet.php:0
PHP 2. require() /home/user/.config/composer/vendor/cpriego/valet-linux/cli/valet.php:10
PHP 3. ComposerAutoloaderInit0b2dbe3729bd3fa99906a36570ae8788::getLoader() /home/user/.config/composer/vendor/autoload.php:7
PHP 4. composerRequire0b2dbe3729bd3fa99906a36570ae8788() /home/user/.config/composer/vendor/composer/autoload_real.php:56

I'm using elementaryOS (based on Ubuntu), valet version is 2.2.3 and PHP is 7.1

config port

I am using nginx in port 82.Currently valet loads up in port 80 which is used by apache.
How can I configure valet to use nginx's port?

Valet park command not working

Valet park not working property, the command created a copy to the $HOME/.valet/Site/my-project and only shows 404 requests on the browser, but valet link command works as expected.

[DomainException] Crouton

Hello,

I am trying to get valet running on ubuntu using crouton.

But whenever i run valet install or almost any valet commands, it returns this;

[DomainException]                  
  Unable to determine service name.

I saw that someone else had the same problem in a closed issue. But i have everything up to date and still cant get past this

How to make valet share give me a const domain?

Coz I use some Pay and Oauth api,both of they need a auth domain,and they only let me to edit auth domain few times one month.
When I use valte share,it give me a random domain.So I want a const domain,How to define it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.