2009年1月2日星期五

RE: [fw-db] ZF 1.7 crashes Apache ???

It is a XAMPP 1.7 PDO problem:

http://www.apachefriends.org/f/viewtopic.php?f=16&t=32617


Vincent de Lau
vincent@delau.nl

> -----Original Message-----
> From: Vincent de Lau [mailto:vincent@delau.nl]
> Sent: Friday, January 02, 2009 8:52 PM
> To: fw-db@lists.zend.com
> Subject: RE: [fw-db] ZF 1.7 crashes Apache ???
>
> Fehlermodulname: php_pdo_mysql.dll
>
> This suggests that something is wrong in PDO. Testing with
> mysql_query()
> doesn't touch PDO.
>
> You could test with:
>
> <?php
>
> $dsn = 'mysql:dbname=testdb;host=127.0.0.1';
> $user = 'dbuser';
> $password = 'dbpass';
>
> $conn = new PDO($dsn, $user, $password);
>
> $stmt = $conn->query(...);
>
> ?>
>
> My quess is that this will fail as well.
>
> Vincent de Lau
> vincent@delau.nl
>
> > -----Original Message-----
> > From: Ralph Schindler [mailto:ralph.schindler@zend.com]
> > Sent: Friday, January 02, 2009 8:40 PM
> > To: mike55; fw-db@lists.zend.com
> > Subject: Re: [fw-db] ZF 1.7 crashes Apache ???
> >
> > What is the actual query that is crashing? Is the machine 64bit by
> > chance?
> >
> > -Ralph
> >
> >
> > On 1/2/09 1:25 PM, "mike55" <mkhilbert@googlemail.com> wrote:
> >
> > >
> > > hi,
> > >
> > > Vista SP1 + xampp 1.5.4a + ZF 1.7 everything is fine.
> > >
> > > switching to the current xampp 1.7, apache consistently crashes as
> > soon as
> > > ZF does an actual mysql query. eg: $stmt = $db->query($select) or
> > > fetchAll().
> > >
> > > mysql_query($query) works fine with both xampp versions.
> > >
> > > ZF 1.6 & xampp 1.7 also crashes apache.
> > >
> > > any ideas?
> > > thanks mike
> > >
> > >
> > >
> > > apache err_log:
> > > [notice] Parent: child process exited with status 3221225477 --
> > Restarting.
> > >
> > >
> > >
> > > windows error message when apache crashes:
> > >
> > > Problemsignatur:
> > > Problemereignisname: APPCRASH
> > > Anwendungsname: apache.exe
> > > Anwendungsversion: 2.2.11.0
> > > Anwendungszeitstempel: 493f5d44
> > > Fehlermodulname: php_pdo_mysql.dll
> > > Fehlermodulversion: 5.2.8.8
> > > Fehlermodulzeitstempel: 493d7650
> > > Ausnahmecode: c0000005
> > > Ausnahmeoffset: 0000250a
> > > Betriebsystemversion: 6.0.6001.2.1.0.256.1
> > > Gebietsschema-ID: 1031
> > >
> > >
> > > xampp 1.5.4a
> > > + Apache 2.2.3
> > > + MySQL 5.0.24a
> > > + PHP 5.1.6 + PHP 4.4.4 + PEAR
> > >
> > > xampp 1.7
> > > + Apache 2.2.11
> > > + MySQL 5.1.30 (Community Server)
> > > + PHP 5.2.8 + PEAR (Support for PHP 4 has been discontinued)
> >
> > --
> > Ralph Schindler
> > Software Engineer | ralph.schindler@zend.com
> > Zend Framework | http://framework.zend.com/
> >
>

没有评论: