Apache sending PHP pages as a downloadable file

This is a discussion on Apache sending PHP pages as a downloadable file within the Windows Web Servers forums, part of the Web Server and Related Forums category; Apache 1.3.31 doesn't seem to like PHP 4.3.x as a module. Neither does 2.0....


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-04-2004
Jim Michaels
 
Posts: n/a
Default Apache sending PHP pages as a downloadable file

Apache 1.3.31 doesn't seem to like PHP 4.3.x as a module. Neither
does 2.0.49.
won't execute as a CGI either. Had to comment out AddModule because
Apache complained about the module being loaded twice(???). As per
the PHP install.txt,

LoadModule php4_module c:/php4.3.3/sapi/php4apache.dll
# AddModule mod_php4.c
AddType application/x-httpd-php .php


C:\Program Files\Apache Group\Apache\logs>..\apache
[Sat Jul 03 18:48:38 2004] [warn] (2)No such file or directory: exec()
may not b
e safe
Apache/1.3.31 (Win32) running...

[I noticed there is no PHP module version being reported like it
used to]

C:\Program Files\Apache Group\Apache\logs>type error.log
[Sat Jul 03 18:15:25 2004] [error] Cannot remove module mod_php4.c:
not found in
module list
[Sat Jul 03 18:15:26 2004] [warn] exec() may not be safe
[Sat Jul 03 18:15:26 2004] [warn] exec() may not be safe
[Sat Jul 03 18:15:26 2004] [warn] exec() may not be safe
[Sat Jul 03 18:15:27 2004] [warn] exec() may not be safe
[Sat Jul 03 18:15:35 2004] [error] Cannot remove module mod_php4.c:
not found in
module list
[Sat Jul 03 18:15:35 2004] [warn] exec() may not be safe
[Sat Jul 03 18:15:35 2004] [warn] exec() may not be safe
[Sat Jul 03 18:15:35 2004] [warn] exec() may not be safe
[Sat Jul 03 18:15:36 2004] [warn] exec() may not be safe
[Sat Jul 03 18:15:41 2004] [error] Cannot remove module mod_php4.c:
not found in
module list
[Sat Jul 03 18:15:41 2004] [error] Cannot remove module mod_php4.c:
not found in
module list
  #2 (permalink)  
Old 08-23-2004
 
Posts: n/a
Default Re: Apache sending PHP pages as a downloadable file

i also had this problem. i went straght to php 5 out of frustration but it
doesnt work with phpBB etc but i am soon trying "phptriad" - apache 1.3.x
php4.3.x msql (not sure of version but i think it is 3.x) phpmyadmin(not
sure of version)

--

" If at first you dont succeed,
destroy all evidence you ever tried....."


"Jim Michaels" <jmichae3@yahoo.com> wrote in message
news:99f9d3d7.0407031748.45e971ac@posting.google.c om...
> Apache 1.3.31 doesn't seem to like PHP 4.3.x as a module. Neither
> does 2.0.49.
> won't execute as a CGI either. Had to comment out AddModule because
> Apache complained about the module being loaded twice(???). As per
> the PHP install.txt,
>
> LoadModule php4_module c:/php4.3.3/sapi/php4apache.dll
> # AddModule mod_php4.c
> AddType application/x-httpd-php .php
>
>
> C:\Program Files\Apache Group\Apache\logs>..\apache
> [Sat Jul 03 18:48:38 2004] [warn] (2)No such file or directory: exec()
> may not b
> e safe
> Apache/1.3.31 (Win32) running...
>
> [I noticed there is no PHP module version being reported like it
> used to]
>
> C:\Program Files\Apache Group\Apache\logs>type error.log
> [Sat Jul 03 18:15:25 2004] [error] Cannot remove module mod_php4.c:
> not found in
> module list
> [Sat Jul 03 18:15:26 2004] [warn] exec() may not be safe
> [Sat Jul 03 18:15:26 2004] [warn] exec() may not be safe
> [Sat Jul 03 18:15:26 2004] [warn] exec() may not be safe
> [Sat Jul 03 18:15:27 2004] [warn] exec() may not be safe
> [Sat Jul 03 18:15:35 2004] [error] Cannot remove module mod_php4.c:
> not found in
> module list
> [Sat Jul 03 18:15:35 2004] [warn] exec() may not be safe
> [Sat Jul 03 18:15:35 2004] [warn] exec() may not be safe
> [Sat Jul 03 18:15:35 2004] [warn] exec() may not be safe
> [Sat Jul 03 18:15:36 2004] [warn] exec() may not be safe
> [Sat Jul 03 18:15:41 2004] [error] Cannot remove module mod_php4.c:
> not found in
> module list
> [Sat Jul 03 18:15:41 2004] [error] Cannot remove module mod_php4.c:
> not found in
> module list



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:51 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0