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(l ocalhost,"myuse r","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
?>
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(l ocalhost,"myuse r","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
?>
Comment