473,749 Members | 2,443 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

mysql support missing

I install rpms for php and mysql and php-mysql on rhel5. however phpinfo is
showing --without-mysql'

any idea on how i can enable mysql support?
Jul 11 '07 #1
9 2621
nobody wrote:
I install rpms for php and mysql and php-mysql on rhel5. however phpinfo is
showing --without-mysql'

any idea on how i can enable mysql support?
Sounds like php is running with the server home path set where
phpinfo.php resides. I think you need to change that in the apache
config file, forget the name httpconf? Am I understanding your question?

--
Paul Furman Photography
http://www.edgehill.net/1
Bay Natives Nursery
http://www.baynatives.com
Jul 11 '07 #2
Paul Furman wrote:
nobody wrote:
>I install rpms for php and mysql and php-mysql on rhel5. however
phpinfo is showing --without-mysql'

any idea on how i can enable mysql support?


Sounds like php is running with the server home path set where
phpinfo.php resides.
Nevermind, I don't think phpinfo requires mysql at all.
Jul 11 '07 #3
But in the phpinfo.php page,

it shows '--without-mysql' '--without-gd' '--without-odbc' '
how do I change that to with-mysql?

it has no support for mysql right now

"Paul Furman" <paul-@-edgehill.netwro te in message
news:Fh******** *********@newss vr22.news.prodi gy.net...
Paul Furman wrote:
>nobody wrote:
>>I install rpms for php and mysql and php-mysql on rhel5. however phpinfo
is showing --without-mysql'

any idea on how i can enable mysql support?


Sounds like php is running with the server home path set where
phpinfo.php resides.

Nevermind, I don't think phpinfo requires mysql at all.

Jul 11 '07 #4
In our last episode,
<f7**********@n ews.Stanford.ED U>,
the lovely and talented nobody
broadcast on comp.lang.php:
I install rpms for php and mysql and php-mysql on rhel5. however phpinfo is
showing --without-mysql'
any idea on how i can enable mysql support?
did the mysql module get registered in extensions.ini? Several installation
tools get something wrong with extensions.ini although it often is multiply
registering something which can give some ugly "already loaded" messages
when nothing really is wrong. If you have mysql.so (and it is the php
module from your most recent install) feel free to register it yourself.
Study the locate output carefully because some other applications have
mysql.so of their own. It should be clear which one belongs to php.
--
Lars Eighner <http://larseighner.com/ <http://myspace.com/larseighner>
Countdown: 558 days to go.
Friends of Lizbeth: help replace failed a/c at Austin's no-kill shelter
<https://secure.groundsp ring.org/dn/index.php?aid=1 2349>
Jul 11 '07 #5
I have mysql.so

its located in /usr/lib64/php/modules/mysql.so

how do i know if its registered? how do i register it?
"Lars Eighner" <us****@larseig hner.comwrote in message
news:sl******** ************@go odwill.larseigh ner.com...
In our last episode,
<f7**********@n ews.Stanford.ED U>,
the lovely and talented nobody
broadcast on comp.lang.php:
>I install rpms for php and mysql and php-mysql on rhel5. however phpinfo
is
showing --without-mysql'
>any idea on how i can enable mysql support?

did the mysql module get registered in extensions.ini? Several
installation
tools get something wrong with extensions.ini although it often is
multiply
registering something which can give some ugly "already loaded" messages
when nothing really is wrong. If you have mysql.so (and it is the php
module from your most recent install) feel free to register it yourself.
Study the locate output carefully because some other applications have
mysql.so of their own. It should be clear which one belongs to php.
--
Lars Eighner <http://larseighner.com/>
<http://myspace.com/larseighner>
Countdown: 558 days to go.
Friends of Lizbeth: help replace failed a/c at Austin's no-kill shelter
<https://secure.groundsp ring.org/dn/index.php?aid=1 2349>

Jul 11 '07 #6
nobody wrote:
I have mysql.so
how do i know if its registered? how do i register it?
You should have something like
extension=mysql .so
in your php.ini. phpinfo() will tell you where php.ini is located.

Sjoerd
Jul 11 '07 #7
"nobody" <no****@nobody. comwrote in
news:f7******** **@news.Stanfor d.EDU:
But in the phpinfo.php page,

it shows '--without-mysql' '--without-gd' '--without-odbc' '
how do I change that to with-mysql?

it has no support for mysql right now
i'm pretty sure you have to rebuild/recompile (shoot me, i don't know the
right word) it manually... or whatever this step is:

../configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --disable-
debug --enable-ftp --enable-inline-optimization --enable-magic-quotes --
enable-mbstring --enable-mm=shared --enable-safe-mode --enable-track-vars
--enable-trans-sid --enable-wddx=shared --enable-xml --with-dom --with-
gettext --with-mysql=/usr/local/mysql --with-regex=system --with-xml --
with-zlib-dir=/usr/lib --enable-bcmath --enable-calendar --with-config-
file-path=/usr/local/lib --with-jpg-dir=/usr/local/lib --with-png-
dir=/usr/local/libpng-1.2.12 --with-gd

.... followed with make and make install

Jul 11 '07 #8
nobody wrote:
I have mysql.so

its located in /usr/lib64/php/modules/mysql.so

how do i know if its registered? how do i register it?
May be dl('mysql.so') will help you if enabled.
See http://www.php.net/dl for details.
Jul 11 '07 #9
In our last episode,
<f7**********@n ews.Stanford.ED U>,
the lovely and talented nobody
broadcast on comp.lang.php:
I have mysql.so
its located in /usr/lib64/php/modules/mysql.so
how do i know if its registered? how do i register it?
if you have a file called extensions.ini -- I'm guess you do if you are
running linux simply add the line
extension=mysql .so
to it. Look at the file, and just make another line like the ones already
in it. This is where php looks to find what modules to load, but it is just
a flat text file. As I mentioned, you can go to this file and remove lines
that are exact duplicates if you ever find "<so-and-soalready loaded"
messages when you fire up php.
--
Lars Eighner <http://larseighner.com/ <http://myspace.com/larseighner>
Countdown: 558 days to go.
Friends of Lizbeth: help replace failed a/c at Austin's no-kill shelter
<https://secure.groundsp ring.org/dn/index.php?aid=1 2349>
Jul 12 '07 #10

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

Similar topics

15
2099
by: B. Pigman | last post by:
There have been many questions as to the viability of MySQL's assertion that it can dictate what constitutes a derived work in order to use the GPL against developers who don't wish their software GPL'd and force them to pay for a commercial license. According to the lawyers I've consulted, based on the letter of the GPL, here is the conclusion: Commercial users of MySQL opting for the GPL'd version are not compelled to release their...
0
3946
by: Mike Chirico | last post by:
Interesting Things to Know about MySQL Mike Chirico (mchirico@users.sourceforge.net) Copyright (GPU Free Documentation License) 2004 Last Updated: Mon Jun 7 10:37:28 EDT 2004 The latest version of this document can be found at: http://prdownloads.sourceforge.net/souptonuts/README_mysql.txt?download
133
9087
by: jonathan | last post by:
hey all, I realize that this question might pop up from time to time, but I haven't seen it a while and things might of changed, so - Right now (July 2004) how does mysql stand up in comparison to oracle? We are seriously considering migrating our multi-processor oracle system to mysql to save on licensing costs, and would need several features that mysql may or may not have:
29
2583
by: smorrey | last post by:
I've been thinking on this long and hard, and I can't seem to come up with an answer on it. Why is it almost always assumed the MySQL will be the server for nearly any PHP app? Why is it MySQL and not PostGRES or SQLite? At this point the only reason I can think of is that MySQL has a much more friendly name. But is that really it?
175
11492
by: Sai Hertz And Control Systems | last post by:
Dear all, Their was a huge rore about MySQL recently for something in java functions now theirs one more http://www.mysql.com/doc/en/News-5.0.x.html Does this concern anyone. What I think is PostgreSQL would have less USP's (Uniqe Selling Points
39
8425
by: Mairhtin O'Feannag | last post by:
Hello, I have a client (customer) who asked the question : "Why would I buy and use UDB, when MySql is free?" I had to say I was stunned. I have no experience with MySql, so I was left sort of stammering and sputtering, and managed to pull out something I heard a couple of years back - that there was no real transaction safety in MySql. In flight transactions could be lost.
2
2250
by: Ian Baker | last post by:
We have developed an Access/Jet database (2000, XP & 2003 versions) that has been used by clients all around the world for several years and is extremely robust with 55 tables, 172 hard stored queries (plus about the same in VBA SQL code), 60 forms and about 18,000 lines of code. The biggest advantage with Access is that it doesn't cost the client anything for if they don't have Access already then we provide the Runtime version which makes...
3
2684
by: John Smith | last post by:
Can someone please help me build php with mysql support on CentOS. Have installed MySql and that works okay. I have downloaded the latest version of php and tried to build it but I keep getting errors about missing function mysql_connect(). This appears to be caused by not having extensions=mysql in the php.ini file. However when I build php it does not make a mysql.so file, where does this come from? I have tried using the configure...
12
1810
by: howa | last post by:
any side effect for PHP? what do you think?
0
8832
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
9388
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9254
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
6800
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
6078
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4608
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3319
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
2217
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.