Posted by Jerry Stuckle on 07/24/05 07:58
Bush is a Fascist wrote:
> Help! PHP is crashing when I go something very simple
> and straightforward.
>
> I downloaded PHP 5.0.4 and compiled it with MySQL support.
> I checked that my database was up and running and that
> the table I wanted to access was accessible from
> the mysql prompt.
>
> I then ran the following PHP file, first through my
> webserver and then at the command line, with the
> same result each time: PHP segfaulted.
>
> The file:
>
> <html><body>
> <table><tr>
> <?
> mysql_connect(localhost,"myuser","mypass");
> # other stuff here
> ?>
> </table>
> <hr>
> HTML that never appears in the result.
> </html>
>
> PHP segfaults during the connect.
>
> Can anyone tell me if this is a known bug?
> Can anyone tell me which would be a more stable version
> of PHP?
>
> Thanks
> 333
>
> ?>
>
Did you look on php.net? Since they produce the modules, it's the first place I
go when I have this kind of problem...
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|