php-install Digest 13 Apr 2001 07:32:21 -0000 Issue 259

Topics (messages 2760 through 2763):

Exception:access violation when using PHP/apache/WinNT4.0/MSSQL calls
        2760 by: Matthew DeChant
        2763 by: B. van Ouwerkerk

Re: PHP Installation error
        2761 by: LAURIE KEITH
        2762 by: Yasuo Ohgaki

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]


----------------------------------------------------------------------


Hello,

Apache crashes with this error:

An application error....
Apache.exe
Exception: access violation (0xc0000005), Address: 0x00a549da

When attempting to run even the simplest MSSQL calls (such as
MSSQL_CONNECT). After apache crashed, it still says apache is running, and
will serve directory listings (ex. http://localhost), but a call to any .php
file, even those not containing MSSQL calls, cause the same crash until the
extension for the mssql dll is removed from php.ini and apache restarted.

The apache/phph server is on one machine, the MSSQL db is on another.

And it returns some of the data to the page before crashing.

Matthew DeChant
Manager, Systems Administration
Insight Product Development LLC
p. 773-907-9500
f. 773-907-0645





Hi,

Although I wouldn't recommend running Apache and PHP on any Windooz, here 
are some ideas.

- check the docs at www.apache.org for a clue..
- Check your log both apache and systemlogs..
- check how long it takes after a reboot before it crashes (I know someone 
who admins a few hosting NT boxes and he needs to reboot them after 48 hours..)
- are IIS or/and PWS running..?? if so KILL them
- M$ service packs..
- memory (both short and bad)
- reinstall if nothing else helps.. or throw in a Linux box :-)

Bye,


B.

It said uses Windows 95 or better, so I loaded Linux!


>An application error....
>Apache.exe
>Exception: access violation (0xc0000005), Address: 0x00a549da
>
>When attempting to run even the simplest MSSQL calls (such as
>MSSQL_CONNECT). After apache crashed, it still says apache is running, and
>will serve directory listings (ex. http://localhost), but a call to any .php
>file, even those not containing MSSQL calls, cause the same crash until the
>extension for the mssql dll is removed from php.ini and apache restarted.
>
>The apache/phph server is on one machine, the MSSQL db is on another.








> I am trying to install PHP 4.0 on a intel machine running Red Hat Linux
> 6.2.  Everything seems to work ok up to the ./configure command of the
> php.  I got the message:  
> 
> **************************************************************************
> ************
> * Attention!
> *
> * Something is likely to be screwed up here, because the configure script
> *
> * was not able to detect a simple feature on your platform.  This is often
> *
> * caused by incorrect configuration parameters.
> *
> **************************************************************************
> ************
> 
> I have Apache installed, up and running, installed MySQL and tested it and
> it works fine.  I get to the PHP installation and get an error that
> something is most likely wrong.  I have included the contents of the
> debug.log file.  MySQL is located in
> /usr/local/mysql-3.22.32-pc-linux-gnu-i686 and I also verified the
> location of the apxs to be correct.
> I tried the ./configure command with and without the trailing / at the end
> of i686.  Let me know if there is any additional information that  is
> needed to figure out my problem.  Thanks for any help you can offer.  
> 
> Contents of debug.log:
> 
> CONFIGURE:   './configure'
> '--with-mysql=/usr/local/mysql-3.22.32-pc-linux-gnu-i
> 686' '--with-apxs=/usr/local/apache_1.3.12/bin/apxs'
> CC:         gcc
> CFLAGS:     -g -O2
> CPPFLAGS:
> CXX:
> CXXFLAGS:
> INCLUDES:    -I/usr/local/apache_1.3.12/include  -I$(top_builddir)/Zend
> -I$(top_
> srcdir)  -I/usr/local/mysql-3.22.32-pc-linux-gnu-i686/include
> LDFLAGS:
> -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql -L/
> usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql
> LIBS:       -lmysqlclient -lgd -lresolv -lm -ldl -lcrypt -lnsl  -lresolv
> DLIBS:
> SAPI:       apache
> PHP_RPATHS:  /usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql
> uname -a:   Linux linux.rc.national.edu 2.2.14-5.0smp #1 SMP Tue Mar 7
> 21:01:40
> EST 2000 i686 unknown
> 
> gcc -o conftest -g -O2
> -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686/l
> ib/mysql -L/usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql conftest.c
> -lmys
> qlclient -lgd -lresolv -lm -ldl -lcrypt -lnsl  -lresolv 1>&5
> /usr/bin/ld: cannot find -lmysqlclient
> collect2: ld returned 1 exit status 
> 
PHP works fine if I omit the --with MySQL stuff.
>    
> Laurie A. Keith
> Network Manager       
> National American University
> (605) 394-5008
> [EMAIL PROTECTED]
> 
> 




I guess you don't have lib

mysqlclient

Do you?

Regards,
--
Yasuo Ohgaki


"LAURIE KEITH" <[EMAIL PROTECTED]> wrote in message
0DE765EABFB8D311977D00105ACB9B8144BAAA@MAIL">news:0DE765EABFB8D311977D00105ACB9B8144BAAA@MAIL...
>
>
>
> > I am trying to install PHP 4.0 on a intel machine running Red Hat Linux
> > 6.2.  Everything seems to work ok up to the ./configure command of the
> > php.  I got the message:
> >
> > **************************************************************************
> > ************
> > * Attention!
> > *
> > * Something is likely to be screwed up here, because the configure script
> > *
> > * was not able to detect a simple feature on your platform.  This is often
> > *
> > * caused by incorrect configuration parameters.
> > *
> > **************************************************************************
> > ************
> >
> > I have Apache installed, up and running, installed MySQL and tested it and
> > it works fine.  I get to the PHP installation and get an error that
> > something is most likely wrong.  I have included the contents of the
> > debug.log file.  MySQL is located in
> > /usr/local/mysql-3.22.32-pc-linux-gnu-i686 and I also verified the
> > location of the apxs to be correct.
> > I tried the ./configure command with and without the trailing / at the end
> > of i686.  Let me know if there is any additional information that  is
> > needed to figure out my problem.  Thanks for any help you can offer.
> >
> > Contents of debug.log:
> >
> > CONFIGURE:   './configure'
> > '--with-mysql=/usr/local/mysql-3.22.32-pc-linux-gnu-i
> > 686' '--with-apxs=/usr/local/apache_1.3.12/bin/apxs'
> > CC:         gcc
> > CFLAGS:     -g -O2
> > CPPFLAGS:
> > CXX:
> > CXXFLAGS:
> > INCLUDES:    -I/usr/local/apache_1.3.12/include  -I$(top_builddir)/Zend
> > -I$(top_
> > srcdir)  -I/usr/local/mysql-3.22.32-pc-linux-gnu-i686/include
> > LDFLAGS:
> > -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql -L/
> > usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql
> > LIBS:       -lmysqlclient -lgd -lresolv -lm -ldl -lcrypt -lnsl  -lresolv
> > DLIBS:
> > SAPI:       apache
> > PHP_RPATHS:  /usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql
> > uname -a:   Linux linux.rc.national.edu 2.2.14-5.0smp #1 SMP Tue Mar 7
> > 21:01:40
> > EST 2000 i686 unknown
> >
> > gcc -o conftest -g -O2
> > -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686/l
> > ib/mysql -L/usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql conftest.c
> > -lmys
> > qlclient -lgd -lresolv -lm -ldl -lcrypt -lnsl  -lresolv 1>&5
> > /usr/bin/ld: cannot find -lmysqlclient
> > collect2: ld returned 1 exit status
> >
> PHP works fine if I omit the --with MySQL stuff.
> >
> > Laurie A. Keith
> > Network Manager
> > National American University
> > (605) 394-5008
> > [EMAIL PROTECTED]
> >
> >
>



Reply via email to