Note: We will be assuming the email that you will be using for receiving support requests is 'support@company.com'.
Change Permissions
The first step is to change the permissions of the admin/support_receiver.php file of the package.
This sets the permission of support_receiver.php as "executable". This is a required step to set email piping under any system.
PHP Path Confirmation
You now need to find out the path where PHP CLI (Command Line Interface) is installed. You can do so with the "whereis" command as described below.
The above image shows that the PHP is installed under /usr/bin/php and /usr/local/bin/php location. The first line of the support_receiver.php in the admin directory should match this path.
Also, after the "<?php" line in the support_receiver.php script there should be the following:
chdir("/full/path/to/support/admin/");
Note: /full/path/to/support/ is a default path which, however, might vary as it should point to where your HelpDesk is located.
Zend Optimizer Check
Once the permissions and path of the PHP have been confirmed, you now need to check whether or not Zend Optimizer is installed with the PHP CLI. This is a crucial step as the software will not run without Zend Optimizer. You also need to keep this in mind that PHP CLI is completely different than your mod_php installation. So even if you have Zend Optimizer with Apache, it might be possible that they might not be configured with your PHP CLI. The reasons for this could be that the PHP CLI uses a separate php.ini or the version number does not match the one of your mod_php installation.
You can open the Debug prompt by running the support_receiver.php as
"./support_receiver.php -h" OR "/full/path/to/support/admin/support_receiver.php -h"
Once loaded, select the 1 prompt to check for Zend Optimizer installation.
The above image shows that the Zend Optimizer is not installed on this server.
The above image shows that the Zend Optimizer is installed; you can safely proceed with the installation.
Also, the Zend Optimizer is installed if you the etc/php4/cli/php.ini contains the following strings:
[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2.5.10
Note that version of Zend Optimizer may differ.
If you do not have the Zend Optimizer installed then please refer to the "Zend Optimizer" section (see section 2.1.2).
|