seg fault when using mysql with php
| From: | Charles McLaughlin | Date: | Tue, 02 Sep 2003 01:05:30 +0000 |
| Subject: | seg fault when using mysql with php | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-3770@lists.php.net to get a copy of this message | ||
Hello,
I'm trying to write a php-gtk app. It was going quite well until now!
I have the user enter some data into text entry fields, then that will
go into a MySQL database.
As soon as I try to connect to the DB, I get a seg fault. I guess this
has less to do with php-gtk and more to do with php it self. I say that
because I took the same code and ran it as a web page and it worked.
But when I took out all of the php-gtk stuff, it still seg faults.
So it seems that there is some problem when I try to work with MySQL
from a php script at the command line. Perhaps Apache uses a CGI
version of Apache and there are some differences from running PHP at the
command line...???
Any ideas of how to fix this?
Thanks!
Charles