dg / ftp-deployment

A tool for automated deployment of web applications to an FTP server.
https://nette.org
Other
605 stars 89 forks source link

Fatal error: Call to undefined function fnmatch() in libs/Deployment.php on line 411 #11

Closed jozefizso closed 11 years ago

jozefizso commented 11 years ago

FTP deployment

Started at [2013/02/01 13:54] Config file is /Users/.../deployment/deployment.ini

Deploying my site Connecting to server Loaded remote .htdeployment file Scanning files in /Users/... .. Fatal error: Call to undefined function fnmatch() in /Users/.../deployment/libs/Deployment.php on line 411

https://github.com/dg/ftp-deployment/blob/a881c95b1ce3e4a127c60c029de67773477b70f0/Deployment/libs/Deployment.php#L411

$ php --version PHP 5.4.11 (cli) (built: Jan 26 2013 11:02:57) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

$ php-config Usage: /usr/local/php/bin/php-config [OPTION] Options: --prefix [/Users/jozef/Applications/php-5.4.11] --includes [-I/Users/jozef/Applications/php-5.4.11/include/php -I/Users/jozef/Applications/php-5.4.11/include/php/main -I/Users/jozef/Applications/php-5.4.11/include/php/TSRM -I/Users/jozef/Applications/php-5.4.11/include/php/Zend -I/Users/jozef/Applications/php-5.4.11/include/php/ext -I/Users/jozef/Applications/php-5.4.11/include/php/ext/date/lib] --ldflags [ -L/Users/jozef/Downloads/bin/build/lib -L/Users/jozef/Downloads/bin/build//lib -L/Users/jozef/Applications/mysql-5.5.29//lib] --libs [ -lmysqlclient_r -lldap -llber -liconv -liconv -lfreetype -lpng -lz -ljpeg -lcurl -lz -lm -lxml2 -lz -liconv -lm -lcurl -lxml2 -lz -liconv -lm -lmysqlclient_r -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm ] --extension-dir [/Users/jozef/Applications/php-5.4.11/lib/php/extensions/no-debug-zts-20100525] --include-dir [/Users/jozef/Applications/php-5.4.11/include/php] --man-dir [/Users/jozef/Applications/php-5.4.11/php/man] --php-binary [/Users/jozef/Applications/php-5.4.11/bin/php] --php-sapis [ apache2handler cli cgi] --configure-options [--prefix=/Users/jozef/Applications/php-5.4.11 --without-pear --with-apxs2=/Users/jozef/Applications/Apache2/bin/apxs --with-mysql=/Users/jozef/Applications/mysql-5.5.29/ --with-pdo-mysql=/Users/jozef/Applications/mysql-5.5.29//bin/mysql_config --with-png-dir=/Users/jozef/Downloads/bin/build/ --with-jpeg-dir=/Users/jozef/Downloads/bin/build/ --with-freetype-dir=/Users/jozef/Downloads/bin/build/ --with-curl=/Users/jozef/Downloads/bin/build/ --with-libxml-dir=/Users/jozef/Downloads/bin/build/ --with-zlib --with-gd --with-mhash --with-ldap --with-iconv --enable-mbstring --enable-ftp --enable-exif --enable-bcmath --enable-soap --enable-shared=no --enable-static=yes] --version [5.4.11] --vernum [50411]

jozefizso commented 11 years ago

It is no longer an issue. Deployment works without warnings about fnmatch.