我有两个扩展要添加。我是否应该分别添加它们,例如:
extension=php_ftp.dll
extension=php_openssl.dll
或者它们像数组一样被添加?
extension=php_ftp.dll,php_openssl.dll
答案1
php.ini 规定每行只能有一个扩展声明:
866 ; If you wish to have an extension loaded automatically, use the following
867 ; syntax:
868 ;
869 ; extension=modulename.extension
870 ;
871 ; For example, on Windows:
872 ;
873 ; extension=mysqli.dll
874 ;
875 ; ... or under UNIX:
876 ;
877 ; extension=mysqli.so
878 ;
879 ; ... or with a path:
880 ;
881 ; extension=/path/to/extension/mysqli.so
通过:http://git.php.net/?p=php-src.git;a=blob;f=php.ini-production;hb=HEAD#l865