Does Pi supports PHP?
Posted: Tue Feb 25, 2014 4:06 am
I like to know if Pi can support PHP?
Or I need compile the PHP source codes targeting arm V6 processor.
Or I need compile the PHP source codes targeting arm V6 processor.
A small, affordable computer with free resources to help people learn, make things, and have fun
https://www.raspberrypi.org/forums/
https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=70480
I typed which php on command line , nothing found. How do I invoke it on command line?rpdom wrote:PHP is supported on the Pi, both on command line (php5-cli) and web server (libapache2-mod-php5).
rpdom wrote:Yes, for command line usage you will need to install the "php5-cli" package.
Probably an out of date package index. Trylilzz wrote:failed to fetch deb7u4_armhf.deb
Code: Select all
sudo apt-get update
sudo apt-get install php5-cli
It failed. It's looking at http://mirrordirector.raspbian.org/rasp ... ts/wheezy/rpdom wrote:Probably an out of date package index. Trylilzz wrote:failed to fetch deb7u4_armhf.debIf it fails, please post all of the messages reported.Code: Select all
sudo apt-get update sudo apt-get install php5-cli
There may be other important messages in there. We can't work out what the problem is with no information.lilzz wrote:It failed. It's looking at http://mirrordirector.raspbian.org/rasp ... ts/wheezy/rpdom wrote:If it fails, please post all of the messages reported.
but there are no php5-cli packages
it couldn't find the packages it wanted.