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

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

am 25.03.2011 20:15:46 von Tommy Pham

On Fri, Mar 25, 2011 at 12:12 PM, Tommy Pham wrote:
> On Fri, Mar 25, 2011 at 10:52 AM, Curtis Tammany =
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

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

am 25.03.2011 20:41:29 von Toby Hart Dyke

On 3/25/2011 3:15 PM, somebody wrote:
> On Fri, Mar 25, 2011 at 12:12 PM, Tommy Pham wrote:
>> On Fri, Mar 25, 2011 at 10:52 AM, Curtis Tammany 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

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

am 28.03.2011 18:13:20 von 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" 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 wrote:
>>> On Fri, Mar 25, 2011 at 10:52 AM, Curtis Tammany
>>> 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

Contact Form Problem

am 06.06.2011 18:55:09 von 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:

* $To = "djdust@ntlworld.com";
$Subject = "Testing";
$Headers = "From: contact@weddingdjswindon.com";
if (!isset($_POST['Email'])){ ?>












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

RE: Contact Form Problem

am 06.06.2011 20:18:37 von 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:

* $To =3D "djdust@ntlworld.com";
$Subject =3D "Testing";
$Headers =3D "From: contact@weddingdjswindon.com"; if (!isset($_POST['Email=
'])){ ?>

=3D"post" action=3D"">
} 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

Re: Contact Form Problem

am 06.06.2011 20:52:20 von Steven Scott

On Mon, Jun 6, 2011 at 2:18 PM, Gallant, Bryan 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:
>
> * > $To =3D "djdust@ntlworld.com";
> $Subject =3D "Testing";
> $Headers =3D "From: contact@weddingdjswindon.com"; if (!isset($_POST['Ema=
il'])){ ?>

=3D"post" action=3D"">
> =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

Re: Contact Form Problem

am 07.06.2011 01:08:39 von dj dust

On Mon, Jun 6, 2011 at 2:18 PM, Gallant, Bryan
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

Re: Contact Form Problem

am 07.06.2011 05:04:51 von 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:
>
> * > $To = "djdust@ntlworld.com";
> $Subject = "Testing";
> $Headers = "From: contact@weddingdjswindon.com";
> if (!isset($_POST['Email'])){ ?>
>


>

>
>
>
>
>
>
>
>
>

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