Peter,
 
When you get everything working please let me know how you did it. I have been trying for days without any luck. 
 
Regards,
 
 
Jay
 
-------Original Message-------
 
Date: vrijdag 13 juni 2003 22:46:20
Subject: Re: PHP, MySQL and Apache
 
Subscriptions wrote:
 
>The httpd.conf connects PHP to Apache. What connects PHP to MySQL?
>
>
>I've looked through google and I can't find anything that makes since to me.
>Can someone point me in a direction as to where I can find this out?
>
>The problem I'm having is I have PHP 4.3.2, MySQL 4.0.13 and Apache 2.0.46.
>I have a page that is trying to connect to MySQL via PHP. The error is:#
>
 
When you install PHP you need to ensure that MySQL support is built
in. This is
fairly straightforward when building PHP from source, although you
may have to
tell the PHP build where your MySQL libraries are. Remember that PHP is
implemented as an Apache module or 'plug-in', make sure that when Apache
starts up, it also knows where the MySQL libraries are.[On Solaris
this means
setting LD_LIBRARY_PATH suitably.]
 
>
>Fatal error: Call to undefined function: mysql_connect() in
>/var/www/html/ww3.polkmechanical.com/test/mysql_test.php on line 8
>
>The code on line 8 is:
>
>$link = mysql_connect( "localhost", "user", "password" ) or
>die(mysql_error());
>
>I can log on through mysql at a telnet prompt with the database, user and
>password.
>
>Ty...
>
>
>............................................................................
>When governments fear the people there is liberty. When the people fear the
>government there is tyranny.
>-Thomas Jefferson, third US president, architect and author (1743-1826)
>
>
>
>
>
 
 
--
From Peter Burden, [EMAIL PROTECTED]
 
 
 
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
 
 
.
____________________________________________________
  IncrediMail - Email has finally evolved - Click Here

Reply via email to