xampp.rst 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. :orphan:
  2. Installing Elgg on XAMPP
  3. ########################
  4. These intructions are provided in case you want to test your Elgg
  5. installation on your local computer running Windows.
  6. - Download and install XAMPP to your computer from
  7. http://www.apachefriends.org/en/xampp.html
  8. - Once the installation is completed, it will prompt you to start the
  9. XAMPP controller panel. Leave it for now.
  10. - Open ``C:\xampp\apache\conf\httpd.conf`` file with notepad and uncomment
  11. these lines::
  12. #LoadModule rewrite_module modules/mod_rewrite.so
  13. #LoadModule filter_module modules/mod_filter.so
  14. - Edit the php.ini file and change
  15. ``arg_separator.output = &`` to ``arg_separator.output = &``
  16. - Go to ``C:\xampp`` and double click on the xampp_start application
  17. - Go to http://localhost/
  18. - Change your server's password in the security option
  19. - Go to http://localhost/phpmyadmin and login with the username and the
  20. password of your server
  21. - Create a database called "elgg" in your phpmyadmin panel
  22. - Now download Elgg. Unzip it and extract to ``C:\xampp\htdocs\sites\elgg``
  23. - Create the Elgg data folder as ``C:\xampp\htdocs\sites\data``
  24. - Go to http://localhost/sites/elgg
  25. - You will be taken to the Elgg installation steps. Install it and enjoy.
  26. A note on XAMPP 1.7.4 and eAccelerator
  27. ======================================
  28. Elgg is compatible with opcode caches and it is highly recommended that
  29. you enable a PHP opcode caching tool for a faster experience. XAMPP comes
  30. with support for eAccelerator out of the box, but unfortunately, the 1.7.4
  31. build of XAMPP leaves out the DLL that's required. To get eAccelerator
  32. working, follow these steps:
  33. - Download the DLL from http://eac.qme.nl/eAccelerator_v1_0_svn427_for_v5_3_5-VC6.zip
  34. - Copy eAccelerator_ts.dll to ``C:\xampp\php\ext\php_eaccelerator.dll``
  35. - Uncomment this line in ``C:\xampp\php\php.ini``::
  36. ;zend_extension = "C:\xampp\php\ext\php_eaccelerator.dll"
  37. - Restart apache
  38. To verify that it is on:
  39. - Go to localhost/xampp
  40. - Click on phpinfo() from the left sidebar
  41. - Ctrl+F for eaccelerator. If you get no results, eAccelerator is not active