473,238 Members | 1,915 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,238 software developers and data experts.

Reconfiguring from php as a CGI executable to an Apache module?

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.


Jul 17 '05 #1
2 1556
"Bughunter" <no****@home.net> wrote:

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.


That shouldn't make a difference. What isn't working?
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Jul 17 '05 #2
Basic http authentication isn't working. It says in the documentation that
it is not supposed to work when php is running a as a CGI executable. So,
yes it does make a difference.

"Tim Roberts" <ti**@probo.com> wrote in message
news:s3********************************@4ax.com...
"Bughunter" <no****@home.net> wrote:

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.


That shouldn't make a difference. What isn't working?
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.

Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Ben | last post by:
Hi all, I used PHP installer binary to install PHP. Then I installed MySQL. Now how do I reconfigure PHP to connect to MySQL? In PHP installer, it does not provide any options for mysql support....
0
by: Kim Gijung | last post by:
Hi all, I'm planning to make apache module. I made php code. but it's too slow to handle requests for my project. So i'm thinking if i replace php code to c and make apache module then it maybe...
1
by: Jay Haslup | last post by:
I am trying to figure out how to get the CMD (dos) window to come up when I call a executable. I have this working on a Win2000/apache machine and am trying to use the same code on a identical...
3
by: Ryan Riehle | last post by:
Hi All! Trying to upgrade to Apache 2.0.49 and getting compile errors related to mod_auth_pgsql, any clue?: make: Entering directory `/usr/src/httpd-2.0.49'...
0
by: zhenya.tkachenko | last post by:
Hi! Have a problem with mod_auth_mysql. Compilation and installation of module done ok: # /usr/local/apache/bin/apxs -c -L/usr/lib/mysql -I/usr/include/mysql -lmysqlclient -lm -lz...
3
by: Sidu | last post by:
Ok well i'm still very new to apache, mysql, and php.. let me explain everything i have set up.. I have installed Appserv, for those of you who are unfamiliar with it.. it installs mysql, php,...
3
by: John Murtari | last post by:
Folks, Trying to build php 4.4.6 and apache 1.3.37 on RHEL 4. Each of them builds and installs okay, but when we start apache we get: Syntax error on line 238 of...
6
by: MaiyaHolliday | last post by:
Hello, I've recently installed apache on a new computer, and cannot figure out why my site will not process any includes. (it was working on my old one) There are no errors on the page such as...
10
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.