@@ -185,35 +185,35 @@ func (v *Version) setServer(fpm, cgi, phpconfig, phpize, phpdbg string) string {
185185 msg := fmt .Sprintf (" Found PHP: %s" , v .PHPPath )
186186 fpm = filepath .Clean (fpm )
187187 if _ , err := os .Stat (fpm ); err == nil {
188- if fpm , err := filepath . EvalSymlinks (fpm ); err == nil {
188+ if fpm , err := evalSymlinks (fpm ); err == nil {
189189 v .FPMPath = fpm
190190 msg += fmt .Sprintf (", with FPM: %s" , fpm )
191191 }
192192 }
193193 cgi = filepath .Clean (cgi )
194194 if _ , err := os .Stat (cgi ); err == nil {
195- if cgi , err := filepath . EvalSymlinks (cgi ); err == nil {
195+ if cgi , err := evalSymlinks (cgi ); err == nil {
196196 v .CGIPath = cgi
197197 msg += fmt .Sprintf (", with CGI: %s" , cgi )
198198 }
199199 }
200200 phpconfig = filepath .Clean (phpconfig )
201201 if _ , err := os .Stat (phpconfig ); err == nil {
202- if phpconfig , err := filepath . EvalSymlinks (phpconfig ); err == nil {
202+ if phpconfig , err := evalSymlinks (phpconfig ); err == nil {
203203 v .PHPConfigPath = phpconfig
204204 msg += fmt .Sprintf (", with php-config: %s" , phpconfig )
205205 }
206206 }
207207 phpize = filepath .Clean (phpize )
208208 if _ , err := os .Stat (phpize ); err == nil {
209- if phpize , err := filepath . EvalSymlinks (phpize ); err == nil {
209+ if phpize , err := evalSymlinks (phpize ); err == nil {
210210 v .PHPizePath = phpize
211211 msg += fmt .Sprintf (", with phpize: %s" , phpize )
212212 }
213213 }
214214 phpdbg = filepath .Clean (phpdbg )
215215 if _ , err := os .Stat (phpdbg ); err == nil {
216- if phpdbg , err := filepath . EvalSymlinks (phpdbg ); err == nil {
216+ if phpdbg , err := evalSymlinks (phpdbg ); err == nil {
217217 v .PHPdbgPath = phpdbg
218218 msg += fmt .Sprintf (", with phpdbg: %s" , phpdbg )
219219 }
0 commit comments