I got the reply from Pair. It says Zend Optimizer can be enabled. However, from what they write, I understand that it only applies to cgi-bin scripts. Is this what’s needed for your software to run?
This is the complete (canned) reply that I got:
- Enable the CGI version of PHP on your account by running these
commands using a telnet/SSH terminal window:
mkdir cgi-bin (if it does not already exist)
cp /usr/www/cgi-bin/php4.cgi cgi-bin/
cp /usr/local/etc/php.ini cgi-bin/
In the first command above, replace “USERNAME” with your pair Networks
Enable the CGI version of PHP in your .htaccess file (located either
in /usr/www/users/USERNAME or in the directory of the script that you
wish to run through Zend). Use a text editor (such as pico) to add
the lines below to the .htaccess file:
Action application/x-custom-php /cgi-bin/php4.cgi
AddType application/x-custom-php .php
Remember to replace “USERNAME” with your pair Networks username in the
Please note that the effects of the .htaccess file will work on the
directory it is placed in and all of the directories below it. For
example, if the .htaccess file were placed into /usr/www/users/USERNAME,
then all PHP files for your entire site would run through Zend (unless you
specified otherwise ruther down the directory tree).
Otherwise, if you wish to impact only a certain directory under your Web
site, you should put the .htaccess file into that directory only.
Enable Zend in your php.ini file (located in
/usr/www/users/USERNAME/cgi-bin/). To enable Zend, you must
uncomment the following lines by removing the leading “;” character.