mysql php

mysql php

Post by . » Thu, 10 Jan 2002 20:00:56



Totally frustrated trying to configure php and mysql on red hat 7.0

Both mysql and php work but they don't talk to each other. when I use
phpinfo in a script, the configure command shows '--without-mysql'.

Obviously, if this is the actual configure command used for the binary,  php
and mysql will not communicate in a red hat installation even if both php
and mysql are selected, because of the php binary used.

I have recompiled both php and apache following (as closely a possible) the
instructions from www.php.net.

It still doesn't work.

How can I install and configure php and mysql so they will communicate and I
can use server side scripting with php and communicate with a mysql database
on Red Hat 7?

Any help would be much appreciated. I've been trying to do this for days.

Bruce

 
 
 

mysql php

Post by Dean Thompso » Thu, 10 Jan 2002 22:42:40


Hi!,

Quote:> Totally frustrated trying to configure php and mysql on red hat 7.0

> Both mysql and php work but they don't talk to each other. when I use
> phpinfo in a script, the configure command shows '--without-mysql'.

> Obviously, if this is the actual configure command used for the binary,  
> php and mysql will not communicate in a red hat installation even if both
> php and mysql are selected, because of the php binary used.

> I have recompiled both php and apache following (as closely a possible) the
> instructions from www.php.net.

> It still doesn't work.

Before you did the recompile, did you "rpm --erase' both the mysql and PHP
stuff.  This just makes sure that there are no residual files lying around
which could be effecting your compile.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+