Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Edit php.ini file

I want to increase memory_limit ,max_input_time,max_execution_time in WAMP server.
There is 3 php.ini files.

1. C:\wamp\bin\apache\Apache2.4.4\bin\php.ini<br>
2. C:\wamp\bin\php\php5.4.12\php.ini<br>
3. C:\wamp\bin\php\php5.4.12\phpForApache.ini<br>

so Which php.ini file should be edit in WAMP server?

like image 897
Chirag Savsani Avatar asked Jun 17 '14 11:06

Chirag Savsani


People also ask

How do I open a PHP ini file?

For Windows, you can find the file in the C:\xampp\php\php. ini -Folder (Windows) or in the etc -Folder (within the xampp-Folder). Under Linux, most distributions put lampp under /opt/lampp , so the file can be found under /opt/lampp/etc/php.

Where is PHP ini in file manager?

ini file is located at /usr/local/lib/php. ini.


2 Answers

The wampmanager icon, which sits in the system tray has a menu system.

Use that to edit your php.ini file that is used with Apache.

So its

(left click ) wampmanager icon -> PHP -> php.ini

It could not be simpler.

EDIT/UPDATE:

And now in WAMPServer 3 it has become even easier to change some of the more obvious PHP Settings.

(left click) wampmanager icon -> PHP -> PHP Settings

and you should see a new menu where you can amend some setting from the menu system as below.

  • If there is a Green Tick by an On/Off option then that parameter is set to On.

  • If there is a green arrow symbol to the left of an option, that will either open a selectable list OR a dialog where you can enter a value manually to suit yor needs.

enter image description here

like image 66
RiggsFolly Avatar answered Oct 04 '22 15:10

RiggsFolly


Yo can find that in phpinfo()

<?php
phpinfo();
?>

check for Configuration File (php.ini) Path there in the output.

like image 31
Dushyant Joshi Avatar answered Oct 04 '22 13:10

Dushyant Joshi