Rastignac yazdıLaravel 4 ve Composer ile deneme amaçlı bir proje başlattım ve artisan ile runserver yaptığımda kurulu olan PHP sürümü 5.4 ya da 5.4 ten yüksek olmadığı için hata verdi. Kullandığım işletim sistemi Linux/Ubuntu 12.04 ve PHP sürümünü bir türlü yükseltemedim. Şu an en güncel stabil sürüm 5.5.10 sanırım. Güncelleyebilmem için bana yardımcı olabilir misiniz acaba?
php5 -v çıktısı:
PHP 5.3.10-1ubuntu3.10 with Suhosin-Patch (cli) (built: Feb 28 2014 23:14:25)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
12.04'te php 5.4 yok diyor. sanırım 5.5 te yoktur.
Benim önerim ubuntuyu yükseltmek olacaktır. yok 12.04 te kalayım diyorsanız aşağıda adımlamış
PHP 5.4.10 is not available in the Ubuntu repositories for 12.04.
You have two options:
(1) try and find a PPA with a backported version of PHP 5.4.10 (such as ondrej's oldstable PPA)
a) Run this command: sudo apt-get install python-software-properties
b) Run this command: sudo add-apt-repository ppa:ondrej/php5-oldstable
c) Run sudo apt-get update; sudo apt-get install php5
d) This should allow you to use PHP 5.4.10 (or whatever the most recent "Old Stable PHP" is).
(2) download PHP from source, and compile it.
Otherwise, you'll have to wait for Saucy to be released, so that you can get PHP 5.5.3. 5.4.10 does not exist in the repositories for any version of Ubuntu, apparently.
(I can try and backport 5.4.10 from Debian if you would like, but it would be in a PPA, so you'd have to trust that I'm not giving you malware, although I wouldn't do that ever.)
http://askubuntu.com/questions/343560/update-server-php-version-to-5-4-10-via-the-command-line
Ek olarak direkt localhost üzerine klasör açıp ordan devam edebilirsiniz sanıyorum.