php-windows Digest 16 Mar 2001 13:35:31 -0000 Issue 494

Topics (messages 6087 through 6097):

popen() and fputs() functions work?
        6087 by: Josh Seward

Website, Design, hosting and maintenance for only $999.00 per year
        6088 by: Netmark Desing

multiple root paths with Apache
        6089 by: Damien du Toit
        6090 by: Urmil Parikh

A restart question
        6091 by: Antonio Lopez
        6092 by: Michael Rudel
        6094 by: Fernando Madruga

Re: Showing source code with .phps extension
        6093 by: Fernando Madruga

what happens with php404pl1 installer?
        6095 by: Antonio Lopez
        6096 by: Phil Driscoll
        6097 by: Antonio Lopez

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]


----------------------------------------------------------------------


Hello, 

I would like to know if anyone can get the popen() function and the fputs() function 
to work on a windows machine. (I use win200.) 

thanks, 
Josh Seward
[EMAIL PROTECTED]







<<< multipart/mixed;boundary= "Z_MULTI_PART_MAIL_BOUNDAEY_S": Unrecognized >>>




Is it at all possible to create multiple ("virtual") root paths on a single 
Apache installation? I have seperate folders for the different sites I am 
concurrently developing and would like to have each as it's own root for 
the site files that it contains, because I am referencing my code from the 
root.. ie.
<a href="/blah.html">
<img src="/blah.gif">

It doesn't sound logical that you could, so if not possible, are there any 
alternative solutions to accomplish this?
I am running Win2000.
Thanks


Damien du Toit
New Media Programmer

tel +27 21 425 9710
fax +27 21 425 9713

GENERATOR COMMUNICATIONS | BE AN ISLAND






You should try using virtual hosting (name based).

First thing you have to do is set your DNS server to give the same IP for n
sites that you want to use. That IP is IP of the machine on which you have
installed Apache. Next thing you have to do is to tell apache what all (virtual)
sites it will be hosting and what are corresponding root folders. You can find
one example of it at the end of httpd.conf file.

Regards,       | Linux
Urmil Parikh   | It is now safe to turn on your computer

-----Original Message-----

Is it at all possible to create multiple ("virtual") root paths on a single
Apache installation? I have seperate folders for the different sites I am
concurrently developing and would like to have each as it's own root for
the site files that it contains, because I am referencing my code from the
root.. ie.
<a href="/blah.html">
<img src="/blah.gif">

It doesn't sound logical that you could, so if not possible, are there any
alternative solutions to accomplish this?
I am running Win2000.
Thanks


Damien du Toit
New Media Programmer

tel +27 21 425 9710
fax +27 21 425 9713

GENERATOR COMMUNICATIONS | BE AN ISLAND






Everytime i set up a new php.dll, i have to restart my pc because i don´t
know 
how to stop the php engine without shutdown my system.

is possible to stop and restart the php engine without restart my pc?


Thankyou.




===================================================
Antonio López Luna
Ingeniería e Integración Avanzadas (Ingenia), S.A.
Parque Tecnológico de Andalucía
29590  - Málaga (Spain)
  
Tel. 34-952029300 Ext. 386
Fax. 34-952029309
Web: http://www.ingenia.es





Hi Antonio,

it hasn't to do anything with php, but with your web-server.
So all you have to do is to restart your webserver.

Apache: /sbin/init.d/apache restart

IIS: net stop iisadmin
     net start w3svc

Greetinx,
  Mike

Michael Rudel
- Web-Development, Systemadministration -
_______________________________________________________________

Suchtreffer AG
Bleicherstraße 20
D-78467 Konstanz
Germany
fon: +49-(0)7531-89207-17
fax: +49-(0)7531-89207-13
e-mail: mailto:[EMAIL PROTECTED]
internet: http://www.suchtreffer.de
_______________________________________________________________



-----Original Message-----
From: Antonio Lopez [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 16, 2001 10:09 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] A restart question



Everytime i set up a new php.dll, i have to restart my pc because i don´t
know
how to stop the php engine without shutdown my system.

is possible to stop and restart the php engine without restart my pc?


Thankyou.




===================================================
Antonio López Luna
Ingeniería e Integración Avanzadas (Ingenia), S.A.
Parque Tecnológico de Andalucía
29590  - Málaga (Spain)

Tel. 34-952029300 Ext. 386
Fax. 34-952029309
Web: http://www.ingenia.es


--
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]





You failed to say WHERE do you use the php dll... Apache? Pws? IIS?
If you use it in Apache, just shutdown apache, replace the dll, restart
apache.
Possibly the same applies to other http servers.

HTH,
  Madruga

-----Original Message-----
From: Antonio Lopez [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 16 de Março de 2001 9:09
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] A restart question



Everytime i set up a new php.dll, i have to restart my pc because i don´t
know 
how to stop the php engine without shutdown my system.

is possible to stop and restart the php engine without restart my pc?


Thankyou.




===================================================
Antonio López Luna
Ingeniería e Integración Avanzadas (Ingenia), S.A.
Parque Tecnológico de Andalucía
29590  - Málaga (Spain)
  
Tel. 34-952029300 Ext. 386
Fax. 34-952029309
Web: http://www.ingenia.es


-- 
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]





I use Apache 1.3.14 + PHP 4.0.4 on Windows 98 SE and it works perfectly.

The lines I have on my apache config file inside <IfModule mod_mime.c>

    <IfModule mod_php4.c>
        AddType application/x-httpd-php .php
        AddType application/x-httpd-php-source .phps
    </IfModule>

When I point my browser at a .phps file on my server, it shows the proper
color coded source.

HTH,
  Fernando Madruga

-----Original Message-----
From: Anders Pettersson [mailto:[EMAIL PROTECTED]]
Sent: quinta-feira, 15 de Março de 2001 18:35
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Showing source code with .phps extension


On my Linux RH 6.2 computer - when working with Apache, mySQL and PHP -
there is no problems showing the source code to my code developing friends.
If I
rename the php-file to phps it works just well.

BUT, when doing the very same thing on my W98 or W2k machines, the source
code will not show. The configuration is the same in httpd.conf and I've
checked it out.

Is this problem known? Does not the W32 platform support phps?

Anders Pettersson




-- 
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 PWS:

I`ve istalled Php404 whit the php404pl1 installer.  All right.

My question is:

How?

I want to say: What windows register keys has the installer set up? ¿¿¿????

I think that the key:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Scrip
t Map]

isn´t have modified!!!


 Thankyou.






===================================================
Antonio López Luna
Ingeniería e Integración Avanzadas (Ingenia), S.A.
Parque Tecnológico de Andalucía
29590  - Málaga (Spain)
  
Tel. 34-952029300 Ext. 386
Fax. 34-952029309
Web: http://www.ingenia.es





The windows installer does different things for PWS depending on your
platform.
For NT Workstation, it does not touch the registry - it edits the IIS
metabase.
For Windows 9x it edits the registry at
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script
Map

Of course, you have to tick the appropriate box in the installer to tell it
which web server you wish to install to,

Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org






Aaaaaahhh...!

I have NT Workstation with PWS.

And... where is the IIS metabase ?
       can i edit it manually?

Thankyou


You wrote:

> The windows installer does different things for PWS depending on your
> platform.
> For NT Workstation, it does not touch the registry - it edits the IIS
> metabase.
> For Windows 9x it edits the registry at
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script
> Map

> Of course, you have to tick the appropriate box in the installer to tell it
> which web server you wish to install to,

===================================================
Antonio López Luna
Ingeniería e Integración Avanzadas (Ingenia), S.A.
Parque Tecnológico de Andalucía
29590  - Málaga (Spain)
  
Tel. 34-952029300 Ext. 386
Fax. 34-952029309
Web: http://www.ingenia.es



Reply via email to