Install Moodle 2.0.0 with xampp 1.7.4

YOu will need to fix :
1. admin/environment/php extension/openssl

To install the openssl library on Windows

Open the php.ini file found in the moodle/apache/bin (if not there then, in folder server/php/)
Find the line: ;extension=php_openssl.dll
Remove the ; at the beginning of the line
Restart apache if necessary

Note: if Moodle fails to create a public key in Admin > Networking > Settings, you’ll need to configurate your OPENSSL_CONF path. With Windows File Explorer find openssl.cnf file (usually in your php/extras directory). Rename it as openssl.conf. Then set OPENSSL_CONF in your Windows environment variable (example: C:/wamp/bin/php/extras/openssl/openssl.conf – do not forget the file name in the path, otherwise it doesn’t work)

To install the openssl library on Unix

You need to recompile PHP from source
add –with-openssl to the command line when you run configure

2. admin/environment/php extension/intl

The Internationalization extension (Intl) is a wrapper for the ICU library, a set of C/C++ and Java libraries that provide Unicode and Globalization support for software applications. It enables PHP programmers to perform UCA-conformant collation and date/time/number/currency formatting in their scripts.
MS Windows

To enable this extension add the following line to your php.ini file:

extension=php_intl.dll

And then set the intl.default_locale and intl.error_level directives in your php.ini file.

[intl]

intl.default_locale = en_utf8

intl.error_level = E_WARNING

The intl.error_level directive is optional.

3. Got a couple of errors saying that it couldnt find the php_intl.dll and icuuc36.dll
Copy 5 libaarty files icuu*36.dll source \xampp\php (leave old files) to xampp/apache/bin, enjoy it works🙂

5 Responses to “Install Moodle 2.0.0 with xampp 1.7.4”

  1. GuMi Says:

    thank you! this is exactly what i needed to know. you’re awesome!

  2. hqhuy Says:

    You’re welcome. I had this problem when update to Moodle 2.0. I hope it saves a bit time Googling😀

  3. Ed Says:

    I put in php.ini all itens for “intl” (question 2) but the problem (moodle check is not ok) .
    Do you have another sugestion ????
    thanks

  4. alyenuar Says:

    try this.

    add in php.ini (xampp\php\php.ini)

    extension=php_openssl.dll
    extension=php_intl.dll

    copy 7 library file with format icu*36.dll

    :

    (icudt36.dll
    icuin36.dll
    icuio36.dll
    icule36.dll
    iculx36.dll
    icutu36.dll
    icuuc36.dll)

    from (xampp\php\…) to (xampp\apache\bin\…) after that stop apache and start again…

  5. balram Says:

    i m trying to install moodle on windows xmp, doing the same procedure.
    still getting error.

    “PHP startup: Unable to load dynamic library ‘C:xampp/php/ext/php.int.dll” – the specified module could not be found.

    please help

    thankx


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: