Apache is running on port 80 and interfering with Valet.
- Stop Apache:
sudo /usr/sbin/apachectl stop
- Restart Valet:
valet restart
# Very large cookies/headers may throw errors without the following (extremely generous) settings: | |
fastcgi_buffer_size 4096k; | |
fastcgi_buffers 128 4096k; | |
fastcgi_busy_buffers_size 4096k; | |
Solving this issue is easy: just open the file /usr/local/etc/nginx/valet/valet.conf and add the following lines to the block location ~ \.php$ { } | |
proxy_connect_timeout 600; | |
proxy_send_timeout 600; | |
proxy_read_timeout 600; | |
send_timeout 600; | |
fastcgi_read_timeout 300; | |
fastcgi_buffers 8 128k; | |
fastcgi_buffer_size 256k; |
#with oci8 / update friendly | |
#fix LDAP_OPT_X_SASL_AUTHCID | |
brew install php72 -with-fpm --with-pear --without-ldap | |
brew reinstall --build-from-source [email protected] -with-fpm --with-pear --without-ldap |
// for any errors that should be handled before being handed off to RxJava. | |
// In other words global error logic. | |
// An example might be 401 when not logging in | |
import okhttp3.Interceptor | |
import okhttp3.Response | |
class ErrorInterceptor: Interceptor { | |
override fun intercept(chain: Interceptor.Chain?): Response { |
let mix = require('laravel-mix'); | |
/* | |
|-------------------------------------------------------------------------- | |
| Mix Asset Management | |
|-------------------------------------------------------------------------- | |
| | |
| Mix provides a clean, fluent API for defining some Webpack build steps | |
| for your Laravel application. By default, we are compiling the Sass | |
| file for the application as well as bundling up all the JS files. |
This procedure is tested on Mac OS X 10.10.5 with Developpers tools installed (xCode).
PHP 5.6 installed with Homebrew.
Download the following files from Oracle website (yes, you need to create an account and accept terms):
This procedure is tested on Mac OS X 10.8 with Developpers tools installed (xCode).
PHP 5.4 installed with Homebrew.
Update: I wrote a blog post about this.
Download the following files from Oracle website (yes, you need to create an account and accept terms):