Php.ini
Posted by: alvinxuan7 (---.time.net.my)
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

Hi,

Please READ (and answer) BEFORE YOU ASK A QUESTION

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"

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.