Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

procmail + change subject, w2ksp4.exe download, /proc/kallsyms format, sqldatasource dal, wwwxxxenden, convert raid5 to raid 10 mdadm, apache force chunked, nrao wwwxxx, xxxxxdup, procmail change subject header

Links

XODOX
Impressum

#1: Re: Which versions of Apache will PHP 5.3.6 work with??

Posted on 2011-03-25 20:15:46 by Tommy Pham

On Fri, Mar 25, 2011 at 12:12 PM, Tommy Pham <tommyhp2@gmail.com> wrote:
> On Fri, Mar 25, 2011 at 10:52 AM, Curtis Tammany <curtis.tammany@urs.com>=
wrote:
>> Help!! I am in a Windows environment (XP SP3 for development and Server =
2003
>> for production. I have to upgrade to PHP 5.3.6. It does not appear to wo=
rk
>> with either Apache 2.2.11 or the new 2.2.17 from Apache Lounge. Apache w=
ill
>> run by itself but when PHP is installed, it adds:
>>
>> #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
>> PHPIniDir "C:\Program Files\PHP536\"
>> LoadModule php5_module "C:\Program Files\PHP536\php5apache2_2.dll"
>> #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
>>
>> Restarting Apache causes the following:
>>
>> httpd.exe - Application Error : The instruction at "0x0096c1bf" referenc=
ed
>> memory at "0x100058a8". The memory could not be "written".
>>
>> Thanks in advance,
>>
>> Curtis
>>
>>
>>
>
> Curtis,
>
> IIRC, you can't run VC9 (Visual Studio 2008) binary with VC6 binary
> smoothly, which I believe where you got the official binary
> distributions, PHP and httpd, respectively. àHere's the info from [1=
].
>
> There used to be a VC6 binary release for PHP v5.3.3 at
> windows.php.net but I don't see a VC6 build for v5.3 now. àAny way,
> since you're using using Windows, why not just run it as FastCGI? àI=
t
> runs fine on Win2003 (x86), Win7 x64, Win08 (x86 & x64), and Win08r2.
> Are using a specific Apache module that's why you need to use httpd?
> If so, you could use the (non official) Apache Lounge's binary.
>
> "The windows binary is build with original sources from ASF (
> http://httpd.apache.org ) and contains the latest patches. It is build
> with the latest Windowsî Platform SDK and Visual Studio C++ 2008 aka
> VC9, which have improvements in areas like Performance,
> MemoryManagement and Stability over the .msi binary from the ASF site
> which is build with VC6. LoadRunner (Load Testing Software Suite)
> shows that there are improvements in performance using Apache built
> with VC 2008. That performance gain can be affected by numerous
> factors (use of scripting language such as Perl, PHP, Python, etcâÂ=
=A6as
> well as the actual scripts themselves). LoadRunner testing does show a
> marked improvement for Apache compiled under VC 2008 in stability
> under rigorous condition.
>
> Minimum system required: Windows 7, Windows Server 2008 R2, Windows
> Vista, Windows Server 2008, Windows XPSP3 and Windows Server 2003 R2."
>
> Regards,
> Tommy
>
> [1] http://www.apachelounge.com/download/
>

argh.. didn't read it well >.> I was typing it while on the phone
:))... Anyway, if you don't need to use any Apache module, then go
with FastCGI.

Goodluck!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Report this message

#2: Re: Re: [PHP] Which versions of Apache will PHP 5.3.6 workwith??

Posted on 2011-03-25 20:41:29 by Toby Hart Dyke

On 3/25/2011 3:15 PM, somebody wrote:
> On Fri, Mar 25, 2011 at 12:12 PM, Tommy Pham<tommyhp2@gmail.com> wrote:
>> On Fri, Mar 25, 2011 at 10:52 AM, Curtis Tammany<curtis.tammany@urs.com> wrote:
>>> Help!! I am in a Windows environment (XP SP3 for development and Server 2003
>>> for production. I have to upgrade to PHP 5.3.6. It does not appear to work
>>> with either Apache 2.2.11 or the new 2.2.17 from Apache Lounge. Apache will
>>> run by itself but when PHP is installed, it adds:
>>>
>>> #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
>>> PHPIniDir "C:\Program Files\PHP536\"
>>> LoadModule php5_module "C:\Program Files\PHP536\php5apache2_2.dll"
>>> #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
>>>
>>> Restarting Apache causes the following:
>>>
>>> httpd.exe - Application Error : The instruction at "0x0096c1bf" referenced
>>> memory at "0x100058a8". The memory could not be "written".
>>>
>>> Thanks in advance,
>>>
>>> Curtis
Try commenting out all the extensions. I'm using the Apache Lounge
binary, and running PHP as a module. IIRC it was the zip extension which
was causing the problem (I copied over an old php.ini). The zip
extension is now internal to PHP.

Toby

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Report this message

#3: Re: Re: [PHP] Which versions of Apache will PHP 5.3.6 work with??

Posted on 2011-03-28 18:13:20 by Curtis Tammany

Extensions in the php.ini file? It was using the ini file that came with PHP
5.3.6.

Can anyone get PHP 5.3.6 (from windows.php.net/download) to work with
Apache??? The PHP site says it will only work with the VC9 version found at
apachelounge.com...


"Toby Hart Dyke" <toby@hartdyke.com> wrote in message
news:4D8CEFE9.6020800@hartdyke.com...
> On 3/25/2011 3:15 PM, somebody wrote:
>> On Fri, Mar 25, 2011 at 12:12 PM, Tommy Pham<tommyhp2@gmail.com> wrote:
>>> On Fri, Mar 25, 2011 at 10:52 AM, Curtis Tammany<curtis.tammany@urs.com>
>>> wrote:
>>>> Help!! I am in a Windows environment (XP SP3 for development and Server
>>>> 2003
>>>> for production. I have to upgrade to PHP 5.3.6. It does not appear to
>>>> work
>>>> with either Apache 2.2.11 or the new 2.2.17 from Apache Lounge. Apache
>>>> will
>>>> run by itself but when PHP is installed, it adds:
>>>>
>>>> #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
>>>> PHPIniDir "C:\Program Files\PHP536\"
>>>> LoadModule php5_module "C:\Program Files\PHP536\php5apache2_2.dll"
>>>> #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
>>>>
>>>> Restarting Apache causes the following:
>>>>
>>>> httpd.exe - Application Error : The instruction at "0x0096c1bf"
>>>> referenced
>>>> memory at "0x100058a8". The memory could not be "written".
>>>>
>>>> Thanks in advance,
>>>>
>>>> Curtis
> Try commenting out all the extensions. I'm using the Apache Lounge binary,
> and running PHP as a module. IIRC it was the zip extension which was
> causing the problem (I copied over an old php.ini). The zip extension is
> now internal to PHP.
>
> Toby



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Report this message

#4: Contact Form Problem

Posted on 2011-06-06 18:55:09 by dj dust

--------------050102080201020003060408
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi all

Got an absolutely baffling problem with a bit of code that I've been
using for a very long time now that I've never had a problem with until
now...

Here's the code:

*<?php
$To = "djdust@ntlworld.com";
$Subject = "Testing";
$Headers = "From: contact@weddingdjswindon.com";
if (!isset($_POST['Email'])){ ?>
<div id="contact_form">
<form id="form" name="Form" method="post" action="<?php echo
$_SERVER['PHP_SELF']; ?>">
<label>Name</label>
<input type="text" name="Name" />
<label>Email Address<em></label>
<input type="text" name="Email" />
<label>Message:</label>
<textarea name="Message" rows="10" cols="10"></textarea>
<button type="submit" name="Submit">Send!!</button>
</form>
</div>
<?php
} else {
$Line1="you got the following message:";
$Content = "$Line1\n\nName: $_POST[Name]\n\nEmail:
$_POST[Email]\n\nMessage:\n\n$_POST[Message]";
mail("$To","$Subject","$Content","$Headers");
} ?>
*

When it runs, no email is forwarded from it. It's always worked before
and, after a very long time diagnosing, I've pinpointed what the problem
is - it's the 4th line:

*$Headers = "From: contact@weddingdjswindon.com";*

Specifically, the domain name. If I change it to *anything else* at all
(such as wedding.com or swindon.com), the form works and the message
arrives. Keep it as it is though and the message just disappears down a
black hole. This is the same domain name that the page/site is going to
be hosted at. Has anyone got any idea at all why this is happening?
All my other websites use the same code and have their own domain name
in the email address and work perfectly. Why is this one single site not
playing ball?

Thanks in advance

Darren

--------------050102080201020003060408--

Report this message

#5: RE: Contact Form Problem

Posted on 2011-06-06 20:18:37 by Bryan.Gallant

Sounds more like a blacklisted email domain...

-----Original Message-----
From: dustie [mailto:djdust@ntlworld.com]=20
Sent: Monday, June 06, 2011 12:55 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Contact Form Problem

Hi all

Got an absolutely baffling problem with a bit of code that I've been using =
for a very long time now that I've never had a problem with until now...

Here's the code:

*<?php
$To =3D "djdust@ntlworld.com";
$Subject =3D "Testing";
$Headers =3D "From: contact@weddingdjswindon.com"; if (!isset($_POST['Email=
'])){ ?> <div id=3D"contact_form"> <form id=3D"form" name=3D"Form" method=
=3D"post" action=3D"<?php echo $_SERVER['PHP_SELF']; ?>"> <label>Name</labe=
l> <input type=3D"text" name=3D"Name" /> <label>Email Address<em></label> <=
input type=3D"text" name=3D"Email" /> <label>Message:</label> <textarea nam=
e=3D"Message" rows=3D"10" cols=3D"10"></textarea> <button type=3D"submit" n=
ame=3D"Submit">Send!!</button> </form> </div> <?php
} else {
$Line1=3D"you got the following message:";
$Content =3D "$Line1\n\nName: $_POST[Name]\n\nEmail:=20
$_POST[Email]\n\nMessage:\n\n$_POST[Message]";
mail("$To","$Subject","$Content","$Headers");
} ?>
*

When it runs, no email is forwarded from it. It's always worked before and=
, after a very long time diagnosing, I've pinpointed what the problem is - =
it's the 4th line:

*$Headers =3D "From: contact@weddingdjswindon.com";*

Specifically, the domain name. If I change it to *anything else* at all (s=
uch as wedding.com or swindon.com), the form works and the message arrives.=
Keep it as it is though and the message just disappears down a black hole=
.. This is the same domain name that the page/site is going to be hosted at=
.. Has anyone got any idea at all why this is happening? =20
All my other websites use the same code and have their own domain name in t=
he email address and work perfectly. Why is this one single site not playin=
g ball?

Thanks in advance

Darren

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Report this message

#6: Re: Contact Form Problem

Posted on 2011-06-06 20:52:20 by Steven Scott

On Mon, Jun 6, 2011 at 2:18 PM, Gallant, Bryan <Bryan.Gallant@hma.com> wrot=
e:
>
> Sounds more like a blacklisted email domain...
>
> -----Original Message-----
> From: dustie [mailto:djdust@ntlworld.com]
> Sent: Monday, June 06, 2011 12:55 PM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Contact Form Problem
>
> Hi all
>
> Got an absolutely baffling problem with a bit of code that I've been usin=
g for a very long time now that I've never had a problem with until now...
>
> Here's the code:
>
> *<?php
> $To =3D "djdust@ntlworld.com";
> $Subject =3D "Testing";
> $Headers =3D "From: contact@weddingdjswindon.com"; if (!isset($_POST['Ema=
il'])){ ?> <div id=3D"contact_form"> <form id=3D"form" name=3D"Form" method=
=3D"post" action=3D"<?php echo $_SERVER['PHP_SELF']; ?>"> <label>Name</labe=
l> <input type=3D"text" name=3D"Name" /> <label>Email Address<em></label> <=
input type=3D"text" name=3D"Email" /> <label>Message:</label> <textarea nam=
e=3D"Message" rows=3D"10" cols=3D"10"></textarea> <button type=3D"submit" n=
ame=3D"Submit">Send!!</button> </form> </div> <?php
> =A0 =A0 } else {
> =A0 =A0 =A0 =A0 $Line1=3D"you got the following message:";
> =A0 =A0 =A0 =A0 $Content =3D "$Line1\n\nName: $_POST[Name]\n\nEmail:
> $_POST[Email]\n\nMessage:\n\n$_POST[Message]";
> mail("$To","$Subject","$Content","$Headers");
> =A0 =A0 } ?>
> *
>
> When it runs, no email is forwarded from it. =A0It's always worked before=
and, after a very long time diagnosing, I've pinpointed what the problem i=
s - it's the 4th line:
>
> *$Headers =3D "From: contact@weddingdjswindon.com";*
>
> Specifically, the domain name. =A0If I change it to *anything else* at al=
l (such as wedding.com or swindon.com), the form works and the message arri=
ves. =A0Keep it as it is though and the message just disappears down a blac=
k hole. =A0This is the same domain name that the page/site is going to be h=
osted at. =A0Has anyone got any idea at all why this is happening?
> All my other websites use the same code and have their own domain name in=
the email address and work perfectly. Why is this one single site not play=
ing ball?
>
> Thanks in advance
>
> Darren
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Could the email address be invalid, and is therefore failing a check
by the main mail service?

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Report this message

#7: Re: Contact Form Problem

Posted on 2011-06-07 01:08:39 by dj dust

On Mon, Jun 6, 2011 at 2:18 PM, Gallant, Bryan <Bryan.Gallant@hma.com>
wrote:
>> Sounds more like a blacklisted email domain...
It's not.

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Report this message

#8: Re: Contact Form Problem

Posted on 2011-06-07 05:04:51 by Niel Archer

> Hi all
>
> Got an absolutely baffling problem with a bit of code that I've been
> using for a very long time now that I've never had a problem with until
> now...
>
> Here's the code:
>
> *<?php
> $To = "djdust@ntlworld.com";
> $Subject = "Testing";
> $Headers = "From: contact@weddingdjswindon.com";
> if (!isset($_POST['Email'])){ ?>
> <div id="contact_form">
> <form id="form" name="Form" method="post" action="<?php echo
> $_SERVER['PHP_SELF']; ?>">
> <label>Name</label>
> <input type="text" name="Name" />
> <label>Email Address<em></label>
> <input type="text" name="Email" />
> <label>Message:</label>
> <textarea name="Message" rows="10" cols="10"></textarea>
> <button type="submit" name="Submit">Send!!</button>
> </form>
> </div>
> <?php
> } else {
> $Line1="you got the following message:";
> $Content = "$Line1\n\nName: $_POST[Name]\n\nEmail:
> $_POST[Email]\n\nMessage:\n\n$_POST[Message]";
> mail("$To","$Subject","$Content","$Headers");
> } ?>
> *
>
> When it runs, no email is forwarded from it. It's always worked before
> and, after a very long time diagnosing, I've pinpointed what the problem
> is - it's the 4th line:
>
> *$Headers = "From: contact@weddingdjswindon.com";*
>
> Specifically, the domain name. If I change it to *anything else* at all
> (such as wedding.com or swindon.com), the form works and the message
> arrives. Keep it as it is though and the message just disappears down a
> black hole. This is the same domain name that the page/site is going to
> be hosted at. Has anyone got any idea at all why this is happening?
> All my other websites use the same code and have their own domain name
> in the email address and work perfectly. Why is this one single site not
> playing ball?
>
> Thanks in advance
>
> Darren

First thing I would suggest, is test the return value from mail, that
you currently ignore, to see if the message was accepted by the MTA. If
that is true you know the script is fine and to pursue the problem
elsewhere. If false, check your MTA is setup properly.

--
Niel Archer


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Report this message