RE: Re: php in windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

> -----Original Message-----
> From: Kirk Bailey [mailto:kbailey@xxxxxxxxxxxxxxxx]
> Sent: April 11, 2012 10:11 PM
> To: php-general@xxxxxxxxxxxxx
> Subject: Re:  Re: php in windows
> Steve, THERE IS NO SUCH FILE in tinyweb. It turns to the operating system
> asspciations to determine what to use to process the cgi, then captures
> returned stdio output and feeds THAT back as part of the data stream back
> down the stack. Therefore, it is not interfacing with the windows
> system properly, and as I do not speak delphi, I am not sure how to go
> through the sourcecode and rectify this.
> If you like, I cna provide a link to the installer that adds it to a
> windows computer so you can take a look- if you or anyone else is
> interested. Oddly enough, it appears to handle python fine, and is
> by others to also handle perl.
> > Kirk,
> >
> > You have to tell your "tinyweb" what to do with the .php extensions...
> > in the config of the webserver, you will have to add a line saying
> > where the php binary is, or uncomment it (as it probably already
> > exists) and restart the webserver.
> >
> >
> > As it appears to me, since you can have some "code" on the screen,
> > your server does not know how to deal with it, so it will treat it like
> text
> > file, and just spew the code out.   Once you have it pointing to the php
> > binary, it will work.
> >
> > Good luck!
> >
> > Steve Staples.
> >
> >

Sorry, I have been out of the office for the last few days... have you
gotten this to work?

As a suggestion, is PHP in the windows path?   If not, then this may be the
issue... Python may have been installed, and put the exe in the PATH
variable, where PHP may not have done it (not sure, I personally use XAMPP
on my windows box for quick development)

Check the PATH from the dos prompt, and if it is not in there, then you will
have to add it (I am just guessing here)

Just in case you're not sure where it is, on my XP machine, I just right
click on "My Computer", click "Properties" and then on the "Advanced" tab,
there is a button labelled "Environment Variables" and then add the path to
the PHP exe...

Hope that this helps!

Steven Staples

PHP General Mailing List (
To unsubscribe, visit:

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]
  Powered by Linux