linux - PHP Builtin-Server (Ubuntu 12.04) -
i'm working on ubuntu 12.04 php5-cli
installed.
i trying builtin-server work with: php5 -s localhost:8080
but seems builtin-server not implemented or otherwise unavailable.
is there way make work? without apache , other approaches, if possible.
you use ppa stay up-to-date php. use :
https://launchpad.net/~ondrej/+archive/php5
it's on 5.4. if want use ppa this:
ppa:ondrej/php5 (click here instructions on using ppas.)
sudo add-apt-repository ppa:ondrej/php5 sudo apt-get update sudo apt-get upgrade
if don't have add-apt-repository binary following:
sudo apt-get install python-software-properties
precautions:
Comments
Post a Comment