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?
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:Fh9li.8122 $bz7.4734@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.
In our last episode,
<f732u1$e46$1@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>
how do i know if its registered? how do i register it?
"Lars Eighner" <usenet@larseig hner.comwrote in message
news:slrnf9a9qn .20en.usenet@go odwill.larseigh ner.com...
In our last episode,
<f732u1$e46$1@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>
"nobody" <nobody@nobody. comwrote in
news:f737t9$jjn $1@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:
In our last episode,
<f73d8i$pa6$1@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>
Comment