Max,

I too have tried to get SimpleServer to work without success - it is the
cutest little server and would be great for adhoc work on other PCs.  Apache
is the main game of course and I use it without drama all the time but your
mail has prompted me to dust off simpleserver again and have another go at
it.  If I have any luck I shall get back to you.  In the meantime you might
stick with Apache, despite the fact that is powerful and comprehensive it is
not a serious burden on your resources and config is pretty easy.  Nine
times out of ten PHP problems in Apache relate back to the lack of these
critical lines in the httpd.conf file under ScriptAlias section ....

ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
Action application/x-httpd-php "/php/php.exe"

These lines instruct Apache to EXECUTE files of type php (using php.exe)
rather than serve them up like an HTML file or downloadable file.

Check also that the servername is set correctly and that the document root
is set correctly.  Just below DocumentRoot is another "Directory" statement
that must agree with the DocumentRoot setting.

This runs Apache as CGI rather than as a module which for your purposes will
work just fine.


Cheers   CD





----- Original Message -----
From: "Max Graham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 20, 2002 6:40 AM
Subject: [PHP-WIN] Configuration Trouble


I took a look at Apache, IIS, PWS, etc., and figured they were more than
what I needed; I only want a platform to test pages on before sending them
to my website's server. So I went with AnalogX's SimpleServer. I know it has
CGI capability, and specifically PHP capability; it has a companion utility
called PHPConfig, which is a GUI interface for editing the PHP.ini file. I
was wondering, if anyone out there also has AnalogX's SimpleServer, is there
something I'm missing? My website's structure is pretty basic: the
index.html file is the main page loaded, giving a list of options, and the
links go from there to the PHP files. When I click on any of them, it brings
up the file download requestor dialog. Any suggestions?

Thanks in advance ...



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to