How do I enable PHP apache_request_headers() or change PHP into an apache module

Posted by inac on Server Fault See other posts from Server Fault or by inac
Published on 2010-06-21T04:01:47Z Indexed on 2011/01/03 20:55 UTC
Read the original article Hit count: 327

Filed under:
|
|
|

PHP, WHM, and several other services are already installed on a CentOS x64 server I am trying to migrate data to. Many of my existing PHP scripts are dependent on PHP's apache_request_headers() function, which the current server's PHP configuration does not support. Apparently, compiling PHP as an Apache module is one solution, but are there other ways to enable this (without uninstalling PHP, reinstalling, etc., and all dependent services), perhaps as easy as modifying php.ini, somehow?

© Server Fault or respective owner

Related posts about apache

Related posts about php