Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /home/webgalli/public_html/blog/wp-includes/plugin.php on line 571

Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /home/webgalli/public_html/blog/wp-includes/plugin.php on line 571
How to install Elgg 1.8 on winxp/ win 7 /win vista - Team Webgalli Blog
Request quote

How to install Elgg on Win XP / Win 7 / Win Vista

Posted on: October 13th, 2011 by Mohammed Aqeel 3 Comments

Hello friends,

In the past, we have written an elgg documentation on how to install your Elgg copy on a Windows XP / Windows VIsta / Windows 7 PC. I will repost it here for a quick reference if you are in need.

XAMPP Installation for Elgg

These intructions are provided in case you want to test your Elgg installation on your local computer running Windows.

  1. Download and install XAMPP to your computer from http://www.apachefriends.org/en/xampp.html – we’ll assume you installed it on the C drive
  2. Once the installation is completed, it will prompt you to start the XAMPP controller panel. Leave it for now.
  3. Open C://xampp/apache/conf/httpd.conf file with notepad and find the line “#LoadModule rewrite_module modules/mod_rewrite.so” and remove the “#” and save it.
  4. Edit the php.ini file and change arg_separator.output = & to arg_separator.output = &
  5. Now go to C://xampp and double click on the xampp_start application
  6. Then go to http://localhost/
  7. Change your server’s password in the security option
  8. Go to http://localhost/phpmyadmin and login with the username and the password of your server
  9. Create a database called “elgg” in your phpmyadmin panel
  10. Now download Elgg. Unzip it and extract to C://Xampp/htdocs/sites/elgg (Create a folder “sites” inside the htdocs directory, just to separate the php files from the core)
  11. Create the Elgg data folder as C://Xampp/htdocs/sites/data
  12. Go to http://localhost/sites/elgg
  13. You will be taken to the Elgg installation steps. Install it and enjoy.

XAMPP 1.7.4 and eAccelerator

Elgg is compatible with opcode caches and it is highly recommended that you enable a PHP opcode caching tool for a faster experience. XAMPP comes with support for eAccelerator out of the box, but unfortunately, the 1.7.4 build of XAMPP leaves out the DLL that’s required. To get eAccelerator working, follow these steps:

  1. Download the DLL from http://eac.qme.nl/eAccelerator_v1_0_svn427_for_v5_3_5-VC6.zip
  2. Copy eAccelerator_ts.dll to C:/xampp/php/ext/php_eaccelerator.dll
  3. Uncomment this line in C:/xampp/php/php.ini:
    ;zend_extension = "C:xamppphpextphp_eaccelerator.dll"
  4. Restart apache

To verify that it is on:

  1. Go to localhost/xampp
  2. Click on phpinfo() from the left sidebar
  3. Ctrl+F for eaccelerator. If you get no results, eAccelerator is not active
Tags: , , , , , ,

3 Responses

  1. Adrien says:

    Thanks for the tips ! It will spare me a couple of hours I guess.

  2. vaibhav sharma says:

    having error in 12th step: Go to http://localhost/sites/elgg

    Object not found!

    The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

    If you think this is a server error, please contact the webmaster.

    Error 404

    Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.15

  3. vaibhav sharma says:

    sry ignore above comment it’s resolved now