PHP Extension intl을 어떻게 활성화 할 수 있습니까?
로컬 서버에 Magento2를 설치하려고하는데 다음과 같은 오류 알림이 표시됩니다.
XAMPP를 사용하고 있습니다. php.ini 파일에서 활성화하려고하면 dll 누락에 대한 또 다른 오류가 발생합니다.
MSVCP110.dll이 컴퓨터에 없기 때문에 프로그램을 시작할 수 없습니다. 이 문제를 해결하려면 프로그램을 다시 설치하십시오.
도움이 필요하세요?
먼저 xampp / wamp를 중지 하고 다음 코드 에서 xampp / php / php.ini 에서 시작 세미콜론 ( ; )을 제거하십시오 .
;extension=php_intl.dll
그런 다음 xampp / wamp를 다시 시작하십시오.
PrestaShop에 대한이 질문을 접하는 사람이 있으면이 게시물을 작성했지만 Magento2에서 작동하는지 모르겠습니다. PrestaShop 설치를 위해 PHP 확장 intl을 활성화하는 방법을 다음과 같이 해결했습니다.
- XAMPP Control Pane을 엽니 다.
- Apache 서버가 시작된 경우 중지하십시오.
- 그런 다음 구성 버튼에서 PHP (php.ini) 항목을 클릭합니다 .
- Php.ini가 메모장 (또는 기본 텍스트 편집기)에서 열리면 Ctrl + F를 클릭하고 ; extension = intl을 검색 하고 세미콜론을 제거합니다.
- 그런 다음 메모장을 저장하고 닫은 다음 Apache 서버를 다시 시작하십시오.
이 단계로 문제가 해결되었습니다.
참고 (2) : XAMPP v3.2.3 및 PrestaShop v1.7.5.1을 사용하고 있습니다.
나는 또한 같은 문제를 겪고 있었고 방금 해결했습니다 . 이 문제를 해결하려면 다음 단계를 시도하십시오.
- php.ini를 열고 세미콜론 (;)을 제거합니다.
;extension=php_intl.dll
- 아파치를 다시 시작하려고 할 때 일부 오류가 발생합니다. 이는 일부 .dll 파일 때문일 수 있습니다. 모든 icu ****. dll 파일을 복사하기 만하면 됩니다.
에서
Xampp 폴더 / php
에
Xampp 폴더 / apache / bin
- 여전히 msvcp110.dll 파일 누락 오류가 발생했습니다. 여기 에서 누락 된 파일을 다운로드 하여 원하는 위치에 저장했습니다.
Windows 7 32 비트의 경우-C : \ Windows \ System32
- 이제 Apache를 시작하면 정상적으로 작동합니다.
우분투 를 사용하는 경우 업데이트 할 수 있습니다.
sudo apt-get update
그리고 php 5.6의 경우 확장을 설치하십시오.
sudo apt-get install php5.6-intl
그리고 PHP 7.0의 경우
sudo apt-get install php7.0-intl
그리고 아파치를 다시 시작하십시오.
sudo service apache2 restart
xampp 를 사용하는 경우 아래 줄 에서 xampp / php / php.ini의 세미콜론 (;)을 제거하십시오.
;extension=php_intl.dll
그런 다음 xampp를 다시 시작하십시오.
나는 화면 촬영을 보았고, 당신이 가지고있는 문제는 msvcp110.dll이 누락되었습니다.이 파일은 다음에서 다운로드 할 수 있습니다.
https://www.dll-files.com/msvcp110.dll.html
C : / Windows 폴더에 업로드
XAMPP 에서 php.ini를 편집 한 후보다
변화
;extension=php_intl.dll
...에
extension=php_intl.dll
파일을 저장하고 XAMPP 에서 Apache를 다시 시작하십시오.
Megento 설치를 위해서는
- Apache 서비스 중지
- php.ini 파일에서 extension = php_intl.dll의 주석 처리를 제거 하십시오.
- 6 개 파일 모두 복사 icudt57.dll, icuin57.dll, icuio57.dll, icule57.dll, iculx57.dll, icuuc57.dll php 폴더에서 apache \ bin으로 이제 apache 서비스를 다시 시작하십시오.
xampp 폴더 (xampp \ php \ php.ini)의 php.ini로 이동하여 제거하면됩니다. ; extension = php_intl.dll에서
; extension = php_intl.dll
에
extension = php_intl.dll
추가 참고 사항 (이것은 매우 오래된 질문이며 아직 답변이 허용되지 않았으므로)
나는 오전 XAMPP-win32-7.2.3-0-VC15-설치 Windows10-64bit합니다.
여기 내 php.ini 파일에있는 메모가 있습니다.
참고 : 이전 PHP 버전 ( 'extension = .so'및; 'extension ='php_.dll ')에서 사용 된 구문은 레거시 이유로 지원되며; 향후 PHP 메이저 버전에서 더 이상 사용되지 않습니다. 가능하면 제발; 새로운 ( 'extension =) 구문으로 이동하십시오.
따라서 intl
대신 확장 이름을 php_intl.dll
찾은 다음 해당 줄의 주석 처리를 제거해야합니다 (최소한 저에게 효과적이었습니다).
extension = intl
Magento를 localhost에 설치하는 동안 두 가지 오류를 발견했습니다.
PHP Extension xsl 및 intl이 있으며 다음 단계에 따라 문제를 해결했습니다.
- php.ini 열기
- extension = php_xsl.dll 및 extension = php_intl.dll 줄에서 '#'cha를 제거합니다.
- 파일을 저장하고 xamp를 다시 시작하십시오.
- Magento 설치 페이지에서 다시 시도를 클릭합니다.
그런 다음 모든 것이 다음 그림과 함께 전달되었습니다.
phpinfo()
함수를 사용 하여 php.ini
파일 경로 를 찾고 php.ini 파일을 엽니 다. 여기에서 검색 extension=php_intl.dll
한 다음 ;
해당 줄의 시작 부분에있는 세미콜론 ( ) 을 제거 합니다.
세미콜론 ( ;
)을 제거한 후 웹 서버 (apache)를 다시 시작합니다.
ldap, intl, curl php 확장과 같은 종류의 문제가 있습니다. 다음과 같은 방법으로 이러한 문제를 해결했습니다.
처음 에는 다음 줄 앞의 세미콜론 (;)을 제거하여 php.ini 파일에서 이러한 확장이 활성화되었는지 확인해야합니다.
;extension=php_intl.dll
;extension=php_ldap.dll
;extension=php_curl.dll
Secondly, libeay32.dll, ibssh2.dll and ssleay32.dll files have to be loaded by php properly to function those extensions properly. These dll files are required by several php extensions (ie curl, ldap, intl etc). These files generally reside in the php installation directory [for my case it is C:\php directory]. Additionally, for intl extension to be enabled you're gonna need some other dll files to be loaded by php properly. The name of these files begin with icu (ie icudt57.dll icuin57.dll etc for php version 5.6). You'll also find these files in the php main installation directory.
There is a alternate way you can load these files from your httpd.conf (apache configuratio file) file instead of copying them to the apache's bin directory. This can be done by using the following technique:
Please note that my php version is 5.5.
LoadFile "C:/php/icudt51.dll"
LoadFile "C:/php/icuin51.dll"
LoadFile "C:/php/icuio51.dll"
LoadFile "C:/php/icule51.dll"
LoadFile "C:/php/iculx51.dll"
LoadFile "C:/php/icutest51.dll"
LoadFile "C:/php/icutu51.dll"
LoadFile "C:/php/icuuc51.dll"
LoadFile "C:/php/libeay32.dll"
LoadFile "C:/php/libssh2.dll"
LoadFile "C:/php/ssleay32.dll"
That's it.
Simply copy all icu****.dll files from
C:\xampp\php
to
C:\xampp\apache\bin
[or]
C:\wamp\bin\php\php5.5.12
to
C:\wamp\bin\apache\apache2.4.9
intl extension will start working!!!
For enable PHP Extension intl , follow the Steps..
- Open the xampp/php/php.ini file in any editor.
- Search ";extension=php_intl.dll"
kindly remove the starting semicolon ( ; )
Like :
;extension=php_intl.dll
to
extension=php_intl.dll
Save the xampp/php/php.ini file.
- Restart your xampp/wamp
Hope its work..Cheers..
- Go to C:\xampp\php
- open the file "php.ini-development" on a text editor.
- Then uncomment ;extension=php_intl.dll by removing the semicolon
Here is all command lines to install magento2
PHP Extension xsl and intl. CMD
sudo apt-get install php5-intl
sudo apt-get install php5-xsl
sudo php5enmod xsl
sudo service apache2 restart
PHP Extension mcrypt. CMD
sudo updatedb
locate mcrypt.ini
sudo php5enmod mcrypt
sudo service apache2 restart
i had this prob but solved ! enable the extension=php_intl.dll now if you restart XAMPP this error will popup "msvcp110.dll is missing form your computer"
for solving this error: download this file from : https://www.dll-files.com/msvcp110.dll.html then put this file to C:windows and then restart xampp it will works.
You can find the answer here: http://www.dorusomcutean.com/how-to-install-php-7-2-on-windows/
In that blog post, I'm showing how to install PHP on Windows and how to enable extensions. Hope that it helps anyone who encounters this problem again.
로컬 호스트에 magento를 설치하려면 php.ini에서 extension = php_intl.dll의 주석 처리를 제거하고 php에서 모든 icudt57.dll, icuin57.dll, icuio57.dll, icule57.dll, iculx57.dll, icuuc57.dll 파일을 복사해야합니다. XAMPP \ apache \ bin 폴더로 이동합니다.
그런 다음 xamp 서버를 다시 시작하십시오.
파일을 다운로드하고 설치해보십시오. 하나 또는 두 개의 파일이 설치되지 않을 수 있습니다.
http://www.microsoft.com/en-sg/download/details.aspx?id=30679
참고 URL : https://stackoverflow.com/questions/33869521/how-can-i-enable-php-extension-intl
'IT Share you' 카테고리의 다른 글
WatchService (전체 디렉토리가 아님)를 사용하여 단일 파일 변경을 볼 수 있습니까? (0) | 2020.11.26 |
---|---|
Enum 멤버를 JSON으로 직렬화 (0) | 2020.11.26 |
현재 Windows 버전이 32 비트인지 64 비트인지 감지 (0) | 2020.11.26 |
UITextField 포커스 (0) | 2020.11.26 |
new의 반환 값을 참조로 할당하는 것은 더 이상 사용되지 않습니다. (0) | 2020.11.26 |