Installation Troubleshooting

I l @ ve RuBoard

Table 2.1 summarizes some of the problems you might run into when installing PHP and shows you how you might troubleshoot them.

Table 2.1. Potential Installation Issues

Problem Type

Nature of the Problem

Solution or Item to Check

General

The load PHP test script works, but if I change the php.ini file to load PHP extensions, the load test script fails.

Make sure that you set the extension_directory path to the correct path .

CGI

When I try to load the PHP test script, all I see is the PHP code.

Your web server is not correctly set up to pass PHP files to PHP. If you are using PHP in CGI mode, make sure that you include the %s %s information after the path information. (See the CGI installation steps for further information.)

ISAPI

When restarting my web server after installing PHP in ISAPI mode, I get an error.

If you have enabled any PHP extensions, make sure that the extension_dir path is set to the correct path.

Zend Optimizer

The Zend Optimizer information does not display in the load PHP test script. I get errors when I attempt to load the PHP test script when the Zend Optimizer is installed.

Make sure that the zend_extensions path is set to the correct path.

Make sure that your version of the Zend Optimizer is compatible with your version of PHP. If you compile PHP, be sure to do so with debugging disabled.

 

Zend Optimizer information does not show up, or I get random problems when I try to load the PHP test script.

The Zend Optimizer works only with PHP in CGI mode. Make sure you are not attempting to run PHP in ISAPI mode with the Zend Optimizer enabled.

Other Problems

If you still can't solve your installation problems, the folks on the php-install mailing list should be able to help. You can find out how to subscribe to this mailing list by visiting http://www.php.net/support.php.

I l @ ve RuBoard


PHP Programming for Windows
PHP Programming for Windows (Landmark (New Riders))
ISBN: 0735711690
EAN: 2147483647
Year: 2002
Pages: 99

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net