Re: mysql 4.1 php 5.0.52 apache 2 mysql_connect()
| From: | BrAiNs | Date: | Tue, 01 Mar 2005 17:02:31 +0000 |
| Subject: | Re: mysql 4.1 php 5.0.52 apache 2 mysql_connect() | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-25697@lists.php.net to get a copy of this message | ||
Hi
http://forums.mysql.com/read.php?11,6400,6701#msg-6701
MySQL 5.0.0
PHP 4.3.10
Regards
BrAiNs
http://ctek.ath.cx
"Karsten Scherer" <igelcom@gmx.de> wrote in message
news:C3.61.19710.7EF51F14@pb1.pair.com...
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