Solution _php Tutorial about configuring Php+apache+optimizer failure under Windows

Source: Internet
Author: User

Last night in Windows XP Professional [with IIS] installed PHP 5.0.5 and Apache 2.0.54[listening Port 8088].

I was asked to install Zend-optimizer to support encrypted PHP files when I installed the Discuz forum today.

Download the Win32 installation file to Zend-optimizer 2.5.7

At the time of installation, it started very well.

The Apache root and php.ini select paths are:

E:/program Files/apache Group/apache2

E:/php5

However, the reboot failed when it was necessary to restart Apache later. Manual restart. The prompt for installation is successful. However, in the phpinfo.php, we found that optimizer was not associated with PHP. Information about Zend is:

Zend Engine V2.0.5,copyright (c) 1998-2004 Zend Technologies. There is no optimizer information. The encrypted file does not execute correctly.

Began to think that is the problem of Apache restart, after repeated tests found that Apache normal. Later on the web search, also found no related solutions. It suddenly occurred to me that I had copied a php.ini file into the C:/windows directory and wondered if I was actually using that INI file.

Try reloading the Optimizer,ini file path select C:/windows. or manually restart Apache.

Install end View Phpinfo.php,zend tip information for

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

Successfully install Optimizer, execute discuz encrypted file OK!

Summary: When installing optimizer, the php.ini file must be selected in the Windows directory to install the actual use of the one. In fact, it is prompted to install the C:/windows, but did not pay attention to, resulting in the installation of the failure.

http://www.bkjia.com/PHPjc/508378.html www.bkjia.com true http://www.bkjia.com/PHPjc/508378.html techarticle last night in Windows XP Professional [with IIS] installed PHP 5.0.5 and Apache 2.0.54[listening Port 8088]. Today, when installing the Discuz forum, I was asked to install Zend-optimizer to support the encrypted p ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.