Connecting Tech Pros Worldwide Help | Site Map

PHP not recognizing MySQL

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 12:16 PM
John
Guest
 
Posts: n/a
Default PHP not recognizing MySQL

All:

I have PHP 4.2.2 and MySQL 3.23.54 running on a RH9 server. I've been
using the MySQL database for other things but have now decided to use PHP.
Currently, I can't get PHP to recognize MySQL. I noticed that there is
no mysql.so file in the /usr/lib/php4 directory.

Please let me know what I need to do in order to get this working.

Thanks!

John

  #2  
Old July 17th, 2005, 12:16 PM
Daniel Tryba
Guest
 
Posts: n/a
Default Re: PHP not recognizing MySQL

John <john_tilly@hotmail.com> wrote:[color=blue]
> I have PHP 4.2.2 and MySQL 3.23.54 running on a RH9 server. I've been
> using the MySQL database for other things but have now decided to use PHP.
> Currently, I can't get PHP to recognize MySQL. I noticed that there is
> no mysql.so file in the /usr/lib/php4 directory.
>
> Please let me know what I need to do in order to get this working.[/color]

First learn how to use you Linux machine!

Then upgrade to a supported recent version, RH9 is unsupported since a
few years back.

After that install the mysql modules, most propably named:
php-$VERSION-mysql.rpm

  #3  
Old July 17th, 2005, 12:16 PM
John
Guest
 
Posts: n/a
Default Re: PHP not recognizing MySQL

<snip>
[color=blue]
> First learn how to use you Linux machine![/color]
[color=blue][color=green]
>> Fair enough.[/color][/color]

<snip>
[color=blue]
> Then upgrade to a supported recent version, RH9 is unsupported since a
> few years back.[/color]
[color=blue][color=green]
>> Will likely do FC3 upgrade shortly. But until then...[/color][/color]

<snip>
[color=blue]
> After that install the mysql modules, most propably named:
> php-$VERSION-mysql.rpm[/color]
[color=blue][color=green]
>> Ah, the payload. I figured as much. I may even have to re-install
>> with this file included. Thanks much.[/color][/color]

John

  #4  
Old July 17th, 2005, 12:16 PM
Daniel Tryba
Guest
 
Posts: n/a
Default Re: PHP not recognizing MySQL

John <john_tilly@hotmail.com> wrote:[color=blue]
> <snip>
>[color=green]
>> After that install the mysql modules, most propably named:
>> php-$VERSION-mysql.rpm[/color]
>[color=green][color=darkred]
>>> Ah, the payload. I figured as much. I may even have to re-install
>>> with this file included. Thanks much.[/color][/color][/color]

No need to, just remember that RH9 is ancient and unsupported.

BTW please don't prepend a character used for quoting in your response.
Your reply is totally unreadable unless the reader compares it with the
original.

  #5  
Old July 17th, 2005, 12:16 PM
Steve
Guest
 
Posts: n/a
Default Re: PHP not recognizing MySQL

Daniel Tryba wrote:
[snip][color=blue]
>
> No need to, just remember that RH9 is ancient and unsupported.
>[/color]
Don't tell Godaddy that!
  #6  
Old July 17th, 2005, 12:17 PM
Tim Roberts
Guest
 
Posts: n/a
Default Re: PHP not recognizing MySQL

Steve <ThisOne@Aint.valid> wrote:
[color=blue]
>Daniel Tryba wrote:
>[snip][color=green]
>>
>> No need to, just remember that RH9 is ancient and unsupported.
>>[/color]
>Don't tell Godaddy that![/color]

Don't tell the RedHat 5.2 server in my garage that, either. It's been up
for 452 consecutive days.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
  #7  
Old July 17th, 2005, 12:18 PM
Daniel Tryba
Guest
 
Posts: n/a
Default Re: PHP not recognizing MySQL

Tim Roberts <timr@probo.com> wrote:[color=blue][color=green][color=darkred]
>>> No need to, just remember that RH9 is ancient and unsupported.
>>>[/color]
>>Don't tell Godaddy that![/color]
>
> Don't tell the RedHat 5.2 server in my garage that, either. It's been up
> for 452 consecutive days.[/color]

That's the spirit: uptime is everything, screw security :)

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.