Daniel Reinhardt | 1 Jan 2010 01:52

Re: Getting PHP to work w Apache 1.3.41


--------------------------------------------------
From: "Devraj Mukherjee" <devraj <at> gmail.com>
Sent: 31 December, 2009 23:15
To: <users <at> httpd.apache.org>; <pmcferrin <at> columbus.rr.com>
Subject: Re: [users <at> httpd] Getting PHP to work w Apache 1.3.41

> You need to add something like
>
> AddType application/x-httpd-php .php
>
> to your Apache configuration file. You are also likely to get more
> information regarding this on the PHP resource centres.
>
> Also is there a reason you aren't choosing Apache 2.x + PHP5?
>
> On Fri, Jan 1, 2010 at 8:17 AM, Paul McFerrin <pmcferrin <at> columbus.rr.com> 
> wrote:
>> I'me been trying to get PHP4 to run with Apache1.3.41 but I don't know
>> enough to tie things in as a fastcgi.  What other files have to be modified?
>> Where does PHP4 have to be installed?  Can someone tie things in for me.  I
>> seemed to so close but yet so far.
>>
>> Rightnow my .php file jst downloads the contents.
>>

Is PHP compiled to run with Apache?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
(Continue reading)

Paul McFerrin | 1 Jan 2010 03:55
Picon
Favicon

Re: Getting PHP to work w Apache 1.3.41

Well yes & no.  I'm having to build PHP4 myself.  Instructions for 
installing SAPI are not clearly written.  That's been my hard part.  
Does not matter PHP4 or PHP5.  There is always a road-block.

Daniel Reinhardt wrote:
>
> --------------------------------------------------
> From: "Devraj Mukherjee" <devraj <at> gmail.com>
> Sent: 31 December, 2009 23:15
> To: <users <at> httpd.apache.org>; <pmcferrin <at> columbus.rr.com>
> Subject: Re: [users <at> httpd] Getting PHP to work w Apache 1.3.41
>
>> You need to add something like
>>
>> AddType application/x-httpd-php .php
>>
>> to your Apache configuration file. You are also likely to get more
>> information regarding this on the PHP resource centres.
>>
>> Also is there a reason you aren't choosing Apache 2.x + PHP5?
>>
>> On Fri, Jan 1, 2010 at 8:17 AM, Paul McFerrin 
>> <pmcferrin <at> columbus.rr.com> wrote:
>>> I'me been trying to get PHP4 to run with Apache1.3.41 but I don't know
>>> enough to tie things in as a fastcgi.  What other files have to be 
>>> modified?
>>> Where does PHP4 have to be installed?  Can someone tie things in for 
>>> me.  I
>>> seemed to so close but yet so far.
>>>
(Continue reading)

Paul McFerrin | 1 Jan 2010 04:01
Picon
Favicon

Re: Getting PHP to work w Apache 1.3.41

I'm sure these is more to add to webserver.  In my directory: 
sapi/apache there are:

CREDITS    libphp4.module.in       mod_php4.h      php_apache_http.h
apMakefile.libdir       php.sym         sapi_apache.c
apMakefile.tmpl    mod_php4.c         php4apache.dsp
config.m4          mod_php4.exp       php_apache.c

But no instructions.

Daniel Reinhardt wrote:
>
> --------------------------------------------------
> From: "Devraj Mukherjee" <devraj <at> gmail.com>
> Sent: 31 December, 2009 23:15
> To: <users <at> httpd.apache.org>; <pmcferrin <at> columbus.rr.com>
> Subject: Re: [users <at> httpd] Getting PHP to work w Apache 1.3.41
>
>> You need to add something like
>>
>> AddType application/x-httpd-php .php
>>
>> to your Apache configuration file. You are also likely to get more
>> information regarding this on the PHP resource centres.
>>
>> Also is there a reason you aren't choosing Apache 2.x + PHP5?
>>
>> On Fri, Jan 1, 2010 at 8:17 AM, Paul McFerrin 
>> <pmcferrin <at> columbus.rr.com> wrote:
>>> I'me been trying to get PHP4 to run with Apache1.3.41 but I don't know
(Continue reading)

Eric Covener | 1 Jan 2010 04:34
Picon
Gravatar

Re: Getting PHP to work w Apache 1.3.41

On Thu, Dec 31, 2009 at 10:01 PM, Paul McFerrin
<pmcferrin <at> columbus.rr.com> wrote:
> I'm sure these is more to add to webserver.  In my directory: sapi/apache
> there are:
>
> CREDITS    libphp4.module.in       mod_php4.h      php_apache_http.h
> apMakefile.libdir       php.sym         sapi_apache.c
> apMakefile.tmpl    mod_php4.c         php4apache.dsp
> config.m4          mod_php4.exp       php_apache.c
>
> But no instructions.

You have to build it, presumably from the top-level directory.

http://www.php.net/manual/en/install.unix.apache.php

--

-- 
Eric Covener
covener <at> gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

Daniel Reinhardt | 1 Jan 2010 05:05

Re: Getting PHP to work w Apache 1.3.41


--------------------------------------------------
From: "Paul McFerrin" <pmcferrin <at> columbus.rr.com>
Sent: 01 January, 2010 2:55
To: <users <at> httpd.apache.org>
Subject: Re: [users <at> httpd] Getting PHP to work w Apache 1.3.41

> Well yes & no.  I'm having to build PHP4 myself.  Instructions for installing 
> SAPI are not clearly written.  That's been my hard part.  Does not matter PHP4 
> or PHP5.  There is always a road-block.
>
> Daniel Reinhardt wrote:
>>
>> --------------------------------------------------
>> From: "Devraj Mukherjee" <devraj <at> gmail.com>
>> Sent: 31 December, 2009 23:15
>> To: <users <at> httpd.apache.org>; <pmcferrin <at> columbus.rr.com>
>> Subject: Re: [users <at> httpd] Getting PHP to work w Apache 1.3.41
>>
>>> You need to add something like
>>>
>>> AddType application/x-httpd-php .php
>>>
>>> to your Apache configuration file. You are also likely to get more
>>> information regarding this on the PHP resource centres.
>>>
>>> Also is there a reason you aren't choosing Apache 2.x + PHP5?
>>>
>>> On Fri, Jan 1, 2010 at 8:17 AM, Paul McFerrin <pmcferrin <at> columbus.rr.com> 
>>> wrote:
(Continue reading)

Frank Gingras | 1 Jan 2010 07:17
Picon

Re: Getting PHP to work w Apache 1.3.41


Daniel Reinhardt wrote:
> 
> --------------------------------------------------
> From: "Paul McFerrin" <pmcferrin <at> columbus.rr.com>
> Sent: 01 January, 2010 2:55
> To: <users <at> httpd.apache.org>
> Subject: Re: [users <at> httpd] Getting PHP to work w Apache 1.3.41
> 
>> Well yes & no.  I'm having to build PHP4 myself.  Instructions for 
>> installing SAPI are not clearly written.  That's been my hard part.  
>> Does not matter PHP4 or PHP5.  There is always a road-block.
>>
>> Daniel Reinhardt wrote:
>>>
>>> --------------------------------------------------
>>> From: "Devraj Mukherjee" <devraj <at> gmail.com>
>>> Sent: 31 December, 2009 23:15
>>> To: <users <at> httpd.apache.org>; <pmcferrin <at> columbus.rr.com>
>>> Subject: Re: [users <at> httpd] Getting PHP to work w Apache 1.3.41
>>>
>>>> You need to add something like
>>>>
>>>> AddType application/x-httpd-php .php
>>>>
>>>> to your Apache configuration file. You are also likely to get more
>>>> information regarding this on the PHP resource centres.
>>>>
>>>> Also is there a reason you aren't choosing Apache 2.x + PHP5?
>>>>
(Continue reading)

Frank Gingras | 1 Jan 2010 07:19
Picon

Re: Upgrading from 1.3.22 to 1.3.41`


Paul McFerrin wrote:
> I asked this question of this mailing lists many years ago about my 
> 1.3.22 and I'm again performing this upgrade to 1.3.41 (last 1.x 
> release).  I have gotten my server to respond to both URL's.
> 
> However on every page, I get the "Forbidden" error message.  If I do 
> allow it to view any page, I them get "The page isn't redirecting 
> properly" error.  The htdocs pointer is pointing to thw same page as the 
> 1.3.22 server.
> 
> I have place the current copy of httpd.conf at 
> http://pmcferrin.homedns.org/httpd.conf
> 
> Any help would be appreciated.  The end result is to get php4 installed.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
>   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
> For additional commands, e-mail: users-help <at> httpd.apache.org
> 

What does the error log say, exactly?

Frank.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
(Continue reading)

Frank Gingras | 1 Jan 2010 07:21
Picon

Re: Logs of uploaded files from browser


Manoj Singh wrote:
> Hi,
> 
> Sorry for confusion created. Actually I am using PHP as a server side 
> language to receive the uploaded files. As I am using apache as a web 
> server and I know that apache is maintaining access and error logs for 
> the server. similarly I want to know that whether the apache is 
> maintaining the logs regrading files uploaded.
> 
> Please suggest.
> 
> Regards,
> Manoj
> 
> On Thu, Dec 31, 2009 at 8:04 PM, André Warnier <aw <at> ice-sa.com 
> <mailto:aw <at> ice-sa.com>> wrote:
> 
>     Manoj Singh wrote:
> 
>         Hi Devraj,
> 
>         Actually i mean by files uploaded through the client side by any
>         browser? I
>         have the web site through which I am providing the facility to
>         upload the
>         files.
> 
> 
>     And how exactly are you doing this ?
(Continue reading)

Bill Gradwohl | 1 Jan 2010 20:39

VirtualHost & UseCanonicalName Off

On my Fedora 12 laptop, I'm trying to set up a WEB site development
environment to mimic my real web server that contains several virtual
hosts. On my laptop I want the Apache server to respond to Firefox's
requests to http://localhost/somedomain.com and haul up what my local
development site looks like.

I've set up the following in the httpd.conf:

...
...
UseCanonicalName Off
...
NameVirtualHost *:80
<VirtualHost *:80>
    ServerAdmin xxxx <at> ycc.com
    DocumentRoot /var/www/html/roatanbakery.com
    ServerName roatanbakery.com:80
    ErrorLog /var/log/httpd/roatanbakery.com-error_log
    CustomLog /var/log/httpd/roatanbakery.com-access_log common
    <Directory /var/www/html/roatanbakery.com>
       AllowOverride Options
       XBitHack On
       Options Indexes MultiViews +Includes
       Order allow,deny
       allow from all
    </Directory>
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin xxxx <at> ycc.com
(Continue reading)

Paul McFerrin | 1 Jan 2010 22:45
Picon
Favicon

Re: Upgrading from 1.3.22 to 1.3.41`

Problem solved.  In 1.3.41, they made everything "restrictive".  I just 
removed the restriction my commenting a few lines.

Frank Gingras wrote:
>
>
> Paul McFerrin wrote:
>> I asked this question of this mailing lists many years ago about my 
>> 1.3.22 and I'm again performing this upgrade to 1.3.41 (last 1.x 
>> release).  I have gotten my server to respond to both URL's.
>>
>> However on every page, I get the "Forbidden" error message.  If I do 
>> allow it to view any page, I them get "The page isn't redirecting 
>> properly" error.  The htdocs pointer is pointing to thw same page as 
>> the 1.3.22 server.
>>
>> I have place the current copy of httpd.conf at 
>> http://pmcferrin.homedns.org/httpd.conf
>>
>> Any help would be appreciated.  The end result is to get php4 installed.
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server 
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
>> For additional commands, e-mail: users-help <at> httpd.apache.org
>>
>
(Continue reading)


Gmane