I have written some php scripts that use basic HTTP authentication as
described in the php manual. It works fine on my development server which
runs php as an apache module. But, the production server (Linux), which is
operated by a hosting service, has their php setup to run as a CGI
executable.
So, I'm trying to find out how hard it is to reconfigure to run as an apache
module as opposed to a CGI executable on a Linux server. If it's just a
matter of editing a couple configuration files, than maybe I can just do
that myself. If it requires a rebuild of php, then I may need to ask the
hosting service support to do it (if they will).
Is it just a matter of adding a few modules to httpd.conf, or is there more
to it? The php documentation seems to be more focused on describing complete
installation procedures, and not reconfiguration .
described in the php manual. It works fine on my development server which
runs php as an apache module. But, the production server (Linux), which is
operated by a hosting service, has their php setup to run as a CGI
executable.
So, I'm trying to find out how hard it is to reconfigure to run as an apache
module as opposed to a CGI executable on a Linux server. If it's just a
matter of editing a couple configuration files, than maybe I can just do
that myself. If it requires a rebuild of php, then I may need to ask the
hosting service support to do it (if they will).
Is it just a matter of adding a few modules to httpd.conf, or is there more
to it? The php documentation seems to be more focused on describing complete
installation procedures, and not reconfiguration .
Comment