php-windows Digest 30 Jan 2002 10:23:06 -0000 Issue 976
Topics (messages 11704 through 11711):
Version of Merlin/PHP that works??
11704 by: tom
11705 by: Ross Fleming
11706 by: Mike Maltese
11707 by: Mike Maltese
11711 by: Ross Fleming
Re: mail to too many users
11708 by: Pac mon
R: [PHP-WIN] Shared Memory/Shmop on Windows
11709 by: Darvin Andrioli
How to find out MAC address of remote user
11710 by: W-Mark Kubacki
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]
----------------------------------------------------------------------
--- Begin Message ---
Is there a version of Merlin and/or php that works out of the box?
I have spent days -- days and more days -- just trying to get the
infrastructure of a single programming language to work. with no success.
after three days I finally got Merlin to serve a localhost file. the docs
did not adequately explain how to install this stuff on a w2k IIS system.
Two more days, and I finally got test.php to parse (although a simple
include statement does not work, Apache cannot find the icons folder, etc.,
etc., etc..) errors -- more errors, configuration files with conflicting
instructions and no mention of even which version of php the file is for.
Examples:
1) httpd.conf says never use backslashes, always use forward slashes in
paths on windows machines. The the Merlin setup installs the file with
backslashes in it. So which one is right?
2) Start Apache - opens command window that does not close or have any
configuration gui.
3) Stop Apache - works --- sometimes.
4) Install Apache as service - this should execute and exit, leaving a
server process running in the background. It does not. It opens another
command window and just sits there.
5) When I started trying to use PHP, I downloaded the binaries from php.net
and installed them. Could not get squat out of it. So some kind person tells
me about Apache Merlin. So I download this huge motha and install that too.
Now I have two different versions of php on my machine, and have no idea
which one is actually being used. or which config files actually --do--
something. (php.exe has no version resource!!!)
6) So in total frustration I tried to remove Merlin from my system. Of
course, that did not work either. So I just deleted the whole directory and
now I'm stuck with who knows what in the registry.
I don't mean to be bitchy, but for the love of God!! I do not have time for
this! I am trying to create a working website, not become
php-apache-guru-man. Does any one have any suggestions for making the stuff
work, I mean just ____ work?
--
Thanks,
Thomas Kirby
RichmondArtists.com
P.O. Box 1261
Glen Allen, VA 23060
804-262-6429
[EMAIL PROTECTED]
www.richmondartists.com
--- End Message ---
--- Begin Message ---
Might I suggest geocities if you just want a website?
Apache doesn't have a GUI with a configuration file, that's what the .conf
files are for. The instructions for getting apache to work are here:
http://httpd.apache.org/docs/windows.html They are the only instructions I
followed to get Apache running from scratch. After that, installing PHP
simply involves editing the httpd.conf file in the manner that is described
in the readme that comes with PHP. Might I suggest
[EMAIL PROTECTED] as an alternative?
Either way.
1. forward slashes.
2. Sounds about right.
3. Depends how you're stopping. Just closing the command window should do
it
4. Never developed on Win2K, so wouldn't know about running is as a service.
http://httpd.apache.org/docs/win_service.html provides details though. Note
it only runs as a service on NT/2K/XP(presumably)
5. search for php.ini, there should only be one. Keep it in c:\windows or
c:\winnt. This is the conf file for php.
Edit your httpd.conf file to point to php.exe for .php files.
6. 1/2 of uninstall exe's don't remove stuff from the registry anyway,
apache and php don't have registry entries anyway, so I wouldn't worry about
that.
Ross
-----Original Message-----
From: tom [mailto:[EMAIL PROTECTED]]
Sent: 29 January 2002 22:57
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Version of Merlin/PHP that works??
Is there a version of Merlin and/or php that works out of the box?
I have spent days -- days and more days -- just trying to get the
infrastructure of a single programming language to work. with no success.
after three days I finally got Merlin to serve a localhost file. the docs
did not adequately explain how to install this stuff on a w2k IIS system.
Two more days, and I finally got test.php to parse (although a simple
include statement does not work, Apache cannot find the icons folder, etc.,
etc., etc..) errors -- more errors, configuration files with conflicting
instructions and no mention of even which version of php the file is for.
Examples:
1) httpd.conf says never use backslashes, always use forward slashes in
paths on windows machines. The the Merlin setup installs the file with
backslashes in it. So which one is right?
2) Start Apache - opens command window that does not close or have any
configuration gui.
3) Stop Apache - works --- sometimes.
4) Install Apache as service - this should execute and exit, leaving a
server process running in the background. It does not. It opens another
command window and just sits there.
5) When I started trying to use PHP, I downloaded the binaries from php.net
and installed them. Could not get squat out of it. So some kind person tells
me about Apache Merlin. So I download this huge motha and install that too.
Now I have two different versions of php on my machine, and have no idea
which one is actually being used. or which config files actually --do--
something. (php.exe has no version resource!!!)
6) So in total frustration I tried to remove Merlin from my system. Of
course, that did not work either. So I just deleted the whole directory and
now I'm stuck with who knows what in the registry.
I don't mean to be bitchy, but for the love of God!! I do not have time for
this! I am trying to create a working website, not become
php-apache-guru-man. Does any one have any suggestions for making the stuff
work, I mean just ____ work?
--
Thanks,
Thomas Kirby
RichmondArtists.com
P.O. Box 1261
Glen Allen, VA 23060
804-262-6429
[EMAIL PROTECTED]
www.richmondartists.com
--
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]
--- End Message ---
--- Begin Message ---
A few notes.....
First, uninstall Apache and delete all of your PHP directory.
Re-install Apache. It works right out of the box,just specify localhost for
the domain name. Make sure you choose to install it as a service for all
users.
Start Apache. Open your browser and point it to 127.0.0.1 or just localhost
to verify that Apache is running if it is, proceed with the PHP
installation.
I would suggest downloading the PHP binary and not the installer. Unzip the
files to c:\php. If your using WinZip, extract using folders.
Since you're setting up a working site, I'll go over the module
installation.
In the http.conf file, add the following lines in the appropriate places:
LoadModule php4_module "C:/php/sapi/php4apache.dll"
AddModule mod_php4.c
AddType application/x-httpd-php .php (plus any other extensions you want to
use)
AddType application/x-httpd-php-source .phps (optional)
Now, place your test file (just use <? phpinfo(); ?>) in your htdocs folder
and restart Apache. Point your browser to http://localhost/info.php (or
whatever).
You should now have your baseline system up and running. Now you can
customize your directories and PHP options.
Post back and let me know if this has helped, and good luck!
Mike
----- Original Message -----
From: "Ross Fleming" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 3:47 PM
Subject: RE: [PHP-WIN] Version of Merlin/PHP that works??
> Might I suggest geocities if you just want a website?
>
> Apache doesn't have a GUI with a configuration file, that's what the .conf
> files are for. The instructions for getting apache to work are here:
> http://httpd.apache.org/docs/windows.html They are the only instructions I
> followed to get Apache running from scratch. After that, installing PHP
> simply involves editing the httpd.conf file in the manner that is
described
> in the readme that comes with PHP. Might I suggest
> [EMAIL PROTECTED] as an alternative?
>
> Either way.
>
> 1. forward slashes.
> 2. Sounds about right.
> 3. Depends how you're stopping. Just closing the command window should do
> it
> 4. Never developed on Win2K, so wouldn't know about running is as a
service.
> http://httpd.apache.org/docs/win_service.html provides details though.
Note
> it only runs as a service on NT/2K/XP(presumably)
> 5. search for php.ini, there should only be one. Keep it in c:\windows or
> c:\winnt. This is the conf file for php.
> Edit your httpd.conf file to point to php.exe for .php files.
> 6. 1/2 of uninstall exe's don't remove stuff from the registry anyway,
> apache and php don't have registry entries anyway, so I wouldn't worry
about
> that.
>
> Ross
>
> -----Original Message-----
> From: tom [mailto:[EMAIL PROTECTED]]
> Sent: 29 January 2002 22:57
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Version of Merlin/PHP that works??
>
>
> Is there a version of Merlin and/or php that works out of the box?
>
> I have spent days -- days and more days -- just trying to get the
> infrastructure of a single programming language to work. with no success.
> after three days I finally got Merlin to serve a localhost file. the docs
> did not adequately explain how to install this stuff on a w2k IIS system.
> Two more days, and I finally got test.php to parse (although a simple
> include statement does not work, Apache cannot find the icons folder,
etc.,
> etc., etc..) errors -- more errors, configuration files with conflicting
> instructions and no mention of even which version of php the file is for.
>
> Examples:
> 1) httpd.conf says never use backslashes, always use forward slashes in
> paths on windows machines. The the Merlin setup installs the file with
> backslashes in it. So which one is right?
> 2) Start Apache - opens command window that does not close or have any
> configuration gui.
> 3) Stop Apache - works --- sometimes.
> 4) Install Apache as service - this should execute and exit, leaving a
> server process running in the background. It does not. It opens another
> command window and just sits there.
> 5) When I started trying to use PHP, I downloaded the binaries from
php.net
> and installed them. Could not get squat out of it. So some kind person
tells
> me about Apache Merlin. So I download this huge motha and install that
too.
> Now I have two different versions of php on my machine, and have no idea
> which one is actually being used. or which config files actually --do--
> something. (php.exe has no version resource!!!)
> 6) So in total frustration I tried to remove Merlin from my system. Of
> course, that did not work either. So I just deleted the whole directory
and
> now I'm stuck with who knows what in the registry.
>
> I don't mean to be bitchy, but for the love of God!! I do not have time
for
> this! I am trying to create a working website, not become
> php-apache-guru-man. Does any one have any suggestions for making the
stuff
> work, I mean just ____ work?
>
> --
> Thanks,
>
> Thomas Kirby
> RichmondArtists.com
> P.O. Box 1261
> Glen Allen, VA 23060
> 804-262-6429
> [EMAIL PROTECTED]
> www.richmondartists.com
>
>
>
>
> --
> 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]
>
>
--- End Message ---
--- Begin Message ---
Oh and just a FYI item here, the Apache installation DOES make registry
entries! In my experience though this has not caused any problems as far as
re-installations.
Mike
----- Original Message -----
From: "Ross Fleming" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 3:47 PM
Subject: RE: [PHP-WIN] Version of Merlin/PHP that works??
> Might I suggest geocities if you just want a website?
>
> Apache doesn't have a GUI with a configuration file, that's what the .conf
> files are for. The instructions for getting apache to work are here:
> http://httpd.apache.org/docs/windows.html They are the only instructions I
> followed to get Apache running from scratch. After that, installing PHP
> simply involves editing the httpd.conf file in the manner that is
described
> in the readme that comes with PHP. Might I suggest
> [EMAIL PROTECTED] as an alternative?
>
> Either way.
>
> 1. forward slashes.
> 2. Sounds about right.
> 3. Depends how you're stopping. Just closing the command window should do
> it
> 4. Never developed on Win2K, so wouldn't know about running is as a
service.
> http://httpd.apache.org/docs/win_service.html provides details though.
Note
> it only runs as a service on NT/2K/XP(presumably)
> 5. search for php.ini, there should only be one. Keep it in c:\windows or
> c:\winnt. This is the conf file for php.
> Edit your httpd.conf file to point to php.exe for .php files.
> 6. 1/2 of uninstall exe's don't remove stuff from the registry anyway,
> apache and php don't have registry entries anyway, so I wouldn't worry
about
> that.
>
> Ross
>
> -----Original Message-----
> From: tom [mailto:[EMAIL PROTECTED]]
> Sent: 29 January 2002 22:57
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Version of Merlin/PHP that works??
>
>
> Is there a version of Merlin and/or php that works out of the box?
>
> I have spent days -- days and more days -- just trying to get the
> infrastructure of a single programming language to work. with no success.
> after three days I finally got Merlin to serve a localhost file. the docs
> did not adequately explain how to install this stuff on a w2k IIS system.
> Two more days, and I finally got test.php to parse (although a simple
> include statement does not work, Apache cannot find the icons folder,
etc.,
> etc., etc..) errors -- more errors, configuration files with conflicting
> instructions and no mention of even which version of php the file is for.
>
> Examples:
> 1) httpd.conf says never use backslashes, always use forward slashes in
> paths on windows machines. The the Merlin setup installs the file with
> backslashes in it. So which one is right?
> 2) Start Apache - opens command window that does not close or have any
> configuration gui.
> 3) Stop Apache - works --- sometimes.
> 4) Install Apache as service - this should execute and exit, leaving a
> server process running in the background. It does not. It opens another
> command window and just sits there.
> 5) When I started trying to use PHP, I downloaded the binaries from
php.net
> and installed them. Could not get squat out of it. So some kind person
tells
> me about Apache Merlin. So I download this huge motha and install that
too.
> Now I have two different versions of php on my machine, and have no idea
> which one is actually being used. or which config files actually --do--
> something. (php.exe has no version resource!!!)
> 6) So in total frustration I tried to remove Merlin from my system. Of
> course, that did not work either. So I just deleted the whole directory
and
> now I'm stuck with who knows what in the registry.
>
> I don't mean to be bitchy, but for the love of God!! I do not have time
for
> this! I am trying to create a working website, not become
> php-apache-guru-man. Does any one have any suggestions for making the
stuff
> work, I mean just ____ work?
>
> --
> Thanks,
>
> Thomas Kirby
> RichmondArtists.com
> P.O. Box 1261
> Glen Allen, VA 23060
> 804-262-6429
> [EMAIL PROTECTED]
> www.richmondartists.com
>
>
>
>
> --
> 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]
>
>
--- End Message ---
--- Begin Message ---
AddModule mod_php4.c ?
Not on any windows installation I've ever seen!..
-----Original Message-----
From: Mike Maltese [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 12:10 AM
To: PHP on Windows Mailing List
Subject: Re: [PHP-WIN] Version of Merlin/PHP that works??
A few notes.....
First, uninstall Apache and delete all of your PHP directory.
Re-install Apache. It works right out of the box,just specify localhost for
the domain name. Make sure you choose to install it as a service for all
users.
Start Apache. Open your browser and point it to 127.0.0.1 or just localhost
to verify that Apache is running if it is, proceed with the PHP
installation.
I would suggest downloading the PHP binary and not the installer. Unzip the
files to c:\php. If your using WinZip, extract using folders.
Since you're setting up a working site, I'll go over the module
installation.
In the http.conf file, add the following lines in the appropriate places:
LoadModule php4_module "C:/php/sapi/php4apache.dll"
AddModule mod_php4.c
AddType application/x-httpd-php .php (plus any other extensions you want to
use)
AddType application/x-httpd-php-source .phps (optional)
Now, place your test file (just use <? phpinfo(); ?>) in your htdocs folder
and restart Apache. Point your browser to http://localhost/info.php (or
whatever).
You should now have your baseline system up and running. Now you can
customize your directories and PHP options.
Post back and let me know if this has helped, and good luck!
Mike
----- Original Message -----
From: "Ross Fleming" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 3:47 PM
Subject: RE: [PHP-WIN] Version of Merlin/PHP that works??
> Might I suggest geocities if you just want a website?
>
> Apache doesn't have a GUI with a configuration file, that's what the .conf
> files are for. The instructions for getting apache to work are here:
> http://httpd.apache.org/docs/windows.html They are the only instructions I
> followed to get Apache running from scratch. After that, installing PHP
> simply involves editing the httpd.conf file in the manner that is
described
> in the readme that comes with PHP. Might I suggest
> [EMAIL PROTECTED] as an alternative?
>
> Either way.
>
> 1. forward slashes.
> 2. Sounds about right.
> 3. Depends how you're stopping. Just closing the command window should do
> it
> 4. Never developed on Win2K, so wouldn't know about running is as a
service.
> http://httpd.apache.org/docs/win_service.html provides details though.
Note
> it only runs as a service on NT/2K/XP(presumably)
> 5. search for php.ini, there should only be one. Keep it in c:\windows or
> c:\winnt. This is the conf file for php.
> Edit your httpd.conf file to point to php.exe for .php files.
> 6. 1/2 of uninstall exe's don't remove stuff from the registry anyway,
> apache and php don't have registry entries anyway, so I wouldn't worry
about
> that.
>
> Ross
>
> -----Original Message-----
> From: tom [mailto:[EMAIL PROTECTED]]
> Sent: 29 January 2002 22:57
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Version of Merlin/PHP that works??
>
>
> Is there a version of Merlin and/or php that works out of the box?
>
> I have spent days -- days and more days -- just trying to get the
> infrastructure of a single programming language to work. with no success.
> after three days I finally got Merlin to serve a localhost file. the docs
> did not adequately explain how to install this stuff on a w2k IIS system.
> Two more days, and I finally got test.php to parse (although a simple
> include statement does not work, Apache cannot find the icons folder,
etc.,
> etc., etc..) errors -- more errors, configuration files with conflicting
> instructions and no mention of even which version of php the file is for.
>
> Examples:
> 1) httpd.conf says never use backslashes, always use forward slashes in
> paths on windows machines. The the Merlin setup installs the file with
> backslashes in it. So which one is right?
> 2) Start Apache - opens command window that does not close or have any
> configuration gui.
> 3) Stop Apache - works --- sometimes.
> 4) Install Apache as service - this should execute and exit, leaving a
> server process running in the background. It does not. It opens another
> command window and just sits there.
> 5) When I started trying to use PHP, I downloaded the binaries from
php.net
> and installed them. Could not get squat out of it. So some kind person
tells
> me about Apache Merlin. So I download this huge motha and install that
too.
> Now I have two different versions of php on my machine, and have no idea
> which one is actually being used. or which config files actually --do--
> something. (php.exe has no version resource!!!)
> 6) So in total frustration I tried to remove Merlin from my system. Of
> course, that did not work either. So I just deleted the whole directory
and
> now I'm stuck with who knows what in the registry.
>
> I don't mean to be bitchy, but for the love of God!! I do not have time
for
> this! I am trying to create a working website, not become
> php-apache-guru-man. Does any one have any suggestions for making the
stuff
> work, I mean just ____ work?
>
> --
> Thanks,
>
> Thomas Kirby
> RichmondArtists.com
> P.O. Box 1261
> Glen Allen, VA 23060
> 804-262-6429
> [EMAIL PROTECTED]
> www.richmondartists.com
>
>
>
>
> --
> 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]
>
>
--
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]
--- End Message ---
--- Begin Message ---
Sounds like a mass-junk mail to me
>
>I need to send an email to 19000 users using a script, any suggestions.
>Looping on a result set using the mail function would kill the server.
>I know it can be done using a mailing list module but I'm running a
>windows machine with IIS, what's the best thing for this? Thanks.
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--- End Message ---
--- Begin Message ---
Gary wrote:
> I am porting a website from a Unix server to IIS 5.0 on W2K Advanced
> Server. The PHP code currently is using Shared Memory calls. My
> developer tells me the information is shmop-based.
>
> Here's a sample of the code. The site is not functioning as it's
> supposed to and I believe this may be the reason. Does anyone have
> suggestions? I'm a newbie to PHP.
>
>From the manual, chapter "Shared Memory Functions":
"...The functions [the shared memory function] will not work on windows,..."
Regards
Darvin
--- End Message ---
--- Begin Message ---
Hello,
that's what I wanna find out:
The MAC (that's something like a unique network-card number)
address of a remote user. I just know I can find it out by
backtracing his IP address. But which function to use?
By this MAC address you can identify any user, no matter which
IP address he uses and what time is between his visits (and no
matter which browser he has used, then).
Sessions, cookies etc. aren't enough as they aren't as secure
as identifying by MAC is. (I know, you can change this number on
certain cards, but this isn't as easy and common as deleting cookies, hmm?)
Does someone know how can I find it out?
Or has maybe someone an idea how to find out the route the IP
packages come? (like "tracert" or "route" in windows)("NeoTrace")
I would thank for any suggestion,
Mark
--- End Message ---