We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e893f5f + 1094773 commit 06fb615Copy full SHA for 06fb615
cli/Valet/PhpFpm.php
@@ -82,10 +82,12 @@ public function createConfigurationFiles(string $phpVersion): void
82
$destDir = dirname(dirname($fpmConfigFile)).'/conf.d';
83
$this->files->ensureDirExists($destDir, user());
84
85
- $this->files->putAsUser(
86
- $destDir.'/php-memory-limits.ini',
87
- $this->files->getStub('php-memory-limits.ini')
88
- );
+ if (!file_exists($destDir.'/php-memory-limits.ini')) {
+ $this->files->putAsUser(
+ $destDir.'/php-memory-limits.ini',
+ $this->files->getStub('php-memory-limits.ini')
89
+ );
90
+ }
91
92
$contents = str_replace(
93
['VALET_USER', 'VALET_HOME_PATH'],
0 commit comments