Re: Configuration Trouble
| From: | Cam Dunstan | Date: | Tue, 25 Feb 2003 15:23:43 +0000 |
| Subject: | Re: Configuration Trouble | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-18698@lists.php.net to get a copy of this message | ||
Andrew
must confess i haven`t looked at it yet, are you still having trouble
getting apache and php to work together? If so, tell me more.
Cam
----- Original Message -----
From: andrew ngui <angui@post1.com>
To: <czero@lonebraincell.com>; <cam@norex.com.au>
Sent: Monday, February 24, 2003 6:50 AM
Subject: Re: [PHP-WIN] Configuration Trouble
> Hi guys
>
> Did you manage to fix this for simpleserver? I'm stuck! Thanks!
>
> ------------------
> From: Cam Dunstan (cam@norex.com.au)
> Date: 10/19/02
>
>
> Next message: Nino V: "[PHP-WIN] Re: +AFs-PHP-WIN+AF0- PHP Install"
> Previous message: Cam Dunstan: "Re: [PHP-WIN] IIS \ Apache and
> header(location: errors"
> In reply to: Max Graham: "[PHP-WIN] Configuration Trouble"
> Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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" <czero@lonebraincell.com>
> To: <php-windows@lists.php.net>
> 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 ...
>
>
>