cpriego / valet-linux Goto Github PK
View Code? Open in Web Editor NEWThis project forked from laravel/valet
A fork of Laravel Valet to work in Linux.
License: MIT License
This project forked from laravel/valet
A fork of Laravel Valet to work in Linux.
License: MIT License
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
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
OS : Ubunthu 16.10
PHP : PHP 7.1.2-4+deb.sury.orgyakkety+1 (cli) (built: Mar 2 2017 10:40:28) ( NTS )yakkety+1, Copyright (c) 1999-2017, by Zend Technologies
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
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]
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!
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
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
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.
bash: valet: command not found
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.
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.
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.
After run command valet share
Forwarding http://181d8844.ngrok.io -> oms.dev:null
why oms.dev:null ?
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?
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!
Can this work with meteorJS?
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.
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
Hello guys,
I have followed this tutorial https://github.com/cpriego/valet-linux/wiki/Getting-Started
but I'm still getting this error Valet only supports the Mac operating system.
when running valet install
. Please tell me what is going wrong. Thanks
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 :)
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
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
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.
$ valet install
valet:can't find this command
DnsMasq is on , but valet can't find the command
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
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?
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?
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.
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)
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
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
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.
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
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.
@cpriego
I've noticed just now that the repository description still says "ubuntu" instead of "linux". Update needed I guess!
Hi,
how can I write website-specific nginx configuration for different projects? I need it for my older projects that had .htaccess file.
Thanks!
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.
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, 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 doesn't work when valet restarting , Shoud restart network-manager to working
valet restart && systemctl restrat network-manager
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
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?
This page isn’t working
test.dev is currently unable to handle this request.
HTTP ERROR 500
This message appear when I do valet install. Please help
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.
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
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?
Hi,
Google deprecated since v58 the CN-matching for SSL-certs, the security-issue '[missing_subjectAltName]' is showing now.
https://textslashplain.com/2017/03/10/chrome-deprecates-subject-cn-matching/
did valet park.
open test.dev
404 - Not Found
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.