ID: 36163 Updated by: [EMAIL PROTECTED] Reported By: aemulus at hotmail dot com -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: Windows XP SP2 PHP Version: Irrelevant New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2006-01-26 12:29:55] aemulus at hotmail dot com Description: ------------ Fresh install of Apache 2.0.55 MSI installer. Fresh install of PHP 5.1.2 unzipped 8mb + PECL extensions in C:\php Extensiondir=C:\php\ext (also tried C:/php/ext, and both with "/" on the end, also in quotations and without for a combination of 6 different path patterns) Copied ssleay32.dll, and libeay32.dll to C:\Windows\System32 (also tried the apache folder, apache/bin folder, c:\windows, etc) Core PHP works on Apache, so PHP is installed correctly. No error on starting Apache (nothing saying dll can't be found, etc... EVER!!) < -- grr Only one php.ini exists in system located in c:\php . Uncommented "extension=php_curl.dll" and added "extension=php_win32service.dll". Reproduce code: --------------- Win32_Query_Service - Bug #1 ----------------------------------------------- <?php $test1=win32_query_service_status("time"); print $test1; ?> Curl ---------------- Bug #2 ----------------------------------------------- <?php $test2=geturlfile("http://www.google.ca"); print $test2; function geturlfile($link2) { $curl_handle=curl_init(); curl_setopt($curl_handle,CURLOPT_URL,$link2); curl_setopt($curl_handle,CURLOPT_CONNECTTIMEOUT,2); curl_setopt($curl_handle,CURLOPT_RETURNTRANSFER,1); $buffer = curl_exec($curl_handle); curl_close($curl_handle); if (empty($buffer)) { return "0"; } else { return $buffer; } } ?> Expected result: ---------------- BUG#1 RESULT: Fatal error: Call to undefined function win32_query_service_status() in bug1.php on line 2 BUG#2 RESULT: Fatal error: Call to undefined function curl_init() in bug2.php on line 3 Actual result: -------------- Code is short and sweet, dll's are all in their proper locations according to the documentation. Additions were made to the httpd.conf file according to the PHP 5 section in the install.txt, and both of these dll's provide zero functionality as they are not being loaded. Please advise. Thank you ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36163&edit=1
