Easy and correct way to change browser after installation
Posted by: egoph (---.bredband.comhem.se)
Date: June 19, 2017 11:19AM

I know one place but maybe there are more to do.
If there were a shortcut to this in Wamp menu would be great I Think. It is good to se the websites appearance in several browsers

Options: ReplyQuote
Re: Easy and correct way to change browser after installation
Posted by: Otomatic (Moderator)
Date: June 19, 2017 12:04PM

Hi,

To change the default browser of Wampserver, the only solution is to modify "by hand" in the wamp/wampmanager.conf file, the line navigator= like this:
;Path of the Browser used by Wampserver
;May be modfied with the absolute path of the browser exe file
;(Use / instead of \)
navigator ="J:/Com/Net/Firefox/firefox.exe"
If you find, in PHP, a simple way to retrieve the full path of a file, please let me know.

------------------------------------------------------------------------------------------------------------
(W7 Pro 64 bit)-Wampserver 3.0.9 32 bit - Apache 2.4.26 - PHP 7.1.6/7.0.20/5.6.30 - MySQL 5.7.18 - MariaDB 10.2.6
Wampserver 3.0.9 64 bit - Apache 2.4.26 - PHP 7.1.6/7.0.20/5.6.30 - MySQL 5.7.18 - MariaDB 10.2.6
PhPMyAdmin 4.7.1 - MysqlDumper 1.24.5

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
Re: Easy and correct way to change browser after installation
Posted by: RiggsFolly (Moderator)
Date: June 19, 2017 12:54PM

You will have to launch all the other browsers manually.
You only get ONE default browser. Look up the work DEFAULT!

Some things you just have to do for yourself. If we did everything for you, there would be no need for You.

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.6.5.2> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: Easy and correct way to change browser after installation
Posted by: egoph (---.bredband.comhem.se)
Date: June 19, 2017 04:54PM

Okey but there is a reason that I ask... When I put in any browser as a default browser in Wamp Wordpress got

problems. WPs editor for pages can't show alternative ways to input text and HTML

So WP has an page editor which wan't start correctly. If I just open a WP site with any browser(but not as default

in Wampsettings) it shows the WP editor correct.

Maybe You use a script that makes the Changes...Its only a question

Otherwise I suppose Its in Wordpress maybe contra win10 latetest update

Sorry to trouble You so much but the hole concept is important too me.

Options: ReplyQuote
Re: Easy and correct way to change browser after installation
Posted by: RiggsFolly (Moderator)
Date: June 19, 2017 05:37PM

Are these WP page edit issues related to the new W10 browser "Microsoft Edge"?

We have no control over EDGE.

There shoudl be no reason why using any of the other browsers... IE/FF should cause any issues in this way.

Chrome has a lot of little foibles so that also may not be a great choice for the default.

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.6.5.2> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: Easy and correct way to change browser after installation
Posted by: Otomatic (Moderator)
Date: June 19, 2017 06:07PM

Hi,

> Maybe You use a script that makes the Changes.
It is not possible to know what is the full path of the installations of the different browsers on a system.
The idea of getting the full path of a client's system is totally unacceptable to users. If this were possible, any site could obtain information from the customer's machine. This will never be possible simply for safety reasons.

The default Wampserver brownser launch local sites exactly the same way the browser would be launched by a shortcut with parameter from the desktop or from a command line.

start "J:/Com/Net/Firefox/firefox.exe" "[mysite"];
or
start "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe" "[mysite"];

------------------------------------------------------------------------------------------------------------
(W7 Pro 64 bit)-Wampserver 3.0.9 32 bit - Apache 2.4.26 - PHP 7.1.6/7.0.20/5.6.30 - MySQL 5.7.18 - MariaDB 10.2.6
Wampserver 3.0.9 64 bit - Apache 2.4.26 - PHP 7.1.6/7.0.20/5.6.30 - MySQL 5.7.18 - MariaDB 10.2.6
PhPMyAdmin 4.7.1 - MysqlDumper 1.24.5

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.