Re: Configuring PHP for using in 2 web servers? Website Server and Apache?
| From: | phobo | Date: | Mon, 27 Nov 2000 20:54:48 +0000 |
| Subject: | Re: Configuring PHP for using in 2 web servers? Website Server and Apache? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-4135@lists.php.net to get a copy of this message | ||
not sure about your 'website' server, but no server that i know of would
work by only copying accross the .dll files and setting up the .ini files;
how would the server know that they've just been put there?
for apache you need to edit your httpd.conf and add :
Action application/x-httpd-php /php/php.exe
AddType application/x-httpd-php .php
Why are you running two webservers on the same computer anyway ? is it for
testing purposes? why not just have the -same- webserver "listen" on two
ports. As I said, never heard of "website" server (or are you meaning PWS or
IIS?), but with Apache, you can make it listen with
Listen 8080
>As long as the php.ini (php4) and (php3.ini) have only one
>variable = doc_root, how can I set it to both
>C:\Apache\htdocs and C:\Website\htdocs?
Dont understand this - but i think what you want as an answer is ...
just make the same document root for both of them; eg create c:\web\ and
have the rootfolder for WebSite and Apache (DocumentRoot "C:/web/") both
point to this ?
Siggy
----- Original Message -----
From: "Marcelo Lior" <mlior@uerj.br>
To: <php-windows@lists.php.net>
Sent: Friday, November 24, 2000 2:25 PM
Subject: [PHP-WIN] Configuring PHP for using in 2 web servers? Website
Server and Apache?
> Hi,
>
> Sorry to bug you, but maybe you could give me a tip
> how to configure Php for Windows, in order to be runned at
> both Website Server and Apache for Windows Server, on Windows NT,
> both installed at the same machine, each one in different ports?
>
> I mean, I have Website installed on default port 80
> and Apache for Windows on port 8080
>
>
> As long as the php.ini (php4) and (php3.ini) have only one
> variable = doc_root, how can I set it to both
> C:\Apache\htdocs and C:\Website\htdocs?
>
> A more basic level question:
> Does Website support Php3 or Php4?
>
> I've only configured the php.ini file, copied to the Winnt dir
> and copied those 2 DLLs files to the Winnt\system32 dir
> but the Server seems not to "understand" the php files
>
> Hope you could give me a help
>
> Thanks a lot
> Marcelo
>
> --
> ---------------------------------------------------
> Marcelo Lior Sechterr
> EQUIPE WWW
> DIRETORIA DE INFORMATICA - DINFO
> UERJ - UNIVERSIDADE DO ESTADO DO RIO DE JANEIRO
> 587-7477 r.217
> mlior@uerj.br
> ---------------------------------------------------
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>