php-windows Digest 6 Mar 2005 09:32:32 -0000 Issue 2599
Topics (messages 25713 through 25715):
Re: File not found
25713 by: Mike
PHP, Apache and Cygwin
25714 by: Bruno Barberi Gnecco
test
25715 by: user.domain.invalid
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
> I've installed PHP 5.03 (the full package, not the installer)
> in Windows
> 2003 / IIS.
> I've folloewd all instrctions very carefully in ISAPI mode.
> Nothing is misconfigured so long as the install.txt says.
>
> Now, i've put a very simple script in C:\Inetpyb\wwwroot and
> i get "404 File Not Found".
>
And if you rename the file to a .htm or .html it's returned without issue?
Sounds like a mime type problem that IIS 6 introduces since it's so much
more "secure" than previous versions.
Go into IIS and check out the Web Service Extensions. Make sure that you've
added an item for PHP pages and that it's turned on. I believe that the
instructions talk about this, but it's pretty straight forward. But whenever
IIS 6 is saying that it can't return a page that you know for a fact is
there and other pages of a different type that are right next to it are
returned without issue it usually indicates this sort of mime or web
services problem.
For a quick test, you may wish to 'Allow' the "All unknown CGI Extensions"
and "All unknown ISAPI Extensions" just to check.
Good luck.
--- End Message ---
--- Begin Message ---
I've been trying to run PHP with Apache under cygwin. I'm
using Apache 1.3.29, and php 5.0.3. When I try to run apache
(with php configured as a module), I get the following error:
$ apachectl restart
/usr/sbin/apachectl restart: httpd not running, trying to start
Syntax error on line 238 of /etc/apache/httpd.conf:
Cannot load /usr/share/php-5.0.3-Win32/php5apache.dll into server: dlopen,
Win32 error 126
/usr/sbin/apachectl restart: httpd could not be started
Using "cygcheck `cygpath -w php5apache.dll`" I get an
error saying that ApacheCore.dll can't be found. There is no
ApacheCore.dll in either the apache package or PHP. Any ideas
of what may be wrong?
PHP works fine on the command line.
Thanks a lot,
--
Bruno Barberi Gnecco
--- End Message ---
--- Begin Message ---
test
--- End Message ---