Advertisement
ivan_yosifov

WampServer fixes

Jun 9th, 2015
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. ##########################################################
  2. # How to fix WampServer if it shows only the orange icon #
  3. ##########################################################
  4. 1) go to services
  5. 2) stop Web Deployment Agent Service
  6. 3) restart WampServer
  7.  
  8. #############################
  9. # How to upgrade phpMyAdmin #
  10. #############################
  11. 1) go to phpmyadmin.net and download latest release
  12. 2) extract to C:\wamp\apps
  13. 3) go to C:\wamp\alias
  14. 4) open phpmyadmin.conf
  15. 5) change
  16. Alias /phpmyadmin "c:/wamp/apps/phpMyAdmin-3.2.0.1/"
  17. <Directory "c:/wamp/apps/phpMyAdmin-3.2.0.1/">
  18. with:
  19. Alias /phpmyadmin "c:/wamp/apps/new-version/"
  20. <Directory "c:/wamp/apps/new-version/">
  21. 6) copy config.inc.php from previous folder to new version of phpMyAdmin
  22. 7) left click Wamp - Restart All Services
  23. 8) right click Wamp - Refresh
  24.  
  25. #####################################
  26. # How to change phpMyAdmin password #
  27. #####################################
  28. 1) C:>mysql -u -root
  29. 2) C:>SET PASSWORD FOR root@localhost=PASSWORD('pass');
  30. 3) go to C:\wamp\apps\phpmyadmin
  31. 4) open config.inc.php
  32. 5) change $cfg['Servers'][$i]['password'] = '';
  33. with
  34. $cfg['Servers'][$i]['password'] = 'pass';
  35.  
  36. ####################################
  37. # Change MySQL language to English #
  38. ####################################
  39. 1) open my.ini
  40. 2) change
  41. # Change your locale here !
  42. lc-messages=fr_FR
  43. with
  44. lc-message=en_US
  45.  
  46. ##############################################
  47. # Access remote server with local phpmyadmin #
  48. ##############################################
  49. 1) config.inc.php -> add at end
  50. /* Remote DB access */
  51. $i++;
  52. $cfg['Servers'][$i]['host'] = 'HostName:port'; //provide hostname and port if other than default
  53. $cfg['Servers'][$i]['user'] = 'userName'; //user name for your remote server
  54. $cfg['Servers'][$i]['password'] = 'Password'; //password
  55. $cfg['Servers'][$i]['auth_type'] = 'config'; // keep it as config
  56.  
  57. ########################################
  58. # Log in as another user in phpmyadmin #
  59. ########################################
  60. 1) Create user
  61. 2) Close all open instances to PHPMyAdmin in your browser
  62. 3) config.inc.php -> change line
  63. $cfg['Servers'][$i]['auth_type'] = 'config';
  64. to
  65. $cfg['Servers'][$i]['auth_type'] = 'cookie';
  66. 3) Visit your PHPMyAdmin URL (localhost/phpmyadmin for example)
  67.  
  68. #################################
  69. # CakePHP server configurations #
  70. #################################
  71. 1) httpd.conf
  72. <Directory "c:/wamp/www/">
  73. AllowOverride all
  74. </Directory>
  75. LoadModule rewrite_module modules/mod_rewrite.so
  76. 2)c:\wamp\www>php -r "readfile('https://getcomposer.org/installer');" | php
  77. c:\wamp\www>php composer.phar create-project --prefer-dist cakephp/app myfirstcake
  78. y [folder perissions]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement