lunes, 6 de mayo de 2013

Moodle instalation - Fix Problems


Fix problems
http://moodle-platform.cba.pl/admin/index.php?lang=en&agreelicense=1



SSL problem


admin/environment/php extension/openssl

To install the openssl library on Windows
  1. Open the php.ini file found in the moodle/apache/bin (if not there then, in folder server/php/)
  2. Find the line: ;extension=php_openssl.dll
  3. Remove the ; at the beginning of the line
  4. 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
  1. You need to recompile PHP from source
  2. add --with-openssl to the command line when you run configure



INTL Problem

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 usually found in /php:
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.
In a WAMP installation it may be required to add the php path (e.g. C:\wamp\bin\php\php5.3.13 or C:\wamp\bin\php\php5.4.3) to the the system PATH so that the module4 could uploaded properly (see http://forum.wampserver.com/read.php?2,80704,82499 for a couple of other approaches).

“icuuc46.dll” file missing error


  • Go to [xampp_path]/php/
  • Select the following 3 files:
    • icudt46.dll
    • icuin46.dll
    • icuuc46.dll
  • Copy & Paste the files in [xampp_path]/apache/bin folder.

Restart APACHE




No hay comentarios:

Publicar un comentario