httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cisiodon.com.br - Mail Host - Listserv" <i...@cisiodon.com.br>
Subject Re: Apache 1.3.4 and PHP 4.2.1
Date Thu, 23 May 2002 13:47:10 GMT
You forgot Alias directive;

AcriptAlias /php/ "drive/php/"
<Directory "drive:/php">
Allowoverride None
Options None
Order Allow, deny
Allow from all
</directory>

Mike
Mail-host Cisiodon.com.br

http://www.cisiodon.com.br
http://www.netforum.com.br


WebMail
E-Mail
Listas de E-mail
Dicas em Odontologia
Forum de discussões - Genérico-Programação-Software-Cultura
Lazer-Jogos,Política,Atualidades,Livros,Cinema,etc.
===========================

Para ver listas disponíveis envie e-mail para postmaster@cisiodon.com.br
e na primeira linha digite HELP.
( Não ponha 'nada" em Subject )

Mais detalhes?   Acesse http://www.netforum.com.br/listas
----- Original Message -----
From: "Peter" <pgoggin@optusnet.com.au>
To: <users@httpd.apache.org>
Sent: Thursday, May 23, 2002 10:27 AM
Subject: Re: Apache 1.3.4 and PHP 4.2.1


> I have checked my conf file and so far as I can see the changes I made
> agfree with your suggestion. I stillonly get a blank screen while view
> source shows the text of the file.
> Regards
>
> Peter Goggin
> ----- Original Message -----
> From: "Jason Soza" <solja@gci.net>
> To: <users@httpd.apache.org>
> Sent: Thursday, May 23, 2002 5:23 PM
> Subject: RE: Apache 1.3.4 and PHP 4.2.1
>
>
> > I'm taking these examples right from my httpd.conf file, and they work
for
> > me. This is at the end of all the commented out loadmodule statements:
> >
> > LoadModule php4_module "c:/Program
> > Files/php-4.1.2-Win32/sapi/php4apache.dll"
> > AddType application/x-httpd-php .php .phtml
> >
> > I tried several different combos of putting these lines elsewhere and
> > splitting them up, but this is what I found works. So, try adding these
> > lines like so:
> > ...
> > #LoadModule usertrack_module modules/mod_usertrack.so
> > #LoadModule unique_id_module modules/mod_unique_id.so
> > LoadModule php4_module "c:/Program
> > Files/php-4.1.2-Win32/sapi/php4apache.dll"
> > AddType application/x-httpd-php .php .phtml
> >
> > Then I had to have the AddModule line like so:
> > AddModule mod_php4.c
> > AddModule mod_so.c
> > AddModule mod_setenvif.c
> >
> > Before the mod_so.c and mod_setenvif.c
> >
> > Try that, then restart Apache (I assume you did this after your previous
> > changes?). If it's still not working, you may need to double-check your
> PHP
> > installation.
> >
> > Jason
> >
> > -----Original Message-----
> > From: Peter [mailto:pgoggin@optusnet.com.au]
> > Sent: Wednesday, May 22, 2002 10:30 PM
> > To: users@httpd.apache.org
> > Subject: Re: Apache 1.3.4 and PHP 4.2.1
> >
> >
> > I get nothing in either the access or error log.
> >
> > View source just shows the code of the screen.
> >
> > i.e.
> > <html>
> > <body>
> > <?pH
> > print "hello world.";
> > ?>
> > </body>
> > </html>
> >
> >
> > Regards
> >
> > Peter Goggin
> > ----- Original Message -----
> > From: "Lee Fellows" <lfellows@4lane.com>
> > To: <users@httpd.apache.org>
> > Sent: Wednesday, May 22, 2002 12:33 AM
> > Subject: Re: Apache 1.3.4 and PHP 4.2.1
> >
> >
> > > Hi Peter,
> > >
> > >   You say you get a 'blank page'.  I'm assuming that means you are
> > > not seeing an error message.  What do you see when you do a 'view
> > > source' in your browser?  What are you seeing in apache's access and
> > > error logs for this request?
> > >
> > >
> > >
> > > On Tue, 2002-05-21 at 09:54, Peter wrote:
> > > > I modified the 'AddType application' line to read:
> > > > AddType application/x-httpd-php .php .phtml .htm
> > > >
> > > > This did not make any difference. I still get a blank page.
> > > > Regards
> > > >
> > > > Peter Goggin
> > > > ----- Original Message -----
> > > > From: "Neil Freeman" <neil.freeman@asa.co.uk>
> > > > To: <users@httpd.apache.org>
> > > > Sent: Tuesday, May 21, 2002 6:20 PM
> > > > Subject: Re: Apache 1.3.4 and PHP 4.2.1
> > > >
> > > >
> > > > > The most obvious thing that I see is that you've named your test
> file
> > > > > with an extension of .htm but you haven't set up PHP to parse .htm
> > > > > files. Either rename your file to .php or .phtml or add .htm to
the
> > > > > 'AddType application' line.
> > > > >
> > > > > Neil
> > > > >
> > > > > Peter wrote:
> > > > > >
> > > > > >
> > > >
> >
>
****************************************************************************
> > > > *********************************
> > > > > > This Message Was Virus Checked With : SAVI 3.57 May 2002 Last
> > Updated
> > > > 13th May 2002
> > > > > >
> > > >
> >
>
****************************************************************************
> > > > *********************************
> > > > > >
> > > > > > I have apache 1.3.4 running under windows 98. I am attempting
to
> > install
> > > > php
> > > > > > 4.2.1 as a module in apache.  I have followed all of the
> > instructions
> > > > given
> > > > > > in the readme's for the php release but so far I cannot get
the
> > browser
> > > > to
> > > > > > access php.
> > > > > >
> > > > > > Presumably I have missed a step, but despite three attempts
> > reinstalling
> > > > php
> > > > > > I cannot get it to work.
> > > > > >
> > > > > > I have done the following:
> > > > > >
> > > > > > 1. moved files t c:\windows
> > > > > >   These are:
> > > > > > php.ini
> > > > > > php4ts.dll
> > > > > > all of the dll from the c:\php-4.2.1-Win32\dll directory
> > > > > >
> > > > > > 2. I edited the php.ini file as follows:
> > > > > > extension_dir = C:\php-4.2.1-Win32\extensions
> > > > > >   I did not enable any extensions
> > > > > >
> > > > > > 3. I edited the apache.ini file
> > > > > > Lines added were:
> > > > > > LoadModule php4_module c:/php-4.2.1-Win32/sapi/php4apache.dll
> > > > > > AddModule mod_php4.c
> > > > > > AddType application/x-httpd-php .php .phtml
> > > > > >
> > > > > > When I use the test file I get a blank screen.
> > > > > >
> > > > > > Test file is testtphp.htm and contains
> > > > > > <html>
> > > > > > <body>
> > > > > > <?php
> > > > > > print "hello world.";
> > > > > > ?>
> > > > > > </body>
> > > > > > </html>
> > > > > >
> > > > > > Can anyone please tell me what I have missed and what I need
to
do
> > to
> > > > get
> > > > > > php to work?
> > > > > > Regards
> > > > > >
> > > > > > Peter Goggin
> > > > > >
> > > > > > ---
> > > > > > Outgoing mail is certified Virus Free.
> > > > > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > > > > Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/02
> > > > > >
> > > > >
> > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > > > > For additional commands, e-mail: users-help@httpd.apache.org
> > > > >
> > > > > --
> > > > > +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
> > > > > | Neil Freeman                   Design Engineer          |
> > > > > | Phone: +44 (0)1420 526600      Fax  : +44 (0)1420 23741 |
> > > > > | Email: neil.freeman@asa.co.uk                           |
> > > > > |        neil@curvedvision.com                            |
> > > > > | Web  : www.curvedvision.com                             |
> > > > > +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
> > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > > > For additional commands, e-mail: users-help@httpd.apache.org
> > > > >
> > > >
> > > >
> > > > ---
> > > > Outgoing mail is certified Virus Free.
> > > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > > Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/02
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > > For additional commands, e-mail: users-help@httpd.apache.org
> > > >
> > > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> > >
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.363 / Virus Database: 201 - Release Date: 21/05/02
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.363 / Virus Database: 201 - Release Date: 21/05/02
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.363 / Virus Database: 201 - Release Date: 5/21/2002



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message