[FreeBSD] php -q

2005-04-15 Başlik Nusret Kurar








Merhaba

test.php isimli dosyami komut satirindan ./test.php olarak
calistiriyor(d)um, fakat simdi calistirinca hata aliyorum.



[EMAIL PROTECTED]:setler$ ./test.php

Usage: php [options] [-f] file [args...]

 php [options] -r code [args...]

 php [options] [-- args...]

 -a Run interactively

 -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.

 -h This help

 -i PHP information

 -l Syntax check only (lint)

 -m Show compiled in modules

 -r code Run PHP code without using
script tags ?..?

 -s Display colour syntax highlighted source.

 -v Version number

 -w Display source with stripped comments and
whitespace.

 -z file Load Zend extension file.



 args... Arguments passed to script. Use -- args
when first argument

 starts with - or script is read from
stdin





altta test.php icerigi bulunmaktadir.



Sistem FreeBSD 5.3 ve php4-4.3.10_2





-test.php--

#!/usr/local/bin/php q

?php

  

echo Hello World;



?



test.php








Re: [FreeBSD] php -q

2005-04-15 Başlik M.Onur AYSAN
Selamlar;
Birde konsolda $unu deneyebilir misiniz?
$php -q test.php
Sevgiler  Saygilar
Nusret Kurar wrote:
Merhaba
test.php isimli dosyami komut satirindan ./test.php olarak 
calistiriyor(d)um,  fakat simdi calistirinca hata aliyorum.

 

[EMAIL PROTECTED]:setler$ ./test.php
Usage: php [options] [-f] file [args...]
   php [options] -r code [args...]
   php [options] [-- args...]
  -a   Run interactively
  -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 fileParse file.
  -h   This help
  -i   PHP information
  -l   Syntax check only (lint)
  -m   Show compiled in modules
  -r codeRun PHP code without using script tags ?..?
  -s   Display colour syntax highlighted source.
  -v   Version number
  -w   Display source with stripped comments and whitespace.
  -z fileLoad Zend extension file.
 

  args...  Arguments passed to script. Use -- args when first 
argument

   starts with - or script is read from stdin
 

 

altta test.php icerigi bulunmaktadir.
 

Sistem FreeBSD 5.3 ve php4-4.3.10_2
 

 

-test.php--
#!/usr/local/bin/php q
?php
   

echo Hello World;
 

?
 

test.php

-
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php



RE: [FreeBSD] php -q

2005-04-15 Başlik Nusret Kurar

O sekilde calisiyor ya da # /usr/local/bin/php -f test.php  seklinde de
calisiyor

Fakat ne oldu da #!/usr/local/bin/php -q seklinde, php dosyasinin icine
yazdigim sekilde calisan sistem artik calismiyor.

-Original Message-
From: M.Onur AYSAN [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 12:21 PM
To: freebsd@lists.enderunix.org
Subject: Re: [FreeBSD] php -q

Selamlar;

Birde konsolda $unu deneyebilir misiniz?

$php -q test.php


Sevgiler  Saygilar

Nusret Kurar wrote:
 Merhaba
 
 test.php isimli dosyami komut satirindan ./test.php olarak 
 calistiriyor(d)um,  fakat simdi calistirinca hata aliyorum.
 
  
 
 [EMAIL PROTECTED]:setler$ ./test.php
 
 Usage: php [options] [-f] file [args...]
 
php [options] -r code [args...]
 
php [options] [-- args...]
 
   -a   Run interactively
 
   -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 fileParse file.
 
   -h   This help
 
   -i   PHP information
 
   -l   Syntax check only (lint)
 
   -m   Show compiled in modules
 
   -r codeRun PHP code without using script tags ?..?
 
   -s   Display colour syntax highlighted source.
 
   -v   Version number
 
   -w   Display source with stripped comments and whitespace.
 
   -z fileLoad Zend extension file.
 
  
 
   args...  Arguments passed to script. Use -- args when first 
 argument
 
starts with - or script is read from stdin
 
  
 
  
 
 altta test.php icerigi bulunmaktadir.
 
  
 
 Sistem FreeBSD 5.3 ve php4-4.3.10_2
 
  
 
  
 
 -test.php--
 
 #!/usr/local/bin/php -q
 
 ?php
 

 
 echo Hello World;
 
  
 
 ?
 
  
 
 test.php
 


-
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php



-
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php