Re: Server not seeing PHP (Win32)
| From: | Robin Bouwhuis | Date: | Fri, 14 Jun 2002 12:17:36 +0000 |
| Subject: | Re: Server not seeing PHP (Win32) | ||
| References: | 1 2 3 4 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14217@lists.php.net to get a copy of this message | ||
I have not tried to get this to run on a 98 system. but I found that the
install.txt file was not that helpful and I found more information about the
install here.
http://www.php.net/manual/en/faq.installation.php
I am doing the same thing as you I develop off line on a XP machine running
IIS and the server is Apache and Linux. I had a difficult time trying to
get the PHP4 installed and found some answers here that were not in the
install.txt file.
When I was getting my server 500 errors there were two things wrong.
1. I was not pointing to the correct directory of installation in the
php.ini file.
- try going to a dos prompt and go to the directory that you
installed PHP to then type this
php.exe -I
if you get a whole bunch of html codes, then PHP is installed correctly...
2. I did not have a aspi filter set in the IIS menu. I followed the
instructions on the link above it worked great...
Please let me know if there is anything else that I can help you with...
Robin
> Thanks Robin.
> I am aware of that.
> But why should I upgrade to WINNT?
> I would prefer to use a Linux box, but unfortunately a lot of my programs
don't
> run on that.
> And what I need to do is to test developed sites offline.
>
> Ciau
> Jacques
>
> Robin Bouwhuis wrote:
>
> > this is from the documentation included with the PHP4 installation zip
file.
> >
> > ' In particular, with the ISAPI module, you are likely to encounter
serious
> > reliability problems especially on platforms older than W2K - you may
> > witness a lot of server 500 errors and suffer from other server modules
> > such as ASP also failing. You have been warned!'
> >
> > Robin
> >
> > ----- Original Message -----
> > From: "Jacques Steyn" <jacques@knowsystems.com>
> > Cc: <php-windows@lists.php.net>
> > Sent: Thursday, June 13, 2002 1:52 PM
> > Subject: [PHP-WIN] Server not seeing PHP (Win32)
> >
> > > Hi
> > > What could be the problem when a server does not seem to pick up PHP?
> > > This is for Win32 (=Win98), set up on a local box.
> > >
> > > I have read the PHP manual, I have looked at discussions, I have tried
> > > both Apache and MS PWS, I have tried different PHP4 versions, I have
> > > made all the required changes to php.ini, I have searched several PHP
> > > web sites, I have installed with a nifty tool I found at
> > > http://php.weblogs.com/easywindows, I bought a couple
> > > of books
(Welling
> > > and Thomson, Schwendiman, Greenspan and Bulger) and followed their
> > > advice...
> > > but there still is a problem.
> > >
> > > The servers (Apache and MS PWS) run fine as they serve HTML documents
> > > properly. They do not parse the embedded PHP code.
> > > And with *.php files this happens:
> > > Before installing with the mentioned tool, the error message
complained
> > > about not being able to access PHP due to CGI problem.
> > > After using the tool, I get an HTTP 500 error message when trying to
> > > read *.php files.
> > >
> > > I want to sit in a corner an eat a worm....
> > > Please help.
> > > Thanks
> > >
> > > Jacques
> > > ___________________
> > > Dr Jacques Steyn
> > >
> > > +27 (0)11 478-1259
> > > http://www.knowsystems.com
> > >
> > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
>
> --
> ___________________
> Dr Jacques Steyn
>
> +27 (0)11 478-1259
> http://www.knowsystems.com
>
>
>