PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » MDB2 » Bug #8394

MDB2 + FastCGI produce Internal Server Error

Details

Submitted2006-08-08 22:30 UTC
Fromcristian at clickdiario dot com
Assignedlsmith
StatusClosed
PackageMDB2
PHP Version5.1.4
OSLinux 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