mysql 4.1 php 5.0.52 apache 2 mysql_connect()
| From: | Karsten Scherer | Date: | Fri, 21 Jan 2005 20:01:12 +0000 |
| Subject: | mysql 4.1 php 5.0.52 apache 2 mysql_connect() | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-25417@lists.php.net to get a copy of this message | ||
Hi there!
i am getting mad while trying to get this stuff running.
on my system are:
Apache 2.0.52
PHP 5.0.3
Mysql 4.1
i progrqammed a script taken from "http://3dBUZZ.com" ´s
"php & Mysql Training course".
as following:
##File temp_con.php stored in webroot:
<?php
require($_SERVER["DOCUMENT_ROOT"]."/config/db_config.php");
$connection = mysql_real_connect($db_host, $db_user, $db_password)or
die("fehler beim connecten");
echo "connection war erfolgreich";
?>
## end of file
and
##File "db_config.php" stored in c:\webroot\config
<?php
$db_host = "localhost";
$db_user = "karsten";
$db_password = "sharon";
$db_name = "buzz_db";
?>
## end of file
My problem is i cant figure out how to install the new
"MYSQL_REAL_CONNECT" - feature
i am looking a whole f*$%%%ing day now and there is no germen help for it.
everytime i locate to "http://localhost/temp_con.php"
the only thing i get back is:
a
Fatal error: Call to undefined function mysql_real_connect() in
C:\WEBSEITEN\BaltiCom2005\temp_con.php on line 3
HELP me please!!!
sincerely yours
Karsten Scherer igelcom@gmx.de