Next: Installing Roadsend PHP on Windows, Previous: Installing From Source, Up: Installation and Configuration
Make sure your system meets the Minimum Requirements.
First, see if your distribution has Roadsend PHP packages available. For example, on Gentoo Linux you can:
$ emerge -av roadsend-php
If your distribution doesn't have Roadsend PHP packages available, you can the generic packages available on http://www.roadsend.com.
Roadsend PHP comes in two packages on Unix platforms. Both packages are required for compiling.
Packages
pcc |
This package installs the main compiler executables and documentation.
It depends on the runtime package.
|
runtime |
This is the runtime package. It contains the
runtime libraries needed to compile and run dynamically linked
applications. It also contains the FastCGI interpreter web
interface. This package may be installed on client machines to run
deployed applications.
|
The Unix packages are self installing executables. The self installer packages do not require a particular type of packaging system (such as rpm or deb) - only the standard Unix shell (/bin/sh) and the standard Unix 'tar' command are required. You must be root to run the installer.
Simply run each self installer package to install:
$ ./roadsend-pcc-2.x.x.bin Verifying archive integrity... All good. Uncompressing The Roadsend PCC Compiler for PHP...... ...... $ ./roadsend-pcc-runtime-2.x.x.bin Verifying archive integrity... All good. Uncompressing The Roadsend PCC Compiler for PHP - Runtime Environment......
All files are installed to /opt/roadsend/pcc, except the config file which is located in /etc/pcc.conf
When installing the packages, you will be asked to make symbolic links for certain files to standard locations on the system. This is a convenience intended to reduce installation time.
If you do not wish to make symbolic links, you will have to adjust your system paths: