librelist archives

« back to archive

Installation help

Installation help

David Salgado
2013-03-10 @ 16:52
Hi there

I'm trying to get started with Photon, but the installation instructions
seem to be a bit out of date, on the page;

I'm trying to work through the process on a clean VM of Ubuntu 12.04
64-bit, and have hit a couple of problems. Some of these I managed to
figure out, but I'm stuck on the last one.

1. Mongrel2 has moved.

This command gives a 404 error;

    cd /home/vendors && wget

It looks like it should be this;

    cd /home/vendors && wget

...with the subsequent lines being something like this;

    tar xzvf v1.8.0
    cd zedshaw-mongrel2-bc721eb/ && make clean all
    cd zedshaw-mongrel2-bc721eb/ && make install

2. xdebug

The '+lfs' is no longer needed in this line;

    echo 'zend_extension=/usr/lib/php5/20090626+lfs/' >

To avoid errors, it should be;

    echo 'zend_extension=/usr/lib/php5/20090626/' >

3. pecl_http seems to be installed by a previous step, so this step doesn't
seem to be necessary anymore;

    root@precise64:~# pecl install pecl_http
    pecl/pecl_http is already installed and is the same as the released
version 1.7.5

4. The real problem seems to be that this is out of date;

    pear install --alldeps photon/photon-beta

Trawling through the mailing list, it seems the real way to get Photon is
via the git repository;

    git clone git://

After doing that, I guess the self-test command is;

    scripts/hnu selftest

But, phpunit is not yet installed, so; (I'm not very familiar with pear, so
there is probably a far simpler way of doing this)

    pear channel-discover
    pear install phpunit/PHPUnit
    pear install phpunit/DbUnit
    pear install phpunit/PHPUnit_Selenium
    pear install phpunit/PHPUnit_Story

Now, I've reached the point where I'm getting this error;

    Failed opening required 'Symfony/Component/Yaml.php'

Looking in /usr/share/php I can see this file;


So, I think the corresponding require should be
'Symfony/Component/Yaml/Yaml.php' but I can't find it.

Can anyone point me in the right direction so that I can run the Photon
test suite?

Kind regards