Re: seg fault when using mysql with php
| From: | Charles McLaughlin | Date: | Tue, 02 Sep 2003 06:19:27 +0000 |
| Subject: | Re: seg fault when using mysql with php | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3775@lists.php.net to get a copy of this message | ||
OS: Debian Unstable
php: 4.2.3
mysql: Ver 12.20 Distrib 4.0.13, for pc-linux-gnu (i686)
When I ran <?print_r(get_loaded_extensions());?> these are listed:
[23] => php-gtk
[24] => mysql
... so it looks like PHP was compiled with MySQL support.
And I don't think my script makes use of any $_SERVER variables.
My script chokes on this line:
$link = mysql_connect('localhost', 'root', '');
I just tried the same script on my windows box and it works fine. Maybe
there is some configuration problem on my linux box.
Thanks for your help!
Charles