Reputation: 125
wamp server icon right mouse click->Tools->(MariaDb) Use a port other than->3307 ok
wamp server icon right mouse click->Tools->(Mysql) Use a port other than->3306 ok
restart wamp server...
index.php line:346
$projectContents .= '<li>'.$file.'</li>';
convert
$projectContents .= '<li> <a href="'.$file.'" >'.$file.'</a></li>';
Update Wamp Server version: 3.3.0
index.php line:547
... : '<li>'.$file.'</li>';
convert
... : '<li><a href="'.$file.'" >'.$file.'</a></li>';
Upvotes: 1
Views: 3592
Reputation: 192
There's a solution that just requires right-clicking on the WAMP icon, go to "Tools" and click on "Invert default DBMS MariaDB <-> MySQL", that should work. It will set MySQL as a default engine, change the port numbers for you and restart the services all by itself.
It is more efficient than the one you provided because the port number 3306 in WAMP Server is now reserved for the default MariaDB in all newer installations starting from v3.2.0. Therefore, you can no longer change the port number by selecting "Use a port other than xxxx" and you will get an error message. Even re-writing the .ini files doesn't get the job done, save the procedure I explained above.
Upvotes: 2