I' ve gotten this error: Fatal error: Call to undefined function ldap_ connect( ) in ubuntu. I' ve installed the gettext extension in phpbrew to my 5. 发现程序执行的配置文件是在Apache下的, 而我修改的是这个目录下的: D: / Program Files/ wamp/ bin/ php/ php5. 写下来给大家做个参考。. You don' t say what platform/ stack you' re running PHP on. Depending on the distribution there may be multiple php. One way to find out is to add the following script: