473,800 Members | 2,380 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Jul 17 '05 #1
6 1497
John <jo********@hot mail.com> wrote:
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.


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

Jul 17 '05 #2
<snip>
First learn how to use you Linux machine!
Fair enough.
<snip>
Then upgrade to a supported recent version, RH9 is unsupported since a
few years back. Will likely do FC3 upgrade shortly. But until then...
<snip>
After that install the mysql modules, most propably named:
php-$VERSION-mysql.rpm

Ah, the payload. I figured as much. I may even have to re-install
with this file included. Thanks much.


John

Jul 17 '05 #3
John <jo********@hot mail.com> wrote:
<snip>
After that install the mysql modules, most propably named:
php-$VERSION-mysql.rpm

Ah, the payload. I figured as much. I may even have to re-install
with this file included. Thanks much.


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.

Jul 17 '05 #4
Daniel Tryba wrote:
[snip]

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

Don't tell Godaddy that!
Jul 17 '05 #5
Steve <Th*****@Aint.v alid> wrote:
Daniel Tryba wrote:
[snip]

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

Don't tell Godaddy that!


Don't tell the RedHat 5.2 server in my garage that, either. It's been up
for 452 consecutive days.
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Jul 17 '05 #6
Tim Roberts <ti**@probo.com > wrote:
No need to, just remember that RH9 is ancient and unsupported.

Don't tell Godaddy that!


Don't tell the RedHat 5.2 server in my garage that, either. It's been up
for 452 consecutive days.


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

Jul 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2012
by: Dale Anderson | last post by:
I have a schema that I'm trying to read. The schema has an element named 'GrantApplication' and one with a namespace prefix named 'SF424:GrantApplication'. When I try to read this schema in, I get an exception saying 'A datatable named 'GrantApplication' alread belongs to this dataset'. Why is dotnet not recognizing the namespace prefix and treating these like two separate elements? Thanks for your help.
0
1382
by: Feldman Alex | last post by:
Hello friends. Do anyone know wich C# api's should i use for recognizing removable/network drives? Example : I need to know when cd inserted to CD drive Thank a lot Alex
5
1803
by: Marc Violette | last post by:
<Reply-To: veejunk@sympatico.ca> Hello, I'm hoping someone can help me out here... I'm a beginner ASP.NET developper, and am trying to follow a series of exercises in the book entitled "Microsoft ASP.NET Step By Step" by Microsoft Press. When I try to display *any* ASP.NET page with a Sub() somewhere, I get the following error:
0
977
by: Glenn Venzke | last post by:
I'm using a ColdFusion app to consume a .NET webservice with 3 methods and I'm running into a problem. The first time I added a web reference & compiled the service (with VS.NET standard edition 2003), I had only 2 methods - both of which worked fine when calling from the CF client. But then I added a third method, updated the web reference and rebuilt the solution. Although I could invoke all three methods directly from the web browser,...
5
2787
by: solitary.wanderer52 | last post by:
I am running PHP5 under Linux. Just a newbie and would like to have it integrated with MySQL. When I execute phpinfo() in a webpage, I see tons of info on php, but nothing on MySQL. Perhaps this is because I installed MySQL after I installed PHP. Is there a way to get PHP to recognize MySQL? Thanks, Steve
5
2335
by: solitary.wanderer52 | last post by:
I just finished installing PHP5 on Linux (Debian/Ubuntu/Mepis)/Apache2 using Synaptic. I have tried creating simple html pages, placing them in /var/www and pointing the browser at http://127.0.0.1/(those pages) and they are displayed correctly. I have created a basic PHP page (abc.php) and it looks like: <? phpinfo(); ?>
1
1477
by: thecoolone | last post by:
I am trying to loop through a mysql result array with the following code: while($count = mysql_fetch_assoc($result)) { $var1=array(); $var1=$count; $var2=array_slice($var1, 5, -1); print_r("$var2"); print "<br>";
15
1824
by: John Gonsalves | last post by:
I'm experiencing problems related to IIS/ASP.NET not recognizing writes to web.config that my web application performs. Specifically I have a web application that provides an interface allowing authenticated domain users to be written to the "authorization" section of the web.config file. Since i'm using Integrated Windows Authentication, these users should then be able to issue the various HTTP POSTS to the web application. However what...
1
1475
by: thulaseeram | last post by:
hi, i am using the following code for uploading <div id="iframe" name="iframe" style="width:850px; height:120px;"> <iframe name="attach_frame" id="attach_frame" src="http://100.100.100.233/storyclix/upload.php" style="width:850px; height:120px;" frameborder="0"></iframe> </div> <div class="form-item" name="_Confirm_buttons" id="_Confirm_buttons"> <input type="button" value="Add media" class="form-submit"...
0
9690
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10505
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10253
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10033
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7576
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.