Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I work with windows 7 using WampServer Version 2.2 php5.3.13

I put my project in www

and during the execution of my project this error is displayed

Fatal error: Call to undefined function http_build_url() in C:wampwww

in the source code of my project I use this syntax

$url = http_build_url($url);

I think I need to configure wamp

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
694 views
Welcome To Ask or Share your Answers For Others

1 Answer

  1. Check your extensions folder for php_http.dll file.
  2. If the file is present, check that php_http extension is enabled in your php.ini (or any other included .ini-s)
  3. If the file is absent, either download it separately from http://downloads.php.net/pierre/ or download along with other pecl extensions (you may need a few of them) from http://museum.php.net/php5/pecl-5.2.6-Win32.zip . Adjust your php.ini to enable the extension.
  4. Restart your web-server.

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...