Apache/PHP: "function not defined" even after properly loading extension

I have a piece of vendor php code that requires the http_parse_message() function.
I look up the function and it is part of the PECL HTTP extension:
http://php.net/manual/en/function.http-parse-message.php
So I install PECL and its dependencies, as well as the HTTP extension and its dependencies.

I am loading http as well as extensions listed as dependencies (have tried in php.ini, as well as a custom php.d/zhttp.ini):
extension=raphf.so
extension=propro.so
extension = http.so
(I named it zhttp.ini so it is loaded after json.ini or I will get a json function error when http.so tries to load)
I also have tried inserting configuration info in the zhttp.ini I created:
http.etag.mode=MD5
;http.log.cache=
;http.log.redirect=
;http.log.not_found=
;http.log.allowed_methods=
;http.log.composite=
;http.request.methods.allowed=
;http.request.methods.custom=
http.request.datashare.cookie=0
http.request.datashare.dns=1
http.request.datashare.ssl=0
http.request.datashare.connect=0
http.persistent.handles.limit=-1
http.persistent.handles.ident=GLOBAL
http.send.inflate.start_auto=0
http.send.inflate.start_flags=0
http.send.deflate.start_auto=0
http.send.deflate.start_flags=0
http.send.not_found_404=1
http.only_exceptions=0
http.force_exit=1

I have the pecl HTTP extension loaded and displaying the proper version using phpinfo:
http
HTTP Support      enabled
Extension Version      2.0.7
Used Library      Compiled      Linked
libz      1.2.3      1.2.3
libcurl      7.19.7      7.19.7
libevent      disabled      disabled
Directive      Local Value      Master Value
http.etag.mode      crc32b      crc32b
But the page is still broken and this is in the error log:
cat /var/log/httpd/error_log
[Sun Aug 03 20:45:26 2014] [client 171.71.x.71] PHP Fatal error:  Call to undefined function http_parse_message() in /var/www/web-portal/includes/txx_trusted.php on line 35
I do not think this is an apache issue because I get the same error if I try to run a php script containing it from the prompt.

So if the extension shows loaded and the proper version why is the function still missing from php?
mmgibso29Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mmgibso29Author Commented:
Looks like the PECL HTTP 2.x is completely incompatible with the 1.x functions.  I downgraded to the latest in the 1.x code tree and fixed the issue
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.