ID: 27495 Updated by: [EMAIL PROTECTED] Reported By: Alex_Diedler at gmx dot de -Status: Closed +Status: Bogus Bug Type: *Configuration Issues Operating System: Win2k SP4 German PHP Version: 4.3.4 New Comment:
Leave status at "bogus" as this is not a bug but a user error. Previous Comments: ------------------------------------------------------------------------ [2004-03-05 02:04:15] Alex_Diedler at gmx dot de Hello, Yes thatīs it! But where can I change the location of the php.ini? Should it ever be at c:\winnt? Thread can be closed. Thanks for your help! Greetings Alex D. ------------------------------------------------------------------------ [2004-03-04 10:23:24] [EMAIL PROTECTED] You probably forgot to put php.ini in c:\winnt (or whatever is your windows directory). You can see on the top of phpinfo page which php.ini was read. ------------------------------------------------------------------------ [2004-03-04 09:39:06] Alex_Diedler at gmx dot de Description: ------------ Following problem: The installation of Apache 1.3.29 and PHP 4.3.4 finished without problems. Now I enable all extension in the php_ini and add the path to the System_environment. I copy the 2 dll files to the system32 directory. But the function ldap_connect() doesnīt work. So I am looking to phpinfo(). There is the path extension_dir shown to c:\php4 but in my php.ini there is the path setting to C:\php\extensions. I tried with or without "" oder \ / nothing changes. Why the phpinfo() show me the wrong path and doesnīt work? Many restarts of the server takes no effect on it. The Browser throws exception: Fatal error: Call to undefined function: ldap_connect() in c:\programme\apache group\apache\htdocs\php_tut\ldap_test2.php on line 15 on Line 15 is: $ldapConn = ldap_connect($ldapServer); Reproduce code: --------------- My php.ini: located at C:\winnt\system32 ;;;;;;;;;;;;;;;;;;;;;;;;; ; Paths and Directories ; ;;;;;;;;;;;;;;;;;;;;;;;;; ; UNIX: "/path1:/path2" ;include_path = ".:/php/includes" ; ; Windows: "\path1;\path2" ;include_path = ".;c:\php\includes" ; The root of the PHP pages, used only if nonempty. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root ; if you are running php as a CGI under any web server (other than IIS) ; see documentation for security issues. The alternate is to use the ; cgi.force_redirect configuration below doc_root = ; Directory in which the loadable extensions (modules) reside. extension_dir = C:\php\extensions Expected result: ---------------- I expect the correct directory and that the apache find the extension modules and it should work fine. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27495&edit=1