Installing a development platform
To install Copix is a rather simple operation that will only last 5 minutes, download included.
PHP Platform
- PHP 5.1(+) is mandatory.
- The PDO extension must be enabled if you want to use databases.
If you are running under Windows, you can install Wamp or EasyPHP version 2+.
Under Linux, many packages are available to ease installation.
Downloading Copix
You can download it using several ways :
- In the download space of the site (last stable release),
- with CVS, which hold the last development release, using the module COPIX_3.
Installing Copix
Copy Copix sources in publishing directory, usually called "www".
You should now have a tree allowing you to access http://localhost/copix/www/index.php from your browser.
Note: The directory called copix/www/ is the directory containing published files of Copix. It contains the only files that are to be exposed on your server, the others can be held in private directories.
Write permissions (Linux only)
To work correctly, Copix needs to be able to write in the following directories: copix/temp/* and copix/var/*.
They contain temporary files (buffers, php files, ...) and application data (uploaded files, thumbnails, ...) respectively.
Under Linux, you can change the owner of your directories so that they belong to the user running PHP (usually apache or www-data :
chown -R apache:apache copix/temp
chown -R apache:apache copix/var
Then, only grant their access to the owner :
chmod -R 700 copix/temp
chmod -R 700 copix/var
On a Windows box, there's usually no restrictions. On a Windows Server, you probably will have to give write permissions to the IUSR_* user.
Once this is done, you can use your browser and type http://localhost/copix/www/index.php (if you have installed Copix in DocumentRoot/copix/)


