php interactive mode gives no prompt

General Tech Bugs & Fixes 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 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.)

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.

tuteehub community

Join Our Community Today

Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.

tuteehub community