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....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |