Doc #14741 [NEW]: php_http.dll not in "PHP Extensions" Table describing dependencies

From: Date: Sat, 04 Oct 2008 23:00:19 +0000
Subject: Doc #14741 [NEW]: php_http.dll not in "PHP Extensions" Table describing dependencies
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-11119@lists.php.net to get a copy of this message
From: 0587terry at charter dot net Operating system: Windows XP Package version: PHP version: 5.1.6 Package: Documentation Bug Type: Documentation Problem Bug description: php_http.dll not in "PHP Extensions" Table describing dependencies Description: ------------ (Note: I am submitting a ** Documentation ** bug report, but I am describing an issue that seems should be addressed by Documentation.) I have the Windows version of PHP, which came with PECL packages. I am trying to use a redirect in one of my scripts, and it turns out that "php_http.dll" is not loading, even after editing my "php.ini". I get an error "Fatal error: Call to undefined function http_redirect()". ** PECL Documentation ** : There is a table called "PHP Extensions" on this page... http://us2.php.net/manual/en/install.windows.extensions.php#install.windows.extensions.overview ...listing various PECL dll packages for Windows, and whether or not they require additional dlls. However, "php_http.dll" is not listed. My PATH variable includes the installation and extension directories, and "php_http.dll" is already in the extension directory. "php.ini" is edited properly, the configuration line is spelled correctly, and php_info() tells me the correct configuration file is loading after I restart Apache 2.2.3. Other extensions I have configured are loading properly -- it is only the HTTP package that refuses to load, per using get_loaded_extensions(). However, I can't find out what ** else ** I need to do, because the "php_http.dll" is missing from that table in the Windows installation instructions. I ask you to please update the Windows installation instructions with what else needs to be done to make the HTTP package work. Reproduce code: --------------- http_redirect('http://localhost/someNewPage.php'); Expected result: ---------------- I expect that the page should redirect the user to the specified page. Actual result: -------------- Fatal error: Call to undefined function http_redirect() in [OBSCURING PRIVATE INFO] -- Edit bug report at http://pecl.php.net/bugs/bug.php?id=14741&edit=1 --

« previous php.pear.doc (#11119) next »