I am trying to install intl extension in moodle which is a php application. I've added the lines
extension = php_intl.dll
and
[intl]
intl.default_locale = en_utf8
intl.error_level = E_WARNING
in my php.ini file. When I do this in apache and copy all the icuu*.dll files in apache/bin folder, I can see the extension in the application. In IIS server, I don't know where to copy the icuu*.dll files and whether I need to copy those files. If I restart without copying, the application still runs but I can't see the extension. Can someone please advise me?
I had the same issue. I tried to disable php_wincache.dll extension and it worked. Then i could reenable it again.
I used VC9 x86 Thread Safe intl extension dll from zip package from here http://windows.php.net/download/
Related
Trying to install Magento 2.2 locally on my Windows computer with MAMP. Received an error that the following PHP extensions were missing:
PHP Extension xsl and
PHP Extension intl
I went into the appropriate php.ini file for my version of PHP and removed the ; from infront of ;extension=php_xsl.dll and ;extension=php_intl.dll and restarted the server. The xsl.dll file works, but the intl.dll file is still missing.
I have checked and the extensions appear in the correctly in the file structure. Scratching my head.
SSHed and installed the correct extensions from the Sury PHP 7.2 library to my localhost
I am trying to run a basic cake 3.7 application, however after I create a new project I get a You must enable the intl extension to use CakePHP. According to CakePHP, XAMPP comes with intl extension it just needs to to be enabled via php.ini. I enabled the extension and restarted the server and it did not work. I look inside my extensions directory xamppfiles/lib/php/extensions/no-debug-non-zts-20170718 and could not find the required extension. My question is how do install and enable this extension to satisfy the requirement error?
I've just double-checked and indeed Xampp is coming with php_intl.dll (in your /php/ext folder).
You can enable this extension easily in your php.ini file:
Edit php.ini and remove ; on this line ;extension=php_intl.dll
Restart Xampp
I have WAMPSERVER 3.0.6 64 bit.
I have updated PHP version 5.6.25 from 7.0.10.
I have installed updated version of Moodle 3.4 and have tried to run but getting the issue is following -
Intl extension is required to improve internationalization support, such as locale aware sorting and international domain names.
For resolving this issue I have tried so many tips but could not resolve this issue.
Even after doing the steps in moodle doc
if it is not working, Try to do this.
Change the directory to php folder(server/PHP/) and type the this command
deplister.exe ext\php_intl.dll
It list down all the .dll files in moodle.
If there is any file 'Notfound', Download missing dlls from : dllfiles.com
For 64-Bit windows you have to download 32-Bit file + 64-Bit file
Copy msvcp140.dll (32-bit file) into C:/Windows/SYSWOW64
Copy msvcp140.dll (64-bit file) into C:/Windows/System32
Check if it is using deplister.exe ext\php_intl.dll command.
Refresh and see the environment by Site Administration->Server -> Environment
Maybe this will be a late answer. Anyways, if someone stll looking for information, these steps could help:
open PHP.ini in edit mode using notepad or whatever editor
add:
extension= php_intl.dll
Then add:
[intl]
intl.default_locale = en_utf8
intl.error_level = E_WARNING
You may need to restart the webserver
It will work fine
In my case, I realized I did not have all the necessary .dll files. To check missing files go to xampp/php in your cmd terminal and type deplister.dll ext\php_intl.dll
See image
You will see list of all both available and missing files marked as Ok or Notfound
then download the files from here https://www.dll-files.com/search/?q=string. Extract the files and place the .dll file at windows/system32. Remember this requires administrative privileges.
I downloaded PHP 5.5. for Windows and trying to install Composer.
Later I found that Composer need Zip extension. But php_zip.dll file is missing from PHP 5.5 zip I downloaded from php.net website.
Where can I find this missing php_zip.dll?
Thanks in advance.
Found the Answer.
Remove ;extension=php_zip.dll line in php.ini.
Restart Apache HTTP Server.
Previous versions of PHP shipped with separate php_zip.dll file in ext folder. And we need to enable (comment out the ;extension=php_zip.dll line in php.ini) the zip extension manually.
Latest version - PHP 5.5 includes this zip support in core and it is enabled by default.
But the line ;extension=php_zip.dll was left there in php.ini even though it is not needed.
As usual after installing PHP 5.5, I enabled (commented out) ;extension=php_zip.dll line in php.ini, thinking that it is a separate extension.
In this case, Composer couldn't find php_zip.dll.
I removed the ;extension=php_zip.dll line in php.ini.
Restarted Apache HTTP Server.
Worked fine.
The PHP 5.5 build for Windows that I installed from windows.php.net did not come with /ext/php_zip.dll, so I had to download the latest dll file for my Windows 8 x64 Non-Thread-Safe system and copy it into my php ext directory: http://pecl.php.net/package/zip/1.12.4/windows
MYSQL and apache server are already installed on my server.
But still I encountered these problem.
I dont understand the terms to compile php with --with-mysql
Where should i compile? i am using window server.
or how to install the mysql.so module??
Checking environment...
Please include all of the lines below
when reporting installation problems.
PHP 5.2.14 installed Could not find a
suitable database driver! For MySQL,
compile PHP using --with-mysql, or
install the mysql.so module For
PostgreSQL, compile PHP using
--with-pgsql, or install the pgsql.so module For SQLite, compile PHP using
--with-pdo_sqlite, or install the pdo_sqlite.so module For MSSQL,
compile PHP using
--with-mssql_not_ready, or install the mssql_not_ready.so module For DB2,
compile PHP using --with-ibm_db2, or
install the ibm_db2.so module For
Oracle, compile PHP using --with-oci8,
or install the oci8.so module
Look in /php_install_dir/extensions. There should be a file named "php_mysql.dll". If so, enable it in php.ini. If not, download the dll, copy it to the extension dir and enable in php.ini. Remember to restart Apache.
See this page for more info (make sure you read the comments).
Changed this in php.ini. Shouldn't the installer have done this for a Windows installation?
; enable_dl = Off
; CHANGED - This is necessary to enable dynamic loading of Windows .dll modules
; The immediate problem was that PHP could not find a database driver for MySQL
enable_dl = On
For PHP: 5.6.10 and MySQL: 5.0.24a
Go to the root folder of PHP installation
Find a file called php.ini-production
Save the file as php.ini
Edit the file and uncomment the following contents
;extension=php_mysqli.dll
;extension_dir = "ext"
and replace it with,
extension= php_mysqli.dll
extension_dir = "D:\Programs\php\ext”