Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9198475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:17:32+00:00 2026-06-17T22:17:32+00:00

I use Debian. I wanted check my php version. I typed but by mistake

  • 0

I use Debian. I wanted check my php version. I typed but by mistake

php

instead of

php - v

. And then “php command line” won’t take any commands anymore from me. No error no reaction.

I can stop this process using kill command, but I want to know, what is ‘php’ without option for. And how to stop it, without kill command.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T22:17:33+00:00Added an answer on June 17, 2026 at 10:17 pm

    Press Ctrl+D to send EOF (end-of-file) to PHP, which will cause it to exit. Or press Ctrl+C to kill it with a SIGINT signal.

    Explanation: With no command-line arguments PHP is expecting code to be provided on standard input, which is connected to your terminal. This is standard behavior for many UNIX programs, not just PHP. You can type code manually and then press Ctrl+D when you’re done and PHP will execute the code you typed.

    You can see the same behavior with cat. If you don’t provide a file name cat will read from stdin and copy it to stdout. Which means it will echo every line you type until you press Ctrl+D to signal EOF.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am intending to use SQLite 3 with PHP 5. I found this: http://packages.debian.org/etch/web/php5-sqlite3
I have debian lenny command line installation, I am trying to print polish characters
I'm trying to teach Emacs standard shortcut keys. I use emacs23-nox version from Debian,
I use gcc version 4.3.2 (Debian 4.3.2-1.1). I wrote a simple program in C
I use PHP 5.3 on Debian and according to php -m 'Phar' is loaded.
My use case: I am running Debian Squeeze Backport 3.2.0-0.bpo.2-amd64 over an Asus p-67
The language shootout benchmarks at http://benchmarksgame.alioth.debian.org/ indicate that FPC programs use about 1/50th of
we use a hadoop multi-node setup on debian + ubuntu with the latest stable
i'm trying to use the terminal from python VTE binding (python-vte from debian squeeze)
I need to use erl_interface in my C-program. There is Erlang R15B01 on Debian

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.