php 경로별 모듈 인식 오류
- php경로에 따라서 모듈을 못읽는 경우
[root@localhost ~]# php -m PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-zts-20060613//usr/local/php/lib/mssql.so' - /usr/local/php/lib/php/extensions/no-debug-zts-20060613//usr/local/php/lib/mssql.so: cannot open shared object file: No such file or directory in Unknown on line 0 [PHP Modules]
bcmath - 해결방안
$> vi /usr/local/php/lib/php.ini ;extension_dir = "./" 내용을 extension_dir = "/usr/local/php/lib/php/extensions/no-debug-zts-20060613/" --> extension실제 경로 로 변경하면 됨.