본문 바로가기

분류 전체보기190

AutoSet9 redis 설치 및 오류, phpredis설치 ★ 설치환경 ★ 윈도우 home AutoSet9 PHP 5.6 윈도우에 redis 설치하는 방법입니다. https://github.com/MicrosoftArchive/redis/releases Releases · microsoftarchive/redis Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes - microsoftarchive/redis github.com 으로 접속후 빨간 네모 상자 안에 파일을 다운로드하고 설치해 줍니다. 다른 설정 .. 2021. 12. 6.
php 5.3에 phpredis 컴파일설치 설치할 서버에 php환경 설치환경 php 5.3.3 redis-2.2.7 파일을 다운로드합니다. wget http://pecl.php.net/get/redis-2.2.7.tgz cs 다운로드한 파일을 압축 풀어 줍니다. 압축 푼 폴더로 이동후 /usr/local/php/bin/phpize 실행해 줍니다. (phpize는 php의 확장 모듈을 올리는 유틸이다.) tar -zxvf redis-2.2.7.tgz package.xml redis-2.2.7/tests/array-tests.php redis-2.2.7/tests/memory.php redis-2.2.7/tests/mkring.sh redis-2.2.7/tests/test.php redis-2.2.7/tests/TestRedis.php redis-2.. 2021. 12. 3.
CentOS 7.6 에 redis 설치 /usr/local/src로 이동후 wget 명령으로 파일을 다운로드하고 압축을 푼 후 차례대로 실행합니다. wget http://download.redis.io/redis-stable.tar.gz tar -zxvf redis-stable.tar.gz cd redis-stable make make install [root@localhost redis-stable]# make install cd src && make install make[1]: Entering directory `/usr/local/src/redis-stable/src' Hint: It's a good idea to run 'make test' ;) INSTALL redis-server INSTALL redis-benchmark INST.. 2021. 12. 2.
코드이그나이터 4 쿼리실행 및 쿼리 결과 생성 코드이그나이터 4 쿼리 실행 개인적으로 쿼리를 실행할 때 정규 쿼리를 많이 사용합니다. 왜냐하면 직관적인 부분이 가장 큽니다. 우선 테스트 전에 데이터베이스와 테이블이 있다고 가정하겠습니다. 없을 경우 아래 부분을 참고 바랍니다. 데이터베이스 ci4tutorial 생성후 board 테이블 생성 합니다. CREATE TABLE `board` ( `id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(255) NOT NULL, `content` text NOT NULL, `writer` varchar(255) NOT NULL, `in_date` datetime DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), KEY `title` (.. 2021. 11. 30.