Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Changing editor on install causes problems (3 replies)

$
0
0
I have installed WampServer v3.0.4 multiple times and during the install I change the default text editor and the default browser. Each time I do this, the install finishes and all appears well, except that trying to use the editor fails badly.

System specifications:
- Windows 7 Pro, SP1, 64-bit
- All Prerequisites are satisfied (all MS Visual C++ 2008 through 2015, both x86 and x64 versions and all updates)
- Install file used: wampserver3.0.4_x86_apache2.4.18_mysql5.7.11_php5.6.19-7.0.4
- Install run as right-click "run as administrator"
- Do I wish to change the default browser, Yes; then I select Chrome
- Do I wish to change the default editor, Yes; then I select an alternate at C:\UEDIT32\uedit32.exe

Install finishes and I manually start WampServer; it goes green within a few seconds.
Left-click Wamp icon, select PHP > php.ini
The editor opens, opens a file and then immediately tries to print the file and closes.
I eventually had to disable printing so the process would stop and I could look at what was happening.
The editor appears to open just fine, but the file it points to does not exist.

Example:
The file should be at C:\wamp\bin\apache\apache2.4.18\bin\php.ini
The file indicated in the editor is C:\wampinampapacheapache2.4.18inphp.ini

As you can see, the path is being messed up quite badly.

If however, I install and allow the defaults to be selected (IE and notepad), then it works fine. I left-click on the Wamp icon, PHP > php.ini and the file opens in Notepad.

HOWEVER, I can't figure out where that file is; because it's NOT in the C:\wamp directory structure anywhere. There are only three listings for php.ini in the entirety of the C:\wamp folders. One is a symlink to apparently nowhere (I presume this is what is being started from the wamp menu). The other two reside in the C:\wamp\bin\php directories themselves, and are clearly marked as DO NOT EDIT; whereas the one opened from the menu is clearly the one to edit.

Therefore, two questions:
Why is selecting an alternate editor failing?
Where is the actual php.ini file that is being edited by Notepad?

Thank you,
Asa Jay

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>