From Cerberus Helpdesk Wiki
[edit] XAMPP Environment
- Download XAMPP + Developer Tools http://www.apachefriends.org/en/xampp-macosx.html
- Install the XAMPP package (drag XAMPP folder to /Applications)
- Install the XAMPP Developer package (installer)
- Open the "XAMPP Control Panel.app" from /Applications/XAMPP and start Apache + MySQL
[edit] PHP Extensions (PECL)
- sudo /Applications/XAMPP/xamppfiles/bin/pecl channel-update pecl.php.net
[edit] Mailparse
- sudo /Applications/XAMPP/xamppfiles/bin/pear install pecl/mailparse
- stop and start Apache from XAMPP Control Panel.app
- Confirm mailparse extension in http://localhost/xampp/phpinfo.php
[edit] Memcache
- sudo /Applications/XAMPP/xamppfiles/bin/pecl install memcache
- 'Yes' when prompted
- stop and start Apache from XAMPP Control Panel.app
- Confirm memcache extension in http://localhost/xampp/phpinfo.php
[edit] XDebug (Developers; optional)
- sudo /Applications/XAMPP/xamppfiles/bin/pecl install xdebug
- sudo vi /Applications/XAMPP/etc/php.ini
- Change extension="xdebug.so" to zend_extension="xdebug.so"
- stop and start Apache from XAMPP Control Panel.app
- Confirm xdebug extension in http://localhost/xampp/phpinfo.php
[edit] FakeSMTP (optional for Developers, if no live mail server)
[edit] Database
[edit] Installation
- http://localhost/cerb4/install/index.php
- Continue on Server Checker
- Accept License Agreement
- Database Settings
- Driver: MySQL
- Database: cerb4
- User: root
- Password: (blank)
- General Settings
- What e-mail address should be the default sender for outgoing e-mail? support@localhost
- Would you like to use a personalized sender name for outgoing e-mail? (blank)
- Outgoing Mail
- SMTP Server: localhost
- SMTP Port: 2525 (if using FakeSMTP; 25 otherwise)
- Creating Your Account
- What is your personal e-mail address? superuser@localhost
- Choose a password: (make something up)
- Confirm your password: (repeat it)
- Registration
- vi cerb4/framework.config.php
- Add '::1' to AUTHORIZED_IPS_DEFAULTS:
define('AUTHORIZED_IPS_DEFAULTS', '::1');