php-windows Digest 1 Mar 2002 10:14:02 -0000 Issue 1023
Topics (messages 12339 through 12367):
Re: Beginner's Teething Problems
12339 by: Russell Griechen
Binaries of 4.1.2
12340 by: Flint Doungchak
Re: Compiled 4.1.2 version
12341 by: Christoph Grottolo
12354 by: Barry Wom
[N-PHP-R] Help with MySQL
12342 by: Nicole Amashta
12343 by: Flint Doungchak
12344 by: Svensson, B.A.T. (HKG)
12345 by: Svensson, B.A.T. (HKG)
12346 by: Symeon Charalabides
12347 by: Svensson, B.A.T. (HKG)
Re: Beginner's Teething Problems Source for Triad and a question.
12348 by: Russell Griechen
sendmail for windows
12349 by: Adolfo Meneses
12350 by: Scott St. John
12359 by: Adolfo Meneses
12361 by: DL Neil
12364 by: Scott St. John
Re: php to poup window
12351 by: Afan Pasalic
12352 by: Afan Pasalic
12353 by: Afan Pasalic
compiling 4.1.2 on windows (2000)
12355 by: Barry Wom
12357 by: Barry Wom
Re: HELP!!
12356 by: Barry Wom
having a problem with windows xp + php
12358 by: Tyler Worman
12362 by: Scott St. John
12365 by: Tyler Worman
12366 by: Scott St. John
Accessing Exchange Mail from PHP
12360 by: Vail, Warren
Re: sending mail with mail()
12363 by: Aris Basic
Cannot connect to MySQL with PHP 4.1.1
12367 by: Egil Helland
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 ---
I am also a new user:
I want to use WinMe and put Apache/Mysql server on my hard disk
I downloaded the Triad from http://phpgeek.com/index.php
PHPTriad is PHPGeek.com's flagship product. It installs a PHP web server
environment on Windows platforms. It includes Apache, PHP, MySQL, Perl
and PHPMyAdmin. It is intended to make lives easier for PHP developers
of all levels.
This was a fool proof install but for I am still at square one,
It is installed in C:\Apache and at C:\Apache\php
The Windows Start Menu contains:
Launch Site which opens in MSIE browser
The address is http://localhost/
C:\Apache\test.php3 comes up in the Open With dialog box...unchecking
the "Always open this ...with" and selecting Internet Explorer brings up
a blank page...however View Source shows the code...
So...I'm thinking out loud...I put hello.php3 in the C:\apache\htdocs
directory...(I have just a smattering of Unix coding) and when I select
Open With ...Internet Explorer...it comes up:
Hello World
...still thinking outloud... I am going to associate .php, php3 and...
help me fill in the blanks...any other extensions??? with Internet
Explorer.
Then in Windows Explorer I can right click on a file and edit it in my
Html editor which is CoffeeCup Html Editor V 9.1 I will make
C:\Apache\httpd my Working Directory
Going back to the Start Menu in WinMe I click on PHPMyAdmin
Now...my Database will be named "Foxhunters"
Since I have only a smattering of MySql should I make my tables in MySql
first to learn the language or can/should I just use PHPMyAdmin?
I,m assuming that I can devise snippets of code that I can enter enblock
mode to minimize typing.
1. Is the number of characters in a window critical...can it be enlarged
later or should I try to get it right the first time?
2. If I use a 30 character line will a 40 character string show/work?
Note...I am wondering why I can't find a tutorial that would show what I
have mused about here or any questions/syntax in the future???
Hey now...watch for me and comment/help for I am a babe in the woods...
~`~`~Russell Griechen_Historian~`~`~
The Foxhunter's Historical Society
Join us for Foxhunting History and General
Discussions at our our mailing list at:
http://www.gigo.com/mailman/listinfo.cgi/Foxhunters
http://www.geocities.com/efoxfiles
--- End Message ---
--- Begin Message ---
Hey There,
I wondering if anyone out there know if there are binaries of the 4.1.2
release that takes care of the multiple-part/form data security bug in PHP
4.1.0. Is this fixed in 4.1.1.
I didn't see any binaries on the php4win site either. I imagine the 4.1.0
and 4.1.1 patches are source code patches only.
Is there anyone out there who had compiled 4.1.2?
Thanks,
-Flint
--- End Message ---
--- Begin Message ---
http://security.e-matters.de/advisories/012002.html states that the security
holes in 4.05 - 4.11 do only concern PHP on Linux and Solaris.
There should be no reason to upgrade to 4.12 on Windows. There are neither
new features nor bug fixes.
Christoph
--- End Message ---
--- Begin Message ---
"Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED].;
> http://security.e-matters.de/advisories/012002.html states that the
security
> holes in 4.05 - 4.11 do only concern PHP on Linux and Solaris.
Oh yeah, well spotted!
it doesn't mention that on the CERT site
http://www.cert.org/advisories/CA-2002-05.html
it simply says it affects "Web servers running PHP"
--- End Message ---
--- Begin Message ---
I know this is not MySQL, so that's why I put the [N-PHP-R] in the subject
(means Non-PHP-Related)
But, my problem is this.
I have a table in MySQL. One of the fields (not the primary key), has a
unique constraint on it. I need to remove this unique constraint, but I
can't figure out how. I dn't see this in the MySQL docs.
Does anyone know how to remove uniquness from a field?
Thanks,
--
Nicole Amashta
Web Applications Developer
www.aeontrek.com
--- End Message ---
--- Begin Message ---
Hi Nicole,
You need to change the columns and alter the specifications (or at least
that is how I do it)
ALTER table table_name CHANGE column column_name create_definition
SO it would look like this
ALTER table balh chage column foo foo int(5)unsigned
I hope that helps.
-Flint
-----Original Message-----
From: Nicole Amashta [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 11:22 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] [N-PHP-R] Help with MySQL
I know this is not MySQL, so that's why I put the [N-PHP-R] in the subject
(means Non-PHP-Related)
But, my problem is this.
I have a table in MySQL. One of the fields (not the primary key), has a
unique constraint on it. I need to remove this unique constraint, but I
can't figure out how. I dn't see this in the MySQL docs.
Does anyone know how to remove uniquness from a field?
Thanks,
--
Nicole Amashta
Web Applications Developer
www.aeontrek.com
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
>-----Original Message-----
>From: Nicole Amashta
>Sent: Thursday, February 28, 2002 8:22 PM
>To: [EMAIL PROTECTED]
>Subject: [PHP-WIN] [N-PHP-R] Help with MySQL
>
>
>I know this is not MySQL, so that's why I put the [N-PHP-R] in
>the subject
>(means Non-PHP-Related)
>
>But, my problem is this.
>
>I have a table in MySQL. One of the fields (not the primary key), has a
>unique constraint on it. I need to remove this unique constraint, but I
>can't figure out how. I dn't see this in the MySQL docs.
>
>Does anyone know how to remove uniquness from a field?
If mySQL support the ISO 9075:1992 it would be:
ALTER TABLE <table name> DROP CONSTRAINT <constraint name>
--- End Message ---
--- Begin Message ---
>ALTER table balh chage column foo foo int(5)unsigned
Does the key word CHANGE COLUMN really exists with in MySQL?? That would be
amazing to be ale to change the domain of an attribute just like that.
--- End Message ---
--- Begin Message ---
> >ALTER table balh chage column foo foo int(5)unsigned
>
> Does the key word CHANGE COLUMN really exists with in MySQL?? That would be
> amazing to be ale to change the domain of an attribute just like that.
>
Yep
Syntax (Nicole, this is the correct syntax by the way... :-) :
ALTER TABLE table_name CHANGE orig_col_name new_col_name
new_col_attributes
In fact, the column must be defined again from scratch, no attributes are
carried over from the previous definition if you ALTER it.
Have fun
Symeon Charalabides (cosmopolitan trainee)
------------------------------------------
http://www.webmate.gr
--- End Message ---
--- Begin Message ---
>> >ALTER table balh chage column foo foo int(5)unsigned
>>
>> Does the key word CHANGE COLUMN really exists with in MySQL?? That would
be
>> amazing to be ale to change the domain of an attribute just like that.
>>
>Yep
>Syntax (Nicole, this is the correct syntax by the way... :-) :
>
>ALTER TABLE table_name CHANGE orig_col_name new_col_name
>new_col_attributes
>
>In fact, the column must be defined again from scratch, no attributes are
>carried over from the previous definition if you ALTER it.
Which suggest that the RDBMS internally first makes a DROP COLUMN, and then
perform an ADD COLUMN, well, if the column attributes is not preserved, then
I would like to suggest to use "ALTER TABLE <table name> DROP CONSTRAINT
<constraint>" to change a constraint - this will keeps the attributes.
Second reason for not using CHANGE COLUMN would then be to keep
compatibility between different platforms.
--- End Message ---
--- Begin Message ---
I am also a new user:
I want to use WinMe and put Apache/Mysql server on my hard disk
I downloaded the Triad from http://phpgeek.com/index.php
PHPTriad is PHPGeek.com's flagship product. It installs a PHP web server
environment on Windows platforms. It includes Apache, PHP, MySQL, Perl
and PHPMyAdmin. It is intended to make lives easier for PHP developers
of all levels.
This was a fool proof install but for I am still at square one,
It is installed in C:\Apache and at C:\Apache\php
The Windows Start Menu contains:
Launch Site which opens in MSIE browser
The address is http://localhost/
C:\Apache\test.php3 comes up in the Open With dialog box...unchecking
the "Always open this ...with" and selecting Internet Explorer brings up
a blank page...however View Source shows the code...
So...I'm thinking out loud...I put hello.php3 in the C:\apache\htdocs
directory...(I have just a smattering of Unix coding) and when I select
Open With ...Internet Explorer...it comes up:
Hello World
...still thinking outloud... I am going to associate .php, php3 and...
help me fill in the blanks...any other extensions??? with Internet
Explorer.
Then in Windows Explorer I can right click on a file and edit it in my
Html editor which is CoffeeCup Html Editor V 9.1 I will make
C:\Apache\httpd my Working Directory
Going back to the Start Menu in WinMe I click on PHPMyAdmin
Now...my Database will be named "Foxhunters"
Since I have only a smattering of MySql should I make my tables in MySql
first to learn the language or can/should I just use PHPMyAdmin?
I,m assuming that I can devise snippets of code that I can enter enblock
mode to minimize typing.
1. Is the number of characters in a window critical...can it be enlarged
later or should I try to get it right the first time?
2. If I use a 30 character line will a 40 character string show/work?
Note...I am wondering why I can't find a tutorial that would show what I
have mused about here or any questions/syntax in the future???
Hey now...watch for me and comment/help for I am a babe in the woods...
~`~`~Russell Griechen_Historian~`~`~
The Foxhunter's Historical Society
Join us for Foxhunting History and General
Discussions at our our mailing list at:
http://www.gigo.com/mailman/listinfo.cgi/Foxhunters
http://www.geocities.com/efoxfiles
--- End Message ---
--- Begin Message ---
hi, I'm using win 2000, apache, php 4.0.6.
when I try to send an email using mail() I get an error message.
I have downloaded and installed sendmail for windows of indigo, but it doesnt work.
what can i do?
I am trying to develop a site in my home.
i don't have a direct connection to internet, im behind a firewall and my ip address
is 192.168.0.2.
what should I put in the php.ini mail section?
thx
Adolfo
--- End Message ---
--- Begin Message ---
If your ISP does not mind just put their SMTP server in there. If you are
just testing a few times and not sending out a ton of emial, it should not
be a problem.
As long as this machine can see the SMTP server of your ISP you should be
ok.
-Scott
On Thu, 28 Feb 2002, Adolfo Meneses wrote:
> hi, I'm using win 2000, apache, php 4.0.6.
> when I try to send an email using mail() I get an error message.
> I have downloaded and installed sendmail for windows of indigo, but it doesnt work.
> what can i do?
>
> I am trying to develop a site in my home.
> i don't have a direct connection to internet, im behind a firewall and my ip address
>is 192.168.0.2.
>
> what should I put in the php.ini mail section?
>
> thx
> Adolfo
>
--
--- End Message ---
--- Begin Message ---
i have tried that solution, but its still not working.
do you know another method?
----- Original Message -----
From: "Scott St. John" <[EMAIL PROTECTED]>
To: "Adolfo Meneses" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, February 28, 2002 5:34 PM
Subject: Re: [PHP-WIN] sendmail for windows
> If your ISP does not mind just put their SMTP server in there. If you are
> just testing a few times and not sending out a ton of emial, it should not
> be a problem.
>
> As long as this machine can see the SMTP server of your ISP you should be
> ok.
>
> -Scott
>
>
>
>
> On Thu, 28 Feb 2002, Adolfo Meneses wrote:
>
> > hi, I'm using win 2000, apache, php 4.0.6.
> > when I try to send an email using mail() I get an error message.
> > I have downloaded and installed sendmail for windows of indigo, but it
doesnt work.
> > what can i do?
> >
> > I am trying to develop a site in my home.
> > i don't have a direct connection to internet, im behind a firewall and
my ip address is 192.168.0.2.
> >
> > what should I put in the php.ini mail section?
> >
> > thx
> > Adolfo
> >
>
> --
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Please post the mail section of your php.ini file.
Have you checked that a email client, eg OL/OE, can use the SMTP server
successfully?
Please advise,
=dn
> i have tried that solution, but its still not working.
> do you know another method?
>
> > If your ISP does not mind just put their SMTP server in there. If
you are
> > just testing a few times and not sending out a ton of emial, it
should not
> > be a problem.
> >
> > As long as this machine can see the SMTP server of your ISP you
should be
> > ok.
> >
> > > hi, I'm using win 2000, apache, php 4.0.6.
> > > when I try to send an email using mail() I get an error message.
> > > I have downloaded and installed sendmail for windows of indigo,
but it
> doesnt work.
> > > what can i do?
> > >
> > > I am trying to develop a site in my home.
> > > i don't have a direct connection to internet, im behind a firewall
and
> my ip address is 192.168.0.2.
> > >
> > > what should I put in the php.ini mail section?
--- End Message ---
--- Begin Message ---
Come to think of it I have MS SMTP service from the IIS install, I wonder
if you install that, then point it to your ISP if that would work.
On Thu, 28 Feb 2002, DL Neil wrote:
> Please post the mail section of your php.ini file.
> Have you checked that a email client, eg OL/OE, can use the SMTP server
> successfully?
> Please advise,
> =dn
>
>
> > i have tried that solution, but its still not working.
> > do you know another method?
> >
> > > If your ISP does not mind just put their SMTP server in there. If
> you are
> > > just testing a few times and not sending out a ton of emial, it
> should not
> > > be a problem.
> > >
> > > As long as this machine can see the SMTP server of your ISP you
> should be
> > > ok.
> > >
> > > > hi, I'm using win 2000, apache, php 4.0.6.
> > > > when I try to send an email using mail() I get an error message.
> > > > I have downloaded and installed sendmail for windows of indigo,
> but it
> > doesnt work.
> > > > what can i do?
> > > >
> > > > I am trying to develop a site in my home.
> > > > i don't have a direct connection to internet, im behind a firewall
> and
> > my ip address is 192.168.0.2.
> > > >
> > > > what should I put in the php.ini mail section?
>
--
--- End Message ---
--- Begin Message ---
Hi,
I'm trying to, after submitting a form, open a popup window and print all info in the
popup window.
I use the following code - which of course doesn't work:
<html>
<head>
<title>Untitled</title>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popupPage(l, t, w, h) {
var windowprops =
"location=no,scrollbars=yes,menubars=yes,toolbars=yes,resizable=yes,left=" + l +
",top=" + t + ",width=" + w + ",height=" + h;
var URL = "popup2.php";
popup = window.open(URL,"MenuPopup",windowprops);
}
// End -->
</script>
</HEAD>
<body>
<center>
<table>
<tr>
<td>
<br><br>
<form method=post action=/ onSubmit="popupPage(20, 20, 450, 350)">
<center>
<input type="text" name="varname1"><br>
<input type="text" name="varname2"><br>
<input type=submit value="Submit">
</center>
</form>
</td>
</tr>
</table>
</center>
</body>
</html>
I'm getting a new popup window but nothing's there.
Thanks for any help
Afan
--- End Message ---
--- Begin Message ---
That's correct, but I would rather not to use URL to transfer info (names,
passwords...). It must be hidden. Any other idea?
afan
----- Original Message -----
From: Ryan Marrs
To: 'Afan Pasalic'
Sent: Thursday, February 28, 2002 3:56 PM
Subject: RE: [PHP-WIN] Fw: php to poup window
You need to pass the variables to the popup page. So in the page url, you
may want to do something like:
Popup.php?thisvariable=thisvalue&thatvariable=thatvalue&etc=etc&etc=etc
That will pass the variables to that page. Then in the popup page do a:
print $_GET["thisvariable"]; to get your value (or if you have
register_globals turned on, feel free to use $thisvariable
Ryan
-----Original Message-----
From: Afan Pasalic [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 4:03 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Fw: php to poup window
Hi,
I'm trying to, after submitting a form, open a popup window and print all
info in the popup window.
I use the following code - which of course doesn't work:
<html>
<head>
<title>Untitled</title>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popupPage(l, t, w, h) {
var windowprops =
"location=no,scrollbars=yes,menubars=yes,toolbars=yes,resizable=yes,left=" +
l + ",top=" + t + ",width=" + w + ",height=" + h;
var URL = "popup2.php";
popup = window.open(URL,"MenuPopup",windowprops);
}
// End -->
</script>
</HEAD>
<body>
<center>
<table>
<tr>
<td>
<br><br>
<form method=post action=/ onSubmit="popupPage(20, 20, 450, 350)">
<center>
<input type="text" name="varname1"><br>
<input type="text" name="varname2"><br>
<input type=submit value="Submit">
</center>
</form>
</td>
</tr>
</table>
</center>
</body>
</html>
I'm getting a new popup window but nothing's there.
Thanks for any help
Afan
--- End Message ---
--- Begin Message ---
Yup! That could be a good idea! Let me try!
Thanks buddy!
Afan
----- Original Message -----
From: Ryan Marrs
To: 'Afan Pasalic'
Sent: Thursday, February 28, 2002 4:03 PM
Subject: RE: [PHP-WIN] Fw: php to poup window
Perhaps sessions?
Register the variables in a session, then open the session in the popup window to
get them.
Ryan
-----Original Message-----
From: Afan Pasalic [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 4:11 PM
To: Ryan Marrs; [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Fw: php to poup window
That's correct, but I would rather not to use URL to transfer info (names,
passwords...). It must be hidden. Any other idea?
afan
----- Original Message -----
From: Ryan Marrs
To: 'Afan Pasalic'
Sent: Thursday, February 28, 2002 3:56 PM
Subject: RE: [PHP-WIN] Fw: php to poup window
You need to pass the variables to the popup page. So in the page url, you
may want to do something like:
Popup.php?thisvariable=thisvalue&thatvariable=thatvalue&etc=etc&etc=etc
That will pass the variables to that page. Then in the popup page do a:
print $_GET["thisvariable"]; to get your value (or if you have
register_globals turned on, feel free to use $thisvariable
Ryan
-----Original Message-----
From: Afan Pasalic [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 4:03 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Fw: php to poup window
Hi,
I'm trying to, after submitting a form, open a popup window and print all
info in the popup window.
I use the following code - which of course doesn't work:
<html>
<head>
<title>Untitled</title>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popupPage(l, t, w, h) {
var windowprops =
"location=no,scrollbars=yes,menubars=yes,toolbars=yes,resizable=yes,left=" +
l + ",top=" + t + ",width=" + w + ",height=" + h;
var URL = "popup2.php";
popup = window.open(URL,"MenuPopup",windowprops);
}
// End -->
</script>
</HEAD>
<body>
<center>
<table>
<tr>
<td>
<br><br>
<form method=post action=/ onSubmit="popupPage(20, 20, 450, 350)">
<center>
<input type="text" name="varname1"><br>
<input type="text" name="varname2"><br>
<input type=submit value="Submit">
</center>
</form>
</td>
</tr>
</table>
</center>
</body>
</html>
I'm getting a new popup window but nothing's there.
Thanks for any help
Afan
--- End Message ---
--- Begin Message ---
Hello there,
I'm trying to compile php 4.1.2 on windows 2000 with VC++ 6.
I'm in the win32 folder builidng the project php4.dsw and I get the
following
D:\src\php-4.1.2\main\php_network.h(28) : fatal error C1083: Cannot open
include file: 'arpa/inet.h': No such file or directory
which is true, I have no such file.
Should I have this file, where do I get it?
}8-(
Barrington Womble
--- End Message ---
--- Begin Message ---
Ah, read the manual, good plan...
Before you get started, you have a lot to download...
"Barry Wom" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello there,
>
> I'm trying to compile php 4.1.2 on windows 2000 with VC++ 6.
>
> I'm in the win32 folder builidng the project php4.dsw and I get the
> following
>
> D:\src\php-4.1.2\main\php_network.h(28) : fatal error C1083: Cannot open
> include file: 'arpa/inet.h': No such file or directory
>
> which is true, I have no such file.
>
> Should I have this file, where do I get it?
>
> }8-(
> Barrington Womble
>
>
>
--- End Message ---
--- Begin Message ---
Hi,
If you download the windows installation from www.php.net/downloads and you
have IIS installed then you shouldn't need to do any registry editing or
anything complex.
You need to put your xxxx.php script files you've created in the web root
folder not the sytem root, this is usually c:\inetpub\wwwroot
To open the php file you need to open internet explorer and point it at
http://localhost/xxxx.php, if you simply drag and drop it into explorer, or
double click it, it won't go through the php server side scripting engine.
You can check that the .php extension mapping has been set up by going to
control panel->administrative tools->internet information services
Expand the node that has your computer's name on,
right click on "Default Web Site" and select "Properties"
Click the "Home Directory" tab
Next click the "Configuration" button near the bottom right of the page
A list of all the application mappings is displayed
Probably right at the bottom of the list is:
.php C:\Progra~1\php\php.exe
if it ain't there then click "Add" and add it to the list.
Barrington Womble
Head Landscape Gardener
(+ cat entertainer extraordinaire)
www.QuaintOxford.co.uk
--- End Message ---
--- Begin Message ---
hi,
I'm having a problem with windows xp using IIS 5.0 It's windows XP pro. I'm trying
to run php as an ISAPI module (i may have screwed up the initals but i think thats
it). Well everytime i follow the instructions in the php readme for use on IIS i have
a problem. It will not load the dll. And PHP wont work. I've tried formating i've
tried everything. Also It seems my IIS server has a user limit because when a couple
poeople are on my site others get messages saying that the server can't handle anymore
connections. Where in IIS can i specify the ammount of connections for it to handle
(or can i even do that?) Is there some type of limit that IIS has for users? If anyone
can help i would greatly apprecaite it.
\
Thanks In Advance,
Tyler
--- End Message ---
--- Begin Message ---
I was having trouble with XP Pro and PHP, so I went back to 2000. Have
you tried using the CGI version of PHP instead to see if it works better?
Also the Pro versions (NT Workstation, 2000 Pro, XP Pro) have a hard limit
of 10 connetions. You can not change that, you have to upgrade to 2000
Server or run Apache instead.
-Scott
On Thu, 28 Feb 2002, Tyler Worman wrote:
> hi,
> I'm having a problem with windows xp using IIS 5.0 It's windows XP pro. I'm
>trying to run php as an ISAPI module (i may have screwed up the initals but i think
>thats it). Well everytime i follow the instructions in the php readme for use on IIS
>i have a problem. It will not load the dll. And PHP wont work. I've tried formating
>i've tried everything. Also It seems my IIS server has a user limit because when a
>couple poeople are on my site others get messages saying that the server can't handle
>anymore connections. Where in IIS can i specify the ammount of connections for it to
>handle (or can i even do that?) Is there some type of limit that IIS has for users?
>If anyone can help i would greatly apprecaite it.
> \
>
>
> Thanks In Advance,
> Tyler
>
--
--- End Message ---
--- Begin Message ---
Is there a server version of xp? I heard about .net server but that isn't
out yet. And i have the bgi version running now but id like the auth
functions of php. Thats why i want to run isapi. I had apache running but
then i didn't have vb asp support.:/
----- Original Message -----
From: "Scott St. John" <[EMAIL PROTECTED]>
To: "Tyler Worman" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, February 28, 2002 6:48 PM
Subject: Re: [PHP-WIN] having a problem with windows xp + php
> I was having trouble with XP Pro and PHP, so I went back to 2000. Have
> you tried using the CGI version of PHP instead to see if it works better?
> Also the Pro versions (NT Workstation, 2000 Pro, XP Pro) have a hard limit
> of 10 connetions. You can not change that, you have to upgrade to 2000
> Server or run Apache instead.
>
> -Scott
>
>
>
> On Thu, 28 Feb 2002, Tyler Worman wrote:
>
> > hi,
> > I'm having a problem with windows xp using IIS 5.0 It's windows XP
pro. I'm trying to run php as an ISAPI module (i may have screwed up the
initals but i think thats it). Well everytime i follow the instructions in
the php readme for use on IIS i have a problem. It will not load the dll.
And PHP wont work. I've tried formating i've tried everything. Also It seems
my IIS server has a user limit because when a couple poeople are on my site
others get messages saying that the server can't handle anymore connections.
Where in IIS can i specify the ammount of connections for it to handle (or
can i even do that?) Is there some type of limit that IIS has for users? If
anyone can help i would greatly apprecaite it.
> > \
> >
> >
> > Thanks In Advance,
> > Tyler
> >
>
> --
>
>
>
--- End Message ---
--- Begin Message ---
No, the .net (XP) servers are still in beta. Not sure of the release
date.
-----Original Message-----
From: Tyler Worman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 8:46 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] having a problem with windows xp + php
Is there a server version of xp? I heard about .net server but that
isn't
out yet. And i have the bgi version running now but id like the auth
functions of php. Thats why i want to run isapi. I had apache running
but
then i didn't have vb asp support.:/
----- Original Message -----
From: "Scott St. John" <[EMAIL PROTECTED]>
To: "Tyler Worman" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, February 28, 2002 6:48 PM
Subject: Re: [PHP-WIN] having a problem with windows xp + php
> I was having trouble with XP Pro and PHP, so I went back to 2000.
Have
> you tried using the CGI version of PHP instead to see if it works
better?
> Also the Pro versions (NT Workstation, 2000 Pro, XP Pro) have a hard
limit
> of 10 connetions. You can not change that, you have to upgrade to
2000
> Server or run Apache instead.
>
> -Scott
>
>
>
> On Thu, 28 Feb 2002, Tyler Worman wrote:
>
> > hi,
> > I'm having a problem with windows xp using IIS 5.0 It's windows
XP
pro. I'm trying to run php as an ISAPI module (i may have screwed up the
initals but i think thats it). Well everytime i follow the instructions
in
the php readme for use on IIS i have a problem. It will not load the
dll.
And PHP wont work. I've tried formating i've tried everything. Also It
seems
my IIS server has a user limit because when a couple poeople are on my
site
others get messages saying that the server can't handle anymore
connections.
Where in IIS can i specify the ammount of connections for it to handle
(or
can i even do that?) Is there some type of limit that IIS has for users?
If
anyone can help i would greatly apprecaite it.
> > \
> >
> >
> > Thanks In Advance,
> > Tyler
> >
>
> --
>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Has anyone had any success with this? What technology did you use? I found
one person using COM to invoke Outlook, any other approaches?
I was thinking of using COM functions to access MAPI, what would you
recommend here?
thanks,
Warren Vail
Tools, Metrics & Quality Processes
215 Fremont 02-658
--- End Message ---
--- Begin Message ---
Ok last thing i disocverd about this problem was
that I was not only unable to do mail() from PHP but any other socket
connection was not succesiful. It worked fine when i start php.exe in
shell (command line) but the same script would not connect to anything
(even localhost) if run by IIS4. i tryed new version of php (4.1.1
instead of old 4.0.2) and the problem was persistant.
My guess is that there was a problem with IIS4 or WinNT Server and how
they setup envirnment for php.exe.
I copied the website and scripts to an IIS5 server (Win 2k) and there
I dont have a problem.
Aris
--- End Message ---
--- Begin Message ---
For some reason, after I upgraded to 4.1.1, I am not able to connect
to MySQL DB sources anymore. AFAIK I have set up the ini file like I
should, there are no differences in the IIS config since the 4.0.5
version I have been running here was installed.
Anyone familiar with this? I have seen hundreds of these errors all
over the web, but I have not found a solution to the problem yet. I
am tired of searching around the web for something that is probably
trivial :)
I have not upgraded my MySQL install, only php. The codeline that
does not get through is:
mysql_connect($host,$user,$password) or die ('Could not connect');
The output I get is:
Warning: Can't connect to MySQL server on 'localhost' (10061) in
************ on line 77
Warning: MySQL Connection Failed: Can't connect to MySQL server on
'localhost' (10061) in ************* on line 77
Could not connect
Regards,
Egil
-=//
Egil Helland / IKON AS - MCSE, Internet, Intranet
mailto:[EMAIL PROTECTED] http://egil.net
//=-
--- End Message ---