본문 바로가기

Coding/Etc120

PHP Call to undefined function xml_parser_create() 에러 해결방법 환경- Ubuntu 16.04- PHP 5.6 XE보드를 설치하려고 압축을 풀고 /xe 폴더로 들어갔더니 다음과 같은 에러가 발생했다. Call to undefined function xml_parser_create() 먼저 php -m | grep xml 을 입력하여 관련 라이브러리가 설치되어있는지 확인한 후설치가 안되어있다면 sudo apt-get install php5.6-xml 명령을 통해 설치해준다.그리고 서버를 restart 시켜주면 제대로 동작하는걸 볼수있다. 2017. 2. 1.
E: Package 'php5-mysql' has no installation candidate 에러 해결방법 E: Package 'php5-mysql' has no installation candidate php5와 마찬가지로 php5-mysql 도 설치하려면 이와 같은 에러가 발생하는데다음과 같은 방법으로 쉽게 해결이 가능하다. sudo apt-get install php-gd php-mysql 2017. 1. 18.
Package 'php5' has no installation candidate 에러 해결방법 Package 'php5' has no installation candidateUbuntu 16.04 에서 php5를 설치하려고 하면 위와 같은 에러가 발생한다.이는 php7이 default 이기 때문인데 다음과 같은 방법으로 해결할 수 있다. Ubuntu 16.04 comes with PHP7 as the standard, so there are no PHP5 packagesHowever if you like you can add a PPA to get those packages anyways:Remove all the stock php packagesList installed php packages with dpkg -l | grep php| awk '{print $2}' |tr "\n" " " th.. 2017. 1. 18.
[W3Schools AngularJS 한글강좌] Directives * ALL COPYRIGHTS are at w3schools. This article's purpose is only for study. *AngularJS DirectivesAngularJS directives are extended HTML attributes with the prefix ng-.AngularJS를 사용하려면 ng- 라는 prefix를 붙여야 한다.ng-app 는 AngularJS application을 초기화한다.ng-init 은 application data를 초기화한다.ng-model 은 INPUT, SELECT, TEXTAREA 등 HTML 요소들의 값을 binding한다.Read about all AngularJS directives in our AngularJS direct.. 2017. 1. 16.
[W3Schools AngularJS 한글강좌] Modules * ALL COPYRIGHTS are at w3schools. This article's purpose is only for study. *AngularJS의 module은 application을 정의한다.module은 application의 다른부분을 위한 컨테이너이다.module은 application controllers를 위한 컨테이너이다.Controllers는 항상 module에 속한다.Creating a Modulemodule은 angular.module를 사용해서 생성할 수 있다.... var app = angular.module("myApp", []); "myApp"매개 변수는 응용 프로그램이 실행될 HTML 요소를 나타낸다.Adding a Controllercontroller를 추가하고 .. 2017. 1. 16.
[W3Schools AngularJS 한글강좌] Expressions * ALL COPYRIGHTS are at w3schools. This article's purpose is only for study. *AngularJS 표현식AngularJS 의 표현식은 다음과 같다: {{ expression }}. (다음과 같은 방법으로도 가능: ng-bind="expression")AngularJS 은 표현식을 해결하고 표현식이 쓰여지는 곳의 결과를 정확하게 반환합니다.AngularJS 표현식 은 JavaScript의 표현식과 비슷하다. (리터럴, 연산자, 변수를 포함할 수 있다.)예제 : {{ 5 + 5 }} 또는 {{ firstName + " " + lastName }}Example My first expression: {{ 5 + 5 }} Try it Yourself »n.. 2017. 1. 16.