[PHP5] Cannot redeclare class soapclient in …

HYEONG HWAN, MUN/ 10월 18, 2014/ 미분류/ 0 comments

https://blog.lael.be/post/221

Cannot redeclare class soapclient in xxx

이 에러는 php5.x 에서만 발생한다.

soapclient가 php5 에서 built-in class 라서

nusoap 과 충돌이 일어난다.

해결책은
nusoap 관련파일을 몽땅 읽은후에  soapclient  라는 단어를  soapclientW 로 바꾸어주면 된다.

Leave a Comment

작성하신 댓글은 관리자의 수동 승인 후 게시됩니다.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
*
*