It’s simple like that:
sudo apt-get install php5 apache2 mysql-server libapache2-mod-auth-mysql php5-mysql
that’s all
Elixir |> Phoenix |> Development
It’s simple like that:
sudo apt-get install php5 apache2 mysql-server libapache2-mod-auth-mysql php5-mysql
that’s all
I’ve faced an issue whive making an SQL import on my Ubuntu Lucid Lynx on my macbook pro 6,2.
To make it working fast you need to disable writing barrier for the ext4 fs :
$ sudo vi /etc/fstab
you’ll see there something like:
/dev/sda3 Â Â Â / Â ext4 Â Â errors=remount-ro 0 1
Just add there barrier=0 :
/dev/sda3 Â Â Â / Â Â Â Â Â Â Â ext4 Â Â errors=remount-ro,barrier=0 0 Â Â Â 1
and reboot.
After that change my SQL import performed very fast.
<?php include(dirname(__FILE__) . '/../../bootstrap/functional.php'); $browser = new sfTestFunctional(new sfBrowser()); $limeTest = $browser->test(); $browser->setHttpHeader("X-Requested-With", "XMLHttpRequest"); $browser->post('/ajax/uri', array('param_name' => 'param_value'))-> with('request')->begin()-> isParameter('module', 'someModule')-> isParameter('action', 'someAction')-> end()-> with('response')->begin()-> isStatusCode(200)-> end(); ?>