INI file configuration under XAMPP

Source: Internet
Author: User
Tags ini modify php file phpinfo root directory zend

After installing the XAMPP, if do the integration environment, carries on the program to move the value, has checked php.ini unexpectedly has three many

Which one is it anyway? After the information is checked. It turns out that what really works is the apachebin.

Configuring Zend Optimizer Support

Modify php.ini file to increase support for Zend, find Zend.ze1_compatibility_mode = Off

Change to Zend.ze1_compatibility_mode = On

Add it underneath it.

Zend_extension_manager.optimizer_ts = "d:/fwserver/zend/lib/optimizer-3.3.0"

2 Zend_extension_ts = "D:/fwserver/zend/lib/zendextensionmanager.dll"

zend_optimizer.optimization_level=1023

Save, restart the Apache service

/htdocs Create a phpinfo.php file under the site root directory

<?php

Phpinfo ();

?>

Open in Browser

http://localhost/phpinfo.php

If the following information appears, PHP is already configured

The above will also appear

Attention:zend Optimizer not installed

Installation Environment: Xampp-win32-1.6.2-installer.exe

If error: Attention:zend Optimizer not installed.

Need to XAMPP and MySQL all unloaded, only retain htdocs and then reinstall XAMPP, modify D:/fwserver/apache/bin/php.ini, find zend_optimizer.encoder_loader=0, 0 to 1, Install again, normal, happy ah. Dare not to be concealed, and nanyou share.

The command to view the port is: netstat-a, if the list has 3306 ports, the description is occupied.

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.