Setup PHP, Pear Environment and Pathsby Group Public on Friday August 15 2008 @ 12:01:12 (5/5 Points) |
|
| Configuration ↪Reference ✑ Reply ✓ Stick It ✗ Ditch It ⚐ Tag It |
Include Files
The generated files will reference PHP include files in the form:
require_once 'persephone/filename.inc';
Therefore you will need to setup the persephone directory. This director must be in the PHP include path and must point to persephone_root/php_support.
On Ubuntu, and many Debian variants, this can be done by linking the directory in the shared PHP directory. With user root and an installation in /opt/perseph/:
cd /usr/share/php ln -s /opt/perseph/php_support/ persephone
Pear
Many Pear modules are used. Not all MDB2 modules are listed below, only the MySQL one used in the test code.
pear install --alldeps pear/MDB2 pear/Log MDB_QueryTool HTML_QuickForm pear install MDB2#mysqli pear channel-discover pear.phpunit.de pear install phpunit/PHPUnit
Persephone Setup PHP, Pear Environment and Paths
