php interactive mode gives no prompt

General Tech Bugs & Fixes 3 years ago

9.07K 1 0 0 0

User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 3 years ago

 

I'm running Windows 7. I just downloaded the "binaries and source" distribution of Php 5.4.6.

When I unzip the download and navigate into the directory and enter the command php.exe -a on my command line, the interactive mode appears to load but doesn't respond to my commands.

The console responds with the message Interactive mode enabled, followed by a blank line, but no php > prompt. If I enter a command like echo "foo";, the text I write appears, but the system does nothing with it.

What am I doing wrong? (I tried compiling the sources myself on msys, but got the complaint: configure: error: xml2-config not found. Please check your libxml2 installation. There has got to be an easier way.)

0 views
0 shares

No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.

Similar Forum