#!/usr/bin/php -qAma gel görki yeni makineye geçtik ve bu kodu kullanan sayfalarımda hata oluşuyor ve hatada şöyle diyor:
Error in argument 1, char 3: option not found Usage: php [-q] [-h] [-s] [-v] [-i] [-f <file>]php <file> [args...] -a Run interactively -b <address:port>|<port> Bind Path for external FASTCGI Server mode -C Do not chdir to the script's directory -c <path>|<file> Look for php.ini file in this directory -n No php.ini file will be used -d foo[=bar] Define INI entry foo with value 'bar' -e Generate extended information for debugger/profiler -f <file> Parse <file>. Implies `-q' -h This help -i PHP information -l Syntax check only (lint) -m Show compiled in modules -q Quiet-mode. Suppress HTTP Header output. -s Display colour syntax highlighted source. -v Version number -w Display source with stripped comments and whitespace. -z <file> Load Zend extension <file>. -T <count> Measure execution time of script repeated <count> times
Yani benim kullandığım -q da neden hata veriyor ki
-q yani Quiet-mode acaba serverda yok mu anlayamadım bir türlü, ayrıca usr/bin/php pahtını kontrol ettim % 100 doğru.Bu hatanın giderilmesi için sizce serverda nasıl bir ayar değişikliği yapmak lazım ?
