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.

here guide https://askubuntu.com/questions/109404/how-do-i-install-latest-php-in-supported-ubuntu-versions-like-5-4-x-in-ubuntu-1

you use ppa stay up-to-date php. use :

https://launchpad.net/~ondrej/+archive/php5 launchpad logo

it's on 5.4. if want use ppa this:

ppa:ondrej/php5 launchpad logo (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

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -