You are here
Quizmaster - Thu, 2012/06/28 - 02:28
i everyone, I'm taking a web development class, where we've been introduced to hosting on a newly installed LAMP server for the first time and I need to learn how to execute a PHP script for the first time in the web shell... How do I run my script in web shellin Firefox, and what do I run in command line to do so?
Forum:
Sorry for slow reply
If you haven't already, you may need to install php5-cli (the php module which allows executing php from the commandline interface).
Then cd to the script location and run it like this:
Hopefully that all works. It's off the top of my head so not 100% sure...
Add new comment