1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-07 17:10:05 +01:00
Commit Graph

30 Commits

Author SHA1 Message Date
Korvin Szanto
b6d40c5f8c Update PhpFpm.php 2017-06-19 14:32:45 -07:00
Adam Wathan
ba0a3ba4e7 Merge pull request #263 from antonioribeiro/showStartStopInfo
Show start & stop process info in terminal
2017-03-23 10:45:26 -04:00
Adam Wathan
1f4dd70740 Capitalize PHP 2017-03-23 09:01:10 -04:00
Adam Wathan
767d29d359 Fix issue when conf.d folder doesn't exist 2017-03-06 12:28:40 -05:00
Antonio Carlos Ribeiro
6f8c14271a Show install, start, stop and restart log info 2017-02-21 12:04:45 -03:00
Kennedy Tedesco
d8c137876f Dry's up PHP installation
Ref: https://github.com/laravel/valet/pull/261
2017-02-20 13:48:59 -03:00
Adam Wathan
a249072310 Merge pull request #277 from drbyte/fix-413-request-entity-too-large-and-uploads
Fix large-upload problems by setting PHP limits and Nginx max size
2017-02-20 09:25:12 -05:00
Adam Wathan
3027a0dbba Explicitly stop and start brew services instead of restart
This solves a mysterious issue that may or may not be specific to my
machine and it makes me very sad.
2017-01-21 12:00:05 -05:00
Chris Brown
e208ca2340 Update minimum PHP requirement to 5.6
... because it's not actually compatible with 5.5 anymore - Ref: https://github.com/laravel/valet/issues/279
2016-12-27 15:58:16 -05:00
Chris Brown
bb59e1da2d Fix large-upload problems by setting PHP limits and Nginx max size
- Sets `client_max_body_size 128M` in `http` section of `nginx.conf`  so it covers all configs
- Adds `php-memory-limits.conf` to `php-fpm` conf folder, to set `memory_limit`, `upload_max_filesize`, `post_max_size` all to 128M

(Updates #253 by moving config location to cover all, since #253 didn't cover secure configs, etc)
2016-12-24 15:43:11 -05:00
Daniel Polito
5a25224e11 Upgrading PHP to 7.1 (#227) 2016-12-14 14:14:33 -06:00
Taylor Otwell
a501ebcd5b fix broken change 2016-12-09 09:20:28 -06:00
Taylor Otwell
fba8eb7602 fix nginx support 2016-12-08 08:32:55 -05:00
Adam Wathan
4c86e351a2 Use socket, store in valet home and set loose permissions 2016-12-08 08:32:54 -05:00
Adam Wathan
2ac1711eef Listen on port instead of socket 2016-12-08 08:32:54 -05:00
Adam Wathan
0da0fb3b1b Grueing around 2016-12-08 08:32:54 -05:00
Adam Wathan
733747900e Revert to using port instead of socket to see if it helps stale page issue 2016-10-22 11:35:07 -04:00
Adam Wathan
802cfb0525 Remove dead code 2016-09-28 17:10:49 -04:00
Adam Wathan
3facbef790 Disable default_mimetype with ini_set instead of via config file 2016-09-28 16:58:13 -04:00
Adam Wathan
1c29674d7b Use a separate .ini file instead of editing the main php.ini file 2016-09-28 16:58:13 -04:00
Adam Wathan
73a205aa81 Serve static files through Caddy instead of PHP 2016-09-28 16:58:13 -04:00
Michael Gruschwitz
5da6c5a095 Move php-fpm socket
Subdirectories in /var/run are deleted on reboot. That causes php-fpm to fail after reboot, because the socket in /var/run/valet can't be created, since the subdirecotry does not exist. The php-fpm socket should be moved directly to /var/run.
2016-09-28 10:56:21 +02:00
Taylor Otwell
372775a4fa remove superstition 2016-09-21 09:16:07 -05:00
Korvin Szanto
909ba9bd12 Use sockets instead of port 9000 2016-09-19 19:27:45 -07:00
Chris Brown
77cd98f4cc Add basic changes to alllow php71 2016-07-28 12:36:15 -04:00
Daniel Morris
fe6fb947f7 Consistency changes (#60)
* Correct the return type annotation in a serves method

* Type-hint the driver in the abstract ValetDriver

* Correct the return type-hint in the sample ValetDriver

* Remove the return afrom the restartLinkedPhp method

* Remove the return annotation from the Caddy constructor

* Remove the return annotation from the Valet configuration constructor

* Removed the return from the prependPath method of the Configuration class

* Removed the return from the appendAsUser method of the Filesystem class

* Removed the return annotation from the Site constructor

* Corrected the parameter annotation of the link method in the Site class

* Order use statements by length in PhpFpm

* Remove the return annotation from the Valet constructor
2016-05-12 21:17:32 -05:00
Taylor Otwell
d94a9cae9d fix path 2016-05-11 10:29:55 -05:00
Glendon Solsberry
e714082d50 Allows Valet to run under PHP 5.5 (#57)
* Allows for valet to run under PHP 5.5 as well.

Add checks for php55 to the mix.

* Allows for valet to run under PHP 5.5 as well.

Add checks for php55 to the mix.

* Update .travis.yml

* Update PhpFpm.php

* Add tests for php55
2016-05-10 21:56:25 -05:00
Taylor Otwell
f0556ce554 correcting a few script problems 2016-05-10 13:26:39 -05:00
Taylor Otwell
97f7ae2342 organize better 2016-05-10 08:29:24 -05:00