Page:
Installing PHPCI
Pages
Add a Virtual Host
Adding PHPCI Support to Your Projects
Atoum Plugin
Autobuilding from Atlassian Stash
Autobuilding from Git by Cron
Autobuilding From Git
Autobuilding From GitHub
Autobuilding From GitLab
Autobuilding from Bitbucket
Behat plugin
Campfire plugin
Clean build plugin
Codeception plugin
Composer plugin
Configuring PHPCI
Contributing to PHPCI
Copy build plugin
Deployer
Email plugin
Env plugin
Example phpci.yml
Grunt plugin
Hipchat Notify Plugin
Home
Installing PHPCI
Interpolation
Irc plugin
Lint plugin
Logging
Maintainers
MySQL plugin
PHP Code Sniffer plugin
PHP Coding Standards Fixer plugin
PHP Docblock Checker
PHPCI Config
Package build plugin
Pdepend plugin
Phar Plugin
Phing Plugin
Php copy paste detector plugin
Php loc plugin
Php mess detector plugin
Php parallel lint plugin
Php spec plugin
PhpUnit Plugin
Postgresql plugin
Project Status Images and Page
Run Builds Using Cron
Run Builds Using a Daemon
Run Builds Using a Worker
Shell plugin
Slack Notify Plugin
Technical Debt Plugin
Updating PHPCI
Vanilla Installation on OS X 10.10 Yosemite with OS X Server 4
Vanilla Mac Mavericks Server Installation Guide
XMPP notifications plugin
custom plugins setup
29
Installing PHPCI
Dan Cryer edited this page 2016-04-27 10:50:26 +01:00
What you'll need:
- PHP 5.3.6 or above
- A web server (we recommend nginx)
- Composer
- Git
- A MySQL server to connect to. This doesn't have to be on the same server as PHPCI.
- The following functions need to be enabled:
exec()
,shell_exec()
andproc_open()
- PHP must have OpenSSL support enabled.
Installing PHPCI from Composer:
- Go to the directory in which you want to install PHPCI, for example:
/var/www
- Download Composer if you haven't already:
curl -sS https://getcomposer.org/installer | php
- Download PHPCI:
./composer.phar create-project block8/phpci phpci --keep-vcs --no-dev
- Go to the newly created PHPCI directory, and install Composer dependencies:
cd phpci && ../composer.phar install
- Run the PHPCI installer:
./console phpci:install
- Add a virtual host to your web server, pointing to the
public
directory within your new PHPCI directory. You'll need to set up rewrite rules to point all non-existent requests to PHPCI. - Set up the PHPCI Worker, or you can run builds using the PHPCI daemon or a cron-job to run PHPCI builds.
Installing PHPCI Manually:
- Go to the directory in which you want to install PHPCI, for example:
/var/www
- Download PHPCI and unzip it.
- Go to the PHPCI directory:
cd /var/www/phpci
- Install dependencies using Composer:
composer install
- Install PHPCI itself:
php ./console phpci:install
- Add a virtual host to your web server, pointing to the
public
directory within your new PHPCI directory. You'll need to set up rewrite rules to point all non-existent requests to PHPCI. - Set up the PHPCI Worker, or you can run builds using the PHPCI daemon or a cron-job to run PHPCI builds.