Apache error caused by PHP aspell

Apache error caused by PHP aspell

am 14.01.2011 20:06:07 von Todd Keup

I'm running Apache 2.2.17.0 on Windows 7 Ultimate 64-bit with 8 GB RAM.
Both PHP 5.2.16 and 5.2.17 are causing this error when invoking pspell.
I have aspell loaded on the computer and added to the PATH during boot.
Renaming/removing the aspell binary in the C:\php directory resolves the
issue.

Faulting application name: httpd.exe, version: 2.2.17.0, time stamp:
0x4cbbe9e8
Faulting module name: aspell-15.dll, version: 0.0.0.0, time stamp:
0x42dc4716
Exception code: 0xc0000005
Fault offset: 0x0008cef5
Faulting process id: 0xc84
Faulting application start time: 0x01cbb37e808ae078
Faulting application path: C:\Apache\bin\httpd.exe
Faulting module path: C:\php\aspell-15.dll
Report Id: c98d18c7-1f71-11e0-8a80-a4badb01eac1

Any clues as to the issue?


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

Re: Apache error caused by PHP aspell

am 17.01.2011 20:27:33 von Pierre Joye

hi,

It could be some bad DLLs in your PATHs. But aspell is not supported
anymore on Windows, I would suggest to move to Enchant instead (and
5.3 while being).

Cheers,

On Fri, Jan 14, 2011 at 8:06 PM, Todd Keup wrote:
> I'm running Apache 2.2.17.0 on Windows 7 Ultimate 64-bit with 8 GB RAM.
> Both PHP 5.2.16 and 5.2.17 are causing this error when invoking pspell.
> I have aspell loaded on the computer and added to the PATH during boot.
> Renaming/removing the aspell binary in the C:\php directory resolves the
> issue.
>
> Faulting application name: httpd.exe, version: 2.2.17.0, time stamp:
> 0x4cbbe9e8
> Faulting module name: aspell-15.dll, version: 0.0.0.0, time stamp:
> 0x42dc4716
> Exception code: 0xc0000005
> Fault offset: 0x0008cef5
> Faulting process id: 0xc84
> Faulting application start time: 0x01cbb37e808ae078
> Faulting application path: C:\Apache\bin\httpd.exe
> Faulting module path: C:\php\aspell-15.dll
> Report Id: c98d18c7-1f71-11e0-8a80-a4badb01eac1
>
> Any clues as to the issue?
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



--
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

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

Re: Apache error caused by PHP aspell

am 17.01.2011 22:20:33 von Todd Keup

But the .dll is named in the faulting module path ...
C:\php\aspell-15.dll
.... which happens to be the bundled .dll in the binary distribution from PHP
Windows downloads. That's the part that has me confused.

I do indeed have a 5.3.5 install up and running but the enchant library and
API is not available in the VC6 x86 Thread Safe Zip download. I notice the
enchant .dll is not named in the php.ini.(development|production)
configuration files nor is there a dll in the /ext directory.


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

Re: Apache error caused by PHP aspell

am 18.01.2011 09:04:17 von Pierre Joye

On Mon, Jan 17, 2011 at 10:20 PM, Todd Keup wrote:
> But the .dll is named in the faulting module path ...
> =A0 C:\php\aspell-15.dll
> ... which happens to be the bundled .dll in the binary distribution from =
PHP
> Windows downloads. =A0That's the part that has me confused.
>
> I do indeed have a 5.3.5 install up and running but the enchant library a=
nd
> API is not available in the VC6 x86 Thread Safe Zip download. =A0I notice=
the
> enchant .dll is not named in the php.ini.(development|production)
> configuration files nor is there a dll in the /ext directory.

VC9 only. We also plan to stop to provide VC6 builds very soon, that'd
to be a good move for you to go for VC9.

Apache's bins are available at http://apachelounge.com


Cheers,
--=20
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

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

Re: Apache error caused by PHP aspell

am 18.01.2011 14:50:06 von Todd Keup

The PHP Windows site has the following disclaimers:

Which version do I choose?
If you are using PHP with Apache 1 or Apache2 from apache.org you need to
use the VC6 versions of PHP
....
Do *NOT* use VC9 version with apache.org binaries

I'm just a little confused. Are you saying that the VC9 version can indeed
be used, but to do so we need to use apache binaries downloaded from the
apachelounge web site instead?


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

Re: Apache error caused by PHP aspell

am 18.01.2011 15:25:23 von Pierre Joye

On Tue, Jan 18, 2011 at 2:50 PM, Todd Keup wrote:

> I'm just a little confused. =A0Are you saying that the VC9 version can in=
deed
> be used, but to do so we need to use apache binaries downloaded from the
> apachelounge web site instead?

Yes


--=20
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

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

Re: Apache error caused by PHP aspell

am 18.01.2011 15:52:54 von Richard Quadling

On 18 January 2011 14:25, Pierre Joye wrote:
> On Tue, Jan 18, 2011 at 2:50 PM, Todd Keup wrote:
>
>> I'm just a little confused.  Are you saying that the VC9 version ca=
n indeed
>> be used, but to do so we need to use apache binaries downloaded from the
>> apachelounge web site instead?
>
> Yes

Does the official version of Apache support FastCGI? If so, can you
use official Apache (VC6) with VC9 PHP?

Along the lines of IIS->FastCGI->PHP(nts)



--=20
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

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

Re: Apache error caused by PHP aspell

am 18.01.2011 16:24:39 von Todd Keup

>> Does the official version of Apache support FastCGI? If so, can you
>> use official Apache (VC6) with VC9 PHP?

>> Along the lines of IIS->FastCGI->PHP(nts)

No, do not use the ASF builds with VC9, the ASF builds are VC6. That is
what the notes on the PHP Windows download page are quite specific about.
You'll run into issues.

Looks like you may be referring to the ASF (Apache Software Foundation:
http://httpd.apache.org/) as the *official* version. And rightly so.
However, from what I understand so far is that the Apache Lounge web site
(http://www.apachelounge.com/download/) is built differently, using a
later/newer compiler, and is much more focused on the Windows platform and
binaries than the ASF site itself. Read the top paragraph on the download
page link provided there to see what I mean.

Then you referred to IIS ... that's a whole different http server. However,
the FastCGI ASF module for Apache 2.2.x is also available on the Apache
Lounge web site.


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

Re: Apache error caused by PHP aspell

am 18.01.2011 16:33:03 von Todd Keup

One last note/request, Pierre :)
Would it be possible to update the http://windows.php.net/download/ site
pages to show where to get apache VC9 binaries (Apache Lounge)? I think
this would be of great benefit to the PHP community.


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

Re: Apache error caused by PHP aspell

am 18.01.2011 19:21:32 von Pierre Joye

On Tue, Jan 18, 2011 at 4:24 PM, Todd Keup wrote:
>>> Does the official version of Apache support FastCGI? If so, can you
>>> use official Apache (VC6) with VC9 PHP?
>
>>> Along the lines of IIS->FastCGI->PHP(nts)
>
> No, do not use the ASF builds with VC9, the ASF builds are VC6. =A0That i=
s
> what the notes on the PHP Windows download page are quite specific about.
> You'll run into issues.

If you use FastCGI then you can use whatever you wish. PHP and Apache
processes won't mess with each other.


Cheers,
--=20
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

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

Re: Apache error caused by PHP aspell

am 18.01.2011 19:33:27 von Todd Keup

Thanks again, Pierre. If we could get the PHP Windows web site updated with
this information that would be great!


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