httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre Leplay <Lep...@archimed.fr>
Subject RE: [Fwd: RE: Apache Doesn't Process php Files]
Date Thu, 23 May 2002 13:02:20 GMT
Hi , 

I'm not a specialist of apache's configuration but I examine my httpd.conf
and I have 2 more line:

ScriptAlias /php/ d:/php/
Action application/x-httpd-php /php/php.exe

Hope , that can help you.
Regards,

P.Leplay


-----Message d'origine-----
De : David Jackson [mailto:david.j.jackson@pickledbeans.com]
Envoyé : jeudi 23 mai 2002 14:53
À : brucev@cyberlink.com; users@httpd.apache.org
Objet : [Fwd: RE: Apache Doesn't Process php Files]


Bruce --
I forwarding this back up to the list.
Is this the 1st time on PHP on this server?

David


-------- Original Message --------
Subject: RE: Apache Doesn't Process php Files
From: "Bruce Vander Werf" <brucev@cyberlink.com>
To: "David Jackson" <david.j.jackson@pickledbeans.com>

David,

This is what it says....

[Thu May 23 04:03:44 2002] [notice] Apache/1.3.20 Sun Cobalt (Unix)
mod_ssl/2.8.4 OpenSSL/0.9.6b PHP/4.1.2 mod_auth_pam_external/0.1
FrontPage/4.0.4.3 mod_perl/1.25 configured -- resuming normal operations

So PHP is being loaded by Apache, yet it doesn't send php code through
the interpreter?

--Bruce

-----Original Message-----
From: David Jackson [mailto:david.j.jackson@pickledbeans.com]
Sent: Thursday, May 23, 2002 7:20 AM
To: brucev@cyberlink.com
Cc: david.j.jackson@pickledbeans.com
Subject: RE: Apache Doesn't Process php Files


Bruce --
When you start apache you should see somthing like this in access_log:
(for whatever version of apache you are running)

[Thu May 23 06:25:41 2002] [notice] Apache/2.0.36 (Unix) PHP/4.2.1
configured --  resuming normal operations

David



>
> No errors to the browser - like I said in my message, I just see my php
> source, like it never was processed by php.
>
> Is there somewhere else where errors might be logged?
>
> --Bruce
>
> -----Original Message-----
> From: David Jackson [mailto:david.j.jackson@pickledbeans.com]
> Sent: Wednesday, May 22, 2002 10:57 PM
> To: brucev@cyberlink.com
> Cc: users@httpd.apache.org
> Subject: Re: Apache Doesn't Process php Files
>
>
> Bruce ---
> Are you getting any errors? What happens if you create a basic
> ---- info.php ---
> <?php phpinfo(); ?>
> -----------------
>
> David
>
>
>>
>> I am having trouble getting Apache to process php files through the
>> PHP interpreter. When I view a *.php file in a browser, I see my PHP
>> source.
>>
>> I am running Apache 1.3.20 on a RAQ4. The web server was installed
>> before I became involved in this project.
>>
>> I have successfully installed PHP 4.1.2 and can run it interactively
>> from the command line. The php.ini file is in /etc/httpd.
>>
>> I have the following lines in my httpd.conf file:
>>
>> # Extra Modules
>> #LoadModule php_module modules/mod_php.so
>> #LoadModule php3_module modules/libphp3.so
>> LoadModule php4_module modules/libphp4.so
>>
>> # Extra Modules
>> #AddModule mod_php.c
>> #AddModule mod_php3.c
>> AddModule mod_php4.c
>> AddModule mod_perl.c
>> #AddModule mod_casp2.c
>>
>> AddType application/x-httpd-php .php4
>> AddType application/x-httpd-php .php
>>
>> The last two lines are actually in the VirtualHost section for the
>> site that I am trying to use.
>>
>> I have restarted the web server several times.
>>
>> What else do I need to check? What could be preventing Apache and PHP
>> from playing nice together?
>>
>> --
>> Bruce Vander Werf
>> brucev@cyberlink.com
>>
>>
>> ---------------------------------------------------------------------
>> 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

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


Mime
View raw message