Hi,
try to use phpinfo()... it will list all php configuration and support
modules.
-Original Message-
From: Sameer Maggon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 4:37 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Apache + php + MYSQL
Hi,
How do i
Hi,
How do i check whether PHP has MYsql support built or not
Please help
Sameer
--
you wrote:
On Tuesday 21 May 2002 09:51, Robert Vetter wrote:
> On Tuesday 21 May 2002 10:38, Sameer Maggon wrote:
> in /var/www/html/rcmms/appl.php on line 5
>
> Hello,
>
> 1. make shure the PHP module is
Jay Blanchard wrote:
> [snip all kinds of stuff]
>$query = "SELECT * FROM appl";
> $connection = mysql_connect("linuxsrv", "sameer", "sameer");
> mysql_select_db("rcmms", $connection);
> $result = mysql_query($query, $connection);
> ?>
> I says that mysql_connect
>
> Fatal error: Call
[snip all kinds of stuff]
I says that mysql_connect
Fatal error: Call to undefined function: mysql_connect()
in /var/www/html/rcmms/appl.php on line 5
[/snip]
Try...
Connections first, database selections next, then queries and results. If
you get an "undefined function" now there is no MyS
On Tuesday 21 May 2002 09:51, Robert Vetter wrote:
> On Tuesday 21 May 2002 10:38, Sameer Maggon wrote:
> in /var/www/html/rcmms/appl.php on line 5
>
> Hello,
>
> 1. make shure the PHP module is compiled into Apache, or runs as CGI.
rubbish, sorry. Make shure PHP is compiled with MySQL support.
On Tuesday 21 May 2002 10:38, Sameer Maggon wrote:
> Hi,
> I have my Database in MYSQL and wanna use PHP on Apache
> At the starting of the page I have given
>
>$query = "SELECT * FROM appl";
>
> // Establish a connection to the MySQL DBMS
> $connection = mysql_connect("linuxsrv", "sam
In my case they appear to be left open indefinitely, until Apache is
restarted. This is not what's supposed to happen, of course. I
haven't tried tuning low_idle (I think that's what it's called, from
the mysql_connect() doc at php.net). I probably should try that as
well. I'm sure persis
At 9:35 AM -0700 5/3/01, Scott Baker wrote:
>That's very odd... Technically pconnect should be a lot faster, not
>sure exactly why it's not. The other thing you might want to look
>at is the MySQL idle timeout (or something like that). That's how
>long your pconnects stay connected if they d
That's very odd... Technically pconnect should be a lot faster, not sure
exactly why it's not. The other thing you might want to look at is the
MySQL idle timeout (or something like that). That's how long your
pconnects stay connected if they don't transfer any traffic. I think it
defaults
Thanks for the reply!, Scott! I considered changing the number of
allowed connections but I figured this would just defer the problem,
as the root problem was the increasing number of connections.
Last night I went through the entire website looking for code that
used mysql_pconnect() in PHP,
You can look into increasing the number of allowed connections that MySQL
will accept... are you using connect or pconnect?
At 04:23 PM 5/3/2001 -0700, Gary Bickford wrote:
>Repost - nobody has any ideas? I've run some stress tests, sending
>several thousand page requests, and the number of mys
Repost - nobody has any ideas? I've run some stress tests, sending
several thousand page requests, and the number of mysql processes
goes up and down but over time continues to rise. It's up to about
22 now. When it gets to about 30, every request from the web server
will be will fail.
Cou
12 matches
Mail list logo