I installed PHP with wamp, so I would like to know the difference between php. ini in apache and php. ini in PHP.

Source: Internet
Author: User
Tags time zones
I installed PHP with wamp. what is the difference between php. ini in apache and php in PHP? Generally, you need to configure Extension classes, handle errors, set time zones, and so on. which file is the configuration? Php. ini & nbsp; under apache or under the php file & nbsp; php. ini & nbsp ;? Or should I configure them separately? In addition, how does PHP work? After wamp is installed, I installed PHP with wamp. what is the difference between php. ini in apache and php in PHP?
In general, you need to configure the extension class, or handle errors or set the time zone. in which file is the configuration? Php. ini under apache or php. ini under php file? Or should I configure them separately?
In addition, how does PHP work? After wamp is installed, do I not need to copy files like. dll in c: \ sytem32?
I don't understand. the experts can help me solve the problem. thank you !!!!

Share: More


------ Solution --------------------
1. in phpinfo ();, find the php. ini File Loaded by the Loaded Configuration File, which is the Configuration File you are looking.
2. do not perform that step after installing wamp.
------ Solution --------------------
Reference:
Quote: reference:

1. in phpinfo ();, find the php. ini File Loaded by the Loaded Configuration File, which is the Configuration File you are looking.
2. do not perform that step after installing wamp.


Isn't php. ini completely useless under my E: \ wamp \ bin \ php \ php5.3.10? Can I delete it?

If phpinfo () shows that the loaded php. ini is not under php, it can be deleted.
------ Solution --------------------
Reference:
Quote: reference:

1. in phpinfo ();, find the php. ini File Loaded by the Loaded Configuration File, which is the Configuration File you are looking.
2. do not perform that step after installing wamp.


Isn't php. ini completely useless under my E: \ wamp \ bin \ php \ php5.3.10? Can I delete it?

It's better not to delete it. it doesn't affect you if you put it there. No worries.
------ Solution --------------------
You can configure any extension class in php. ini.
------ Solution --------------------
No, find it in php. ini; extension = php_curl.dll, remove the semicolon and restart the server.

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.