개발 Q&A

제목 MAC OS에서 XAMPP셋팅문제
글쓴이 UYEONG 작성시각 2012/09/05 09:40:30
댓글 : 4 추천 : 0 스크랩 : 0 조회수 : 23513   RSS
안녕하십니가 날씨가 좋습니다.^_^

맥에서 xampp를 셋팅중에 있는데, 맴캐쉬를 연동하려 합니다.
컴파일하고 연동다해서 memcache.so파일도 제대로 위치시켰는데
memcache연동이 안되는데, 이유가 무엇인지 알수 있을까요 ㅠㅠ

에러메시지
Fatal error: Class 'Memcache' not found in /Users/Ranch/workspace/memcache/index.php on line 2
로드된 모듈(왜 맴캐쉬가 로드안될까)
php -m

[PHP Modules]
... 생략 ...
mbstring
mcrypt
mhash
ming
mssql
mysql
mysqli
... 생략 ...

[Zend Modules]
모듈로드경로
 php-config --extension-dir
/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626
인클루드경로
php-config --include-dir
/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php
 다음글 개발 토론사이트가 혹시 있을까요? (3)
 이전글 jquery에서 페이지가 로딩되기전에 구문이 실행되는 ... (5)

댓글

변종원(웅파) / 2012/09/05 09:50:47 / 추천 0
php.ini에서 memcachee.so 를 추가(extension)해주신거죠?
한대승(불의회상) / 2012/09/05 09:56:56 / 추천 0
phpinfo() 로 먼저 memcache 가 설치 되어 있는지 확인해 주세요.
UYEONG / 2012/09/05 10:03:40 / 추천 0
php.ini는 추가해줬습니다.
phpinfo();는 memcache를 인식못하는것 같습니다;;;
맥은 memcache가 설치되어있고, 서버도 켜서 터미널에서 foo bar테스트했는데도 
그러네요?
UYEONG / 2012/09/05 19:46:31 / 추천 0
http://wiki.redgolems.com/lib/tpl/arctic-mbo/images/urlextern.png); font-family: Verdana, 'Lucida Grande', Lucida, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.5px; text-align: justify; background-position: 0px 1px; background-repeat: no-repeat no-repeat; ">http://dev.docs.nu/2012/01/-php-extension-xampp-mac-os-x.html
여기 보고 해결했습니다. 감사합니다.