php-windows Digest 22 Mar 2001 22:22:08 -0000 Issue 505
Topics (messages 6217 through 6233):
XML problem
6217 by: Niel Zeeman
6229 by: Phillip Bow
Re: resolution problems in dinamic .gif
6218 by: Alex
Re: Sending Commands
6219 by: Alex
6224 by: Josh Seward
6226 by: Pablo Vera
6228 by: Josh Seward
6230 by: Pablo Vera
Re: PHP 4 as ISAPI
6220 by: David Elliott
Mail Functions under Win32
6221 by: Schollnick, Benjamin
6222 by: Matt Williams
6233 by: Ignatius Teo
Re: Building PHP4 Problem
6223 by: Joe Brown
6227 by: Daniel Beulshausen
Re: BEST Network Marketer Leads
6225 by: jennivaughn_02.juno.com
Re:[PHP-WIN] Apache/PHP on Win 2000
6231 by: speedoflight.runbox.com
6232 by: Robin Bolton
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]
----------------------------------------------------------------------
Hi there
Can anyone please give me some advice....
Whenever I try call the xml_parse function it returns a server error has
occured ( 500 )
Is there anything I can do to get around this
Runnig IIS5 with the ISAPI version of php
thnx
--
Niel Zeeman
Tel(W): (043)7014247
Cell: 082 651 4083
eMail: [EMAIL PROTECTED]
What about running PHP as a CGI?
--
phill
""Niel Zeeman"" <[EMAIL PROTECTED]> wrote in message
99clk8$h48$[EMAIL PROTECTED]">news:99clk8$h48$[EMAIL PROTECTED]...
> Hi there
> Can anyone please give me some advice....
>
> Whenever I try call the xml_parse function it returns a server error has
> occured ( 500 )
>
> Is there anything I can do to get around this
>
> Runnig IIS5 with the ISAPI version of php
>
> thnx
>
> --
> Niel Zeeman
> Tel(W): (043)7014247
> Cell: 082 651 4083
> eMail: [EMAIL PROTECTED]
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
Sorry, it looks like my previous message to the list was not posted.
Try to convert your gif image to 32-bit mode and print it. Gif images are
8-bit only and, may be, the printer driver's dithering for the gifs is not
correct.
Alex.
>I'm using version 3 of PHP to build a .gif image file dinamicly.
>I don't know what's happening, but the letters are being displayed a little
>bit blurry or spotty like if it had built with a low resolution. This
>happens just when I print the image through browser (IE 5, 5.5, NC 4.7,
>etc). On the screen, the letter in the image are displayed perfectly.
>
>The dinamic .gif is built from a blank .gif file that act just a template.
>This 'blank' .gif has a resolution of 70 dpi. I've tryed with resolutions
of
>100 and 300 dpi, but i've got the same problem.
>
>Anyone could help me?
>
>thank in advance.
>
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi,
>I have been looking for a way to send commands to a windows application.
You can do the communication with your application as with a set of COM
objects
via php scripts.
>I can start the application and leave it running in the background.
You do not need to start the application at the background to access the
COM-objects.
>The application takes commands from the keyboard and I need a way to send
it commands via my php script????
So, what's the problem?
>If anyone knows a way of doing this, PLEASE HELP!!!!!!!!!!
Read the php manual to know how to operate COM.
>Thanks,
>Josh Seward
I cannnot fin out what com app. name this program has. I am trying to send
commands to a gameserver while it is running and also the commands will be
different depending on whats going on inside the game sever. It runs inside
of a windows cmd.exe box. If I can use COM for this, How would I go about
finding the COM name for it?
Thanks,
Josh Seward
----- Original Message -----
From: "Alex" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 22, 2001 8:19 AM
Subject: Re: [PHP-WIN] Sending Commands
> Hi,
>
>
> >I have been looking for a way to send commands to a windows application.
>
> You can do the communication with your application as with a set of COM
> objects
> via php scripts.
>
> >I can start the application and leave it running in the background.
>
> You do not need to start the application at the background to access the
> COM-objects.
>
> >The application takes commands from the keyboard and I need a way to send
> it commands via my php script????
>
>
> So, what's the problem?
>
>
> >If anyone knows a way of doing this, PLEASE HELP!!!!!!!!!!
>
>
> Read the php manual to know how to operate COM.
>
> >Thanks,
> >Josh Seward
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
Josh:
I'm not sure COM is the solution, but you might try with the publisher
of the software and see if it supports it.
Can you send commands to this gameserver in another way ?, let's say:
TCP/IP ?
You might try checking the following two classes, they are used to do
server status-queries against Unreal Tournament and Quake3 Arena
servers:
Quake3: http://phpclasses.upperdesign.com/browse.html/package/185
Unreal: http://phpclasses.upperdesign.com/browse.html/package/187
Hope this helps,
Pablo
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Thursday, March 22, 2001, 8:55:53 AM, Josh wrote:
JS> I cannnot fin out what com app. name this program has. I am trying to send
JS> commands to a gameserver while it is running and also the commands will be
JS> different depending on whats going on inside the game sever. It runs inside
JS> of a windows cmd.exe box. If I can use COM for this, How would I go about
JS> finding the COM name for it?
JS> Thanks,
JS> Josh Seward
JS> ----- Original Message -----
JS> From: "Alex" <[EMAIL PROTECTED]>
JS> To: <[EMAIL PROTECTED]>
JS> Sent: Thursday, March 22, 2001 8:19 AM
JS> Subject: Re: [PHP-WIN] Sending Commands
>> Hi,
>>
>>
>> >I have been looking for a way to send commands to a windows application.
>>
>> You can do the communication with your application as with a set of COM
>> objects
>> via php scripts.
>>
>> >I can start the application and leave it running in the background.
>>
>> You do not need to start the application at the background to access the
>> COM-objects.
>>
>> >The application takes commands from the keyboard and I need a way to send
>> it commands via my php script????
>>
>>
>> So, what's the problem?
>>
>>
>> >If anyone knows a way of doing this, PLEASE HELP!!!!!!!!!!
>>
>>
>> Read the php manual to know how to operate COM.
>>
>> >Thanks,
>> >Josh Seward
>>
>>
>>
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>>
This is a Half-Life game server. I will check with Valve and see what can be
done.
Thanks
Josh Seward
----- Original Message -----
From: "Pablo Vera" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 22, 2001 12:29 PM
Subject: Re[2]: [PHP-WIN] Sending Commands
> Josh:
>
> I'm not sure COM is the solution, but you might try with the publisher
> of the software and see if it supports it.
>
> Can you send commands to this gameserver in another way ?, let's say:
> TCP/IP ?
>
> You might try checking the following two classes, they are used to do
> server status-queries against Unreal Tournament and Quake3 Arena
> servers:
>
> Quake3: http://phpclasses.upperdesign.com/browse.html/package/185
> Unreal: http://phpclasses.upperdesign.com/browse.html/package/187
>
> Hope this helps,
>
> Pablo
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Thursday, March 22, 2001, 8:55:53 AM, Josh wrote:
>
> JS> I cannnot fin out what com app. name this program has. I am trying to
send
> JS> commands to a gameserver while it is running and also the commands
will be
> JS> different depending on whats going on inside the game sever. It runs
inside
> JS> of a windows cmd.exe box. If I can use COM for this, How would I go
about
> JS> finding the COM name for it?
>
>
>
> JS> Thanks,
> JS> Josh Seward
>
>
>
> JS> ----- Original Message -----
> JS> From: "Alex" <[EMAIL PROTECTED]>
> JS> To: <[EMAIL PROTECTED]>
> JS> Sent: Thursday, March 22, 2001 8:19 AM
> JS> Subject: Re: [PHP-WIN] Sending Commands
>
>
> >> Hi,
> >>
> >>
> >> >I have been looking for a way to send commands to a windows
application.
> >>
> >> You can do the communication with your application as with a set of COM
> >> objects
> >> via php scripts.
> >>
> >> >I can start the application and leave it running in the background.
> >>
> >> You do not need to start the application at the background to access
the
> >> COM-objects.
> >>
> >> >The application takes commands from the keyboard and I need a way to
send
> >> it commands via my php script????
> >>
> >>
> >> So, what's the problem?
> >>
> >>
> >> >If anyone knows a way of doing this, PLEASE HELP!!!!!!!!!!
> >>
> >>
> >> Read the php manual to know how to operate COM.
> >>
> >> >Thanks,
> >> >Josh Seward
> >>
> >>
> >>
> >>
> >> --
> >> PHP Windows Mailing List (http://www.php.net/)
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >> To contact the list administrators, e-mail:
[EMAIL PROTECTED]
> >>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
Josh:
In that case try the following:
http://phpclasses.upperdesign.com/browse.html/package/178
This one is for a Half-Life / Counterstrike server.
Pablo
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Thursday, March 22, 2001, 11:46:26 AM, Josh wrote:
JS> This is a Half-Life game server. I will check with Valve and see what can be
JS> done.
JS> Thanks
JS> Josh Seward
JS> ----- Original Message -----
JS> From: "Pablo Vera" <[EMAIL PROTECTED]>
JS> To: <[EMAIL PROTECTED]>
JS> Sent: Thursday, March 22, 2001 12:29 PM
JS> Subject: Re[2]: [PHP-WIN] Sending Commands
>> Josh:
>>
>> I'm not sure COM is the solution, but you might try with the publisher
>> of the software and see if it supports it.
>>
>> Can you send commands to this gameserver in another way ?, let's say:
>> TCP/IP ?
>>
>> You might try checking the following two classes, they are used to do
>> server status-queries against Unreal Tournament and Quake3 Arena
>> servers:
>>
>> Quake3: http://phpclasses.upperdesign.com/browse.html/package/185
>> Unreal: http://phpclasses.upperdesign.com/browse.html/package/187
>>
>> Hope this helps,
>>
>> Pablo
>> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>>
>> Thursday, March 22, 2001, 8:55:53 AM, Josh wrote:
>>
>> JS> I cannnot fin out what com app. name this program has. I am trying to
JS> send
>> JS> commands to a gameserver while it is running and also the commands
JS> will be
>> JS> different depending on whats going on inside the game sever. It runs
JS> inside
>> JS> of a windows cmd.exe box. If I can use COM for this, How would I go
JS> about
>> JS> finding the COM name for it?
>>
>>
>>
>> JS> Thanks,
>> JS> Josh Seward
>>
>>
>>
>> JS> ----- Original Message -----
>> JS> From: "Alex" <[EMAIL PROTECTED]>
>> JS> To: <[EMAIL PROTECTED]>
>> JS> Sent: Thursday, March 22, 2001 8:19 AM
>> JS> Subject: Re: [PHP-WIN] Sending Commands
>>
>>
>> >> Hi,
>> >>
>> >>
>> >> >I have been looking for a way to send commands to a windows
JS> application.
>> >>
>> >> You can do the communication with your application as with a set of COM
>> >> objects
>> >> via php scripts.
>> >>
>> >> >I can start the application and leave it running in the background.
>> >>
>> >> You do not need to start the application at the background to access
JS> the
>> >> COM-objects.
>> >>
>> >> >The application takes commands from the keyboard and I need a way to
JS> send
>> >> it commands via my php script????
>> >>
>> >>
>> >> So, what's the problem?
>> >>
>> >>
>> >> >If anyone knows a way of doing this, PLEASE HELP!!!!!!!!!!
>> >>
>> >>
>> >> Read the php manual to know how to operate COM.
>> >>
>> >> >Thanks,
>> >> >Josh Seward
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> PHP Windows Mailing List (http://www.php.net/)
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >> To contact the list administrators, e-mail:
JS> [EMAIL PROTECTED]
>> >>
>>
>>
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>>
On 21 March 2001 at 16:56:48 +0000 (which was 16:56 where I live) David
Elliott wrote
> I can get PHP 4.0.5RC1 to run as a CGI on IIS5 but for some testing I
> want to run it as an isapi (i.e. the DLL).
Thank you to every one who answered I have now set it back to a CGI.
--
See you in Cyber space, _______________________________________________
David | David Elliott | Software Engineer |
_________________________| [EMAIL PROTECTED] | PGP Key ID 0x650F4534 |
| Oxymoron: respective conventions |
I'm not aware of a SENDMAIL equivalent that comes with Windows NT, and I'm
trying to use a PHP script that uses the Mail() settings...
from php.ini
[mail function]
SMTP = lysithea.eastgw.x.com ; for Win32 only
sendmail_from = [EMAIL PROTECTED] ; for Win32 only
;sendmail_path = ;for unix only, may supply arguments as well
(default is 'sendmail -t -i')
Do I need a sendmail equivalent, and does anyone know of a free, but
supported package?
I'm assuming that sendmail_path isn't suppose to be blank for W32....
- Benjamin
> [mail function]
> SMTP = lysithea.eastgw.x.com ; for Win32 only
> sendmail_from = [EMAIL PROTECTED] ; for Win32 only
> ;sendmail_path = ;for unix only, may supply arguments as well
> (default is 'sendmail -t -i')
>
> Do I need a sendmail equivalent, and does anyone know of a free, but
> supported package?
no that's why you enter your smtp server name
> I'm assuming that sendmail_path isn't suppose to be blank for W32....
There are some sendmail like apps available but they're not really need if
your just sending mail from your php scripts.
HTH
M@
Try blat or WindMail for NT - they're both free.
Ignatius
> -----Original Message-----
> From: Schollnick, Benjamin [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 22 March 2001 23:52
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Mail Functions under Win32
>
>
>
> I'm not aware of a SENDMAIL equivalent that comes with
> Windows NT, and I'm
> trying to use a PHP script that uses the Mail() settings...
>
> from php.ini
>
> [mail function]
> SMTP = lysithea.eastgw.x.com ; for Win32 only
> sendmail_from = [EMAIL PROTECTED] ; for Win32 only
> ;sendmail_path = ;for unix only, may supply arguments as well
> (default is 'sendmail -t -i')
>
> Do I need a sendmail equivalent, and does anyone know of a free, but
> supported package?
>
> I'm assuming that sendmail_path isn't suppose to be blank for W32....
>
> - Benjamin
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
What do you have %CYGWIN% set to?
Looks like it needs to be
drive:\base\path\to\cygwin
""Alan Flockhart"" <[EMAIL PROTECTED]> wrote in message
99cje9$t28$[EMAIL PROTECTED]">news:99cje9$t28$[EMAIL PROTECTED]...
> Hi I was wondering if anybody had replied directly about this as I have
the
> same problem.
>
> ALan
>
>
> ""news.compuserve.com"" <[EMAIL PROTECTED]> wrote in message
> 9893us$pkn$[EMAIL PROTECTED]">news:9893us$pkn$[EMAIL PROTECTED]...
> > Its my first time out building PHP, so bare with me. Downloaded
everything
> > and set it up. No problem setting the paths and environment variables.
> When
> > I start the build process either in the GUI or from the command line, it
> > gets to zend_language_parser.y and tries to execute the external command
> to
> > build it. However, bison complains about the -S option that is in the
> custom
> > command:
> >
> > The Command is:
> > if not "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S
> > "%CYGWIN%\share\bison.simple" -p zend zend_language_parser.y
> > if "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S
> > "C:\Program Files\Cygnus\share\bison.simple" -p zend
> zend_language_parser.y
> >
> > I've got CYGWIN set, so the first "if" should be hitting. Any idea why
> this
> > is there, or why it is being misinterpreted?
> >
> > Greg Sohl
> > Cedar Rapids, IA
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
At 08:26 22.03.2001 -0500, Joe Brown wrote:
> > > The Command is:
> > > if not "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S
> > > "%CYGWIN%\share\bison.simple" -p zend zend_language_parser.y
> > > if "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S
> > > "C:\Program Files\Cygnus\share\bison.simple" -p zend
> > zend_language_parser.y
> > >
> > > I've got CYGWIN set, so the first "if" should be hitting. Any idea why
> > this
> > > is there, or why it is being misinterpreted?
the -s parameter isn't used anymore in newer versions of bison, simply
delete it, you'll have to set the environment variable "bison_simple" which
points to the parser file (bison.simple), i.e. set
bison_simple=c:\cygwin\bin\bison.simple
and fetch a new snapshot from the cvs (http://snaps.php.net) where the dsp
is already fixed.
daniel
/*--
daniel beulshausen - [EMAIL PROTECTED]
using php on windows? http://www.php4win.de
ATTENTION!
I Found this company on the internet. They came very highly recommended
by several of my friends and associates. They have the most qualified leads I
have ever worked. Forget those generic phone leads... sign up 5 out of
15 or more every time!!
They Are having a 33% off sale this week only!!
Sale Ends Friday, So I wanted this to get out to anyone who would find this
service of use, as I very much did!!
Thanks,
Jenni Vaughn
Oh...by the waY... THERE SITE ADDRESS IS:
http://www.geocities.com/leads4you911/
**************************************************************
THIS EMAIL COMPLIES WITH ALL REGULATIONS. TO BE REMOVED SIMPLY
EMAIL [EMAIL PROTECTED] FOR IMMEDIATE REMOVAL FROM ANY
FUTURE EMAILS FROM OUR COMPANY.
**************************************************************
Hello:
Thanks for your reply. Pls tell me where I have gone wrong for the PHP server is still
not parsing the file, basically the browser is still asking if I want to download the
php file. I've included my httpd.conf file as an attachment.
I'm not all that well-versed on Apache. So pls bear with me.
This is what I have:
<Directory "D:/Apache/htdocs">
AllowOverride None
Options Indexes Multiviews
Order allow,deny
Allow from all
</Directory>
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
ScriptAlias /php/ "D:/php/"
Thanks!!
> Defining two different types (your lines 2 and 5) for the same extension
> does not help...
> Try removing the last line. Also, you'll have to enable script parsing for
> the directories involved: check your apache docs for <directory> and
> 'options'.
>
> HTH,
> Madruga
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: quinta-feira, 22 de Março de 2001 3:50
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Apache/PHP on Win 2000
>
>
> I am running Apache on Win 2000 and am trying to install PHP on it. I've
> used the PHP installer and have configured my httpd.conf file to recognize
> the php mime type.
>
> I am using localhost or 127.0.0.1 to do this since I don't have a box that
> is online. I've never tried the localhost route before but Apache seems to
> serve regular HTML files up fine.
>
> But, when I load a PHP file on this machine, i.e. http://127.0.0.1/test.php,
> the PHP server doesn't seem to parse the file. It asks me if I want to
> download the file or open it. I don't want either. I'm not sure what I
> should do. Any help would be greatly appreciated.
>
> Below is what I've dumped in my httpd.conf file. Let me know if it's right
> or wrong.
>
> Please help!! Thanks much!
>
>
> AddType application/x-httpd-php .php4
> AddType application/x-httpd-php .php
> ScriptAlias /php/ "D:/php/"
> Action application/x-httpd-php "D:\php\php.exe"
> AddType application/x-httpd-php4 .php>
-----------------------------------------------
Runbox Mail Manager - www.runbox.com
Free online email application
httpd.zip
You need to add an Action to you httpd.conf file. Insert the following
into the 'Action' area:
Action application/x-httpd-php "/php/php.exe"
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: March 22, 2001 1:27 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Re:[PHP-WIN] Apache/PHP on Win 2000
>
>
> Hello:
> Thanks for your reply. Pls tell me where I have gone wrong for
> the PHP server is still not parsing the file, basically the
> browser is still asking if I want to download the php file. I've
> included my httpd.conf file as an attachment.
>
> I'm not all that well-versed on Apache. So pls bear with me.
>
> This is what I have:
>
> <Directory "D:/Apache/htdocs">
> AllowOverride None
> Options Indexes Multiviews
> Order allow,deny
> Allow from all
> </Directory>
>
>
>
> AddType application/x-httpd-php .php4
> AddType application/x-httpd-php .php
> ScriptAlias /php/ "D:/php/"
>
>
> Thanks!!
>
>
> > Defining two different types (your lines 2 and 5) for the same
extension
> > does not help...
> > Try removing the last line. Also, you'll have to enable script
> parsing for
> > the directories involved: check your apache docs for <directory> and
> > 'options'.
> >
> > HTH,
> > Madruga
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: quinta-feira, 22 de Margo de 2001 3:50
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] Apache/PHP on Win 2000
> >
> >
> > I am running Apache on Win 2000 and am trying to install PHP on it.
I've
> > used the PHP installer and have configured my httpd.conf file
> to recognize
> > the php mime type.
> >
> > I am using localhost or 127.0.0.1 to do this since I don't have
> a box that
> > is online. I've never tried the localhost route before but
> Apache seems to
> > serve regular HTML files up fine.
> >
> > But, when I load a PHP file on this machine, i.e.
http://127.0.0.1/test.php,
> the PHP server doesn't seem to parse the file. It asks me if I want to
> download the file or open it. I don't want either. I'm not sure what I
> should do. Any help would be greatly appreciated.
>
> Below is what I've dumped in my httpd.conf file. Let me know if it's
right
> or wrong.
>
> Please help!! Thanks much!
>
>
> AddType application/x-httpd-php .php4
> AddType application/x-httpd-php .php
> ScriptAlias /php/ "D:/php/"
> Action application/x-httpd-php "D:\php\php.exe"
> AddType application/x-httpd-php4 .php>
-----------------------------------------------
Runbox Mail Manager - www.runbox.com
Free online email application
smime.p7s