Home » Database » MDB2 » Bug #8394
MDB2 + FastCGI produce Internal Server Error
Details
| Submitted | 2006-08-08 22:30 UTC |
|---|---|
| From | cristian at clickdiario dot com |
| Assigned | lsmith |
| Status | Closed |
| Package | MDB2 |
| PHP Version | 5.1.4 |
| OS | Linux 2.6.8 |
| Roadmaps | (Not assigned) |
Comments
[2006-08-08 22:30 UTC] cristian at clickdiario dot com
Description:
------------
The PHP-CGI process die with Internal Server error when we try to connect to a database.
Installed mysql.so and mysqli.so
Test script:
---------------
<?php
require_once 'MDB2.php';
$dsn = 'mysql://user@host/database';
// The same with mysqli
$db = MDB2::factory($dsn);
?>
Expected result:
----------------
The database connected or no error
Actual result:
--------------
Internal Server Error, The FastCGI process died, no error message in PHP, even with E_ALL; the error only happen with LightTPD with PHP5.1 running as a FastCGI server.
[2006-08-09 13:55 UTC] cristian at clickdiario dot com
Resolved in CVS, related with charset