Last night, PHP 5.0.5 and Apache 2.0.54 [listening port 8088] were installed in Windows XP Professional [with IIS].
When installing the Discuz Forum today, Zend-Optimizer is required to support encrypted php files.
Download to the Win32 installation file of Zend-Optimizer 2.5.7.
The installation started smoothly.
The paths selected by Apache Root and php. ini are:
E:/Program Files/Apache Group/Apache2
E:/PHP5
However, when Apache needs to be restarted later, the restart fails. manually restart. prompt that the installation is successful. but in phpinfo. php check, it is found that Optimizer is not associated with PHP. the prompt information about Zend is:
Zend Engine v2.0.5, Copyright (c) 1998-2004 Zend Technologies. There is no Optimizer information. The encrypted file cannot be correctly executed.
I thought it was an Apache restart problem. After repeated tests, I found that Apache is normal. after searching online, no related solutions were found. then I suddenly thought that I copied a Php file. the INI file is under the C:/Windows directory. Check whether the INI file is actually used.
Try to reinstall Optimizer. Select C:/Windows in the INI file path or manually restart Apache.
Check phpinfo. php after installation. The Zend prompt is
Zend Engine v2.0.5, Copyright (c) 1998-2004 Zend Technologies.
With Zend Extention Manager v1.0.6, Copyright (c) 2003-2004, by Zend Technologies
With Zend Optimizer v2.5.7, Copyright (C) 1998-2004, by Zend Technologies
Optimizer is successfully installed and the Discuz encrypted file is normal!
Conclusion: when Optimizer is installed, php. the INI file must be installed in the Windows directory. in fact, it prompts C:/Windows during installation, but you did not pay attention to it, resulting in installation failure.