Posted by Kevin Raleigh on 05/27/07 04:11
I have this DB connection code from the book
<?php
$connection = mysql_connect("localhost", "raleigh", "1111") or die
("Couldn't connect to the server.");
$db = mysql_select_db("secretDB", $connection) or die ("couldn't selcet
database.");
?>
When I run it I get the following errors
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program
Files\PHP\ext\php_exif.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program
Files\PHP\ext\php_oci8.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program
Files\PHP\ext\php_pdo_oci.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program
Files\PHP\ext\php_pdo_oci8.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program
Files\PHP\ext\php
I was missing one of the .dll libraries so I reran the PHP setup and loaded
everything that it came with.
The above is the end result
Would appreciate any insight that you can provide
Kevin
[Back to original message]
|