httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Hofert" <t...@spartangraphics.com>
Subject RE: [users@httpd] PHP Prolem
Date Sun, 11 Dec 2005 16:38:46 GMT
Thanks to all who replied. Tis in addition to the original recommendation corrected the issue.
 
Thanks to all.

________________________________

From: Malka Cymbalista [mailto:Malki.Cymbalista@weizmann.ac.il]
Sent: Sun 12/11/2005 4:50 AM
To: users@httpd.apache.org
Subject: RE: [users@httpd] PHP Prolem



I had a similar problem.  I added
   php_flag engine on
to the appropriate <Directory     sections and since then all has been
well.  I must say that for a long time I never had any problems with php
but at some point every now and then (and it was not consistent) the
browser would display the php code instead of actually running it.  Ever
since I added    php_flag engine on   to the config file, I have not had
the problem.
We are running apache 2.0.55 with mod_ssl 2.0.55, openSL 0.9.7g, php,
php 4.3.3, and mod_perl 2.0.1.
Hope this helps.

>>> todd@spartangraphics.com wrote on 12/9/2005 3:46 PM:
> I apologize for my ignorance but I still cannot make this work. Can
> someone please offer specific direction on how to edit the .conf file

> to allow my appache server to properly display php files in
browsers?
> 
> Thanks
> Todd
>
> ________________________________
>
> From: myhapwcforever [mailto:myhapwcforever@gmail.com]
> Sent: Thu 12/8/2005 9:06 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] PHP Prolem
>
>
> AddType application/x-httpd-php .php
>
> I met with your problem.And add it. ;)
> ---- Original Message -----
>
>       From: Todd Hofert <mailto:todd@spartangraphics.com> 
>       To: users@httpd.apache.org
>       Sent: Thursday, December 08, 2005 8:57 PM
>       Subject: RE: [users@httpd] PHP Prolem
>
>       Where do I add this? I added it in the section that previously
read:
>       
>       <IfModule mod_dir.c>
>           DirectoryIndex index.html
>       </IfModule>
>       
>       Doing so now just opens the php file as text in the browser
window.
>       
>       Thanks in advance.
>       Todd
>
> ________________________________
>
>       From: ludi [mailto:myhapwcforever@gmail.com]
>       Sent: Wednesday, December 07, 2005 9:37 PM
>       To: users@httpd.apache.org
>       Subject: Re: [users@httpd] PHP Prolem
>      
>      
>       AddType application/x-httpd-php .php
>       DirectoryIndex index.html index.html.var index.php
>       Add to the httpd.conf
>      
>      
>       2005/12/8, Todd Hofert <todd@spartangraphics.com>:
>
>               I just installed Apache 1.3 on local computer. I am now
trying to
> install Zen-Cart and when I access the appropriate directory the
result
> is a directory listing. The directions indicate that if you get a
> directory listing you should speak to your Hosting Site about how to

> setup your server to auto-detect PHP filename extensions.
>              
>               So since I am the host, how do I configure Apache to
auto-detect PHP
> filename extensions?
>              
>               Thanks
>               Todd
>              
>               This e-mail and any attachments may contain confidential
and
> privileged
>               information. If you are not the intended recipient,
please notify the
>               sender immediately by return e-mail, delete this e-mail
and destroy
> any
>               copies. Any dissemination or use of this information by
a person
> other
>               than the intended recipient is unauthorized and may be
illegal.
>              
>
                ---------------------------------------------------------------------
>               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@httpd.apache.org
>                  "   from the digest:
users-digest-unsubscribe@httpd.apache.org
>               For additional commands, e-mail:
users-help@httpd.apache.org
>              
>              
>
>
>       This e-mail and any attachments may contain confidential and
> privileged information. If you are not the intended recipient, please

> notify the sender immediately by return e-mail, delete this e-mail
and
> destroy any copies. Any dissemination or use of this information by a

> person other than the intended recipient is unauthorized and may be
> illegal.
>
>      
>
>
>
> This e-mail and any attachments may contain confidential and
privileged
> information. If you are not the intended recipient, please notify
the
> sender immediately by return e-mail, delete this e-mail and destroy
any
> copies. Any dissemination or use of this information by a person
other
> than the intended recipient is unauthorized and may be illegal.


Malka Cymbalista
Webmaster, Weizmann Institute of Science
malki.cymbalista@weizmann.ac.il
08-934-3036

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org





This e-mail and any attachments may contain confidential and privileged
information. If you are not the intended recipient, please notify the
sender immediately by return e-mail, delete this e-mail and destroy any
copies. Any dissemination or use of this information by a person other
than the intended recipient is unauthorized and may be illegal.
Mime
View raw message