httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Warwick" <mwarw...@stwgtn.co.nz>
Subject RE: [users@httpd] Odd problem with WinNT, Apache & PHP
Date Tue, 13 May 2003 03:44:34 GMT
Thanks for the heads up but it is not the problem, the php.ini file is
there and I set it up by comparing the new default with my previous
php.ini file line by line, and there are no start-up errors when apache
is started, and the scripts do all work correctly if named with the
.php.txt extensions.

-----Original Message-----
From: Jeff Cohen [mailto:support@gej-it.com]
Sent: Tuesday, 13 May 2003 2:20 p.m.
To: users@httpd.apache.org
Subject: RE: [users@httpd] Odd problem with WinNT, Apache & PHP


I know that it's a basic question, but many people find themselves going
in
rounds without checking this so, did check if php.ini is located in your
%winnt% folder and set up correctly?

All the best,
Jeff Cohen
Jeff@GEJ-IT.com
Tel. (416) 917-2324
www.GEJ-IT.com
GEJ-IT Networks!

> -----Original Message-----
> From: Michael Warwick [mailto:mwarwick@stwgtn.co.nz]
> Sent: Monday, May 12, 2003 8:36 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] Odd problem with WinNT, Apache & PHP
> 
> 
> I am getting an 'Object not found' (404) or 'Server Error!' (500) when
> trying to access php scripts after having reinstalled and upgraded
> Apache and PHP.
> 
> The scripts used to work. I have an almost identical system (Apache
and
> PHP are the same but some of the other software on the machine is
> different) running the same scripts successfully. On both sites the
> system is Apache/2.0.45 (Win32) PHP/4.3.1.
> 
> More detail - this is where it gets weird
> 
> I want to call all pages with http://192.168.1.1/directory/page, i.e.
no
> extension so that pages can be changed from .html to .shtml or .php or
> whatever. I also have some pages that use the path for query
> information, like http://192.168.1.1/directory/page/option so I have
> AcceptPathInfo set.
> 
> If I have the file /page.php and call it with /page I get 'Object not
> found', if I call it with /page.php I get 'Server Error!'.
> 
> If I rename the file to /page.php.txt (which I did accidentally after
> editing with notepad) I can successfully see the page, not the source,
> but the processed page with any of /page, /page.php or /page.php.txt
> 
> Any idea what is going on here?
> 
> 
> Michael Warwick
> Part-time intranet webmaster
> 
> ---------------------------------------------------------------------
> 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


---------------------------------------------------------------------
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


---------------------------------------------------------------------
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


Mime
View raw message