mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 00:20:08 +01:00
Listen on port instead of socket
This commit is contained in:
@@ -61,7 +61,7 @@ function updateConfiguration()
|
||||
|
||||
$contents = preg_replace('/^user = .+$/m', 'user = '.user(), $contents);
|
||||
$contents = preg_replace('/^group = .+$/m', 'group = staff', $contents);
|
||||
$contents = preg_replace('/^listen = .+$/m', 'listen = /var/run/fpm-valet.sock', $contents);
|
||||
$contents = preg_replace('/^listen = .+$/m', 'listen = 127.0.0.1:9000', $contents);
|
||||
|
||||
$this->files->put($this->fpmConfigPath(), $contents);
|
||||
}
|
||||
@@ -74,7 +74,6 @@ function updateConfiguration()
|
||||
function restart()
|
||||
{
|
||||
$this->stop();
|
||||
|
||||
$this->brew->restartLinkedPhp();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user