Posted by: alvinxuan7 (
Date: August 28, 2017 03:59AM

why my php.ini file as symlink, i need to edit as notepad to configure setting

Options: ReplyQuote
Re: Php.ini
Posted by: Otomatic (Moderator)
Date: August 28, 2017 08:23AM



To edit php.ini with the texte editor used by Wampserver as default you should use :

- Left-Click Wampmanager tray icon -> PHP -> php.ini

For almost all cases you do not have to edit the php.ini file directly.
All PHP extensions can be enabled or disabled by:
- Left-Clcik Wampmanager tray icon ->PHP -> PHP extensions.
Many PHP parameters can be modified by:
- Left-Click Wampmanager tray icon -> PHP -> PHP settings

(Note 3) - Text editor ======
*Important Prerequisites About the text editor being used: To edit the files, you must use a text editor, but not just any one. Some text editors, such as Notepad (notepad.exe) in Windows, are not able to correctly view files with Unix line breaks*, others recode surreptitiously the line of type Unix in type Windows/DOS, others still change the used character sets or add headers ; However, it is imperative that the end-of-line types or the character sets of the Wampserver files are not altered, otherwise it will generate impossibilities and errors when it is used. That's why I strongly recommend to use a free, powerful text editor like Notepad++ that you can find at Notepad++ (If you use a text editor like UtraEdit, it will not be a problem).
* The characters indicating the end of lines are of three types:
- Windows/DOS : CR - LF (Carriage Return - Line Feed) Two bytes 0x0D and 0x0A
- Unix : LF (Line Feed) One byte 0x0A
- Mac : CR (Carriage Return) One byte : 0x0D

To change the default editor used by Wampserver, for example by Notepad ++, simply:
- Quit Wampserver
- Open file c:\wamp\wampmanager.conf (or real intallation path) with Notepad ++
- Modify the complete path for line editor= with your path
;Path of the Text Editor used by Wampserver
;May be modfied with the absolute path of the Text Editor exe file
;(Use / instead of \)
editor ="J:/Util/Texte/Notepad++/notepad++.exe"

Wampserver 3.1.6 32 bit - Apache 2.4.37 - PHP 7.3.0/7.2.13/7.1.25/7.0.33/5.6.39 - MySQL 5.7.23 - MariaDB 10.3.11
Wampserver 3.1.6 64 bit - Apache 2.4.37 - PHP 7.3.0/7.2.13/7.1.25/7.0.33/5.6.39 - MySQL 5.7.23 - MariaDB 10.3.11
PhPMyadmin 4.8.3 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote

Sorry, only registered users may post in this forum.