For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > May 2005 > PHP/MYSQL









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author PHP/MYSQL
Rick Seiden

2005-05-28, 8:56 pm

I'm sure this has been asked and answered, but I'll be darned if I can find
it.

Here's my situation.

Fedora Core 3. Linux novice. Not newbie, but not expert, either.
Apache version from phpinfo() shows Apache/2.0.54 (Unix) PHP/5.0.4
Configure Command from phpinfo() shows './configure'
'--with-apxs2=/urs/local/apache2/bin/apxs' '--with-mysql=/usr/local/mysql'
When I log into mysql in a terminal window, it shows that it is version
4.1.12-standard

I installed apache from source (I don't like the install that comes with
Fedora), and php from source. I installed the binary version of mysql
(http://dev.mysql.com/get/Downloads/...4.1.12-pc-linux
-gnu-i686.tar.gz/from/pick), as well as the Dynamic client libraries RPM
(http://dev.mysql.com/get/Downloads/...1.12-1.i386.rpm
/from/pick).

No matter what combination of configure commands I use (I've done
just --with-apxs2, just --with-mysql, both of them, make clean and then do
it all over again, and so on....), I can't seem to get php to generate
mysql.so. I know it came with 4.x, but it doesn't with 5.x I've done find
/ -name mysql.so, and it's just not there.

Can someone please show me the errors of my ways, provide a manual that I
didn't read, tell me it's a bug, and not my fault, or anything to keep me
from ripping my hair out and going back to my windows installation of
PHP/MYSQL/APACHE (which, btw, took me less than an hour to get running---why
does Linux take soooo much longer to get working!!!!)

Thank you a ton!
Rick Seiden

2005-05-29, 3:57 am

Thanks goes out to Michael W. who asked the obvious question: "Have you
tried to see if mysql is working?" Well, I hadn't. I just assumed since I
didn't see the mysql section of the phpinfo output, that it wouldn't. When
I installed phpmyadmin, it worked beautifully. When I reloaded my phpinfo
page, it displayed the mysql section.

Go figure!


""Rick Seiden"" <rick@seidenmail.com> wrote in message
news:B0.4A.02217.946E8924@pb1.pair.com...
> I'm sure this has been asked and answered, but I'll be darned if I can

find
> it.
>
> Here's my situation.
>
> Fedora Core 3. Linux novice. Not newbie, but not expert, either.
> apache version from phpinfo() shows Apache/2.0.54 (Unix) PHP/5.0.4
> Configure Command from phpinfo() shows './configure'
> '--with-apxs2=/urs/local/apache2/bin/apxs' '--with-mysql=/usr/local/mysql'
> When I log into mysql in a terminal window, it shows that it is version
> 4.1.12-standard
>
> I installed apache from source (I don't like the install that comes with
> Fedora), and php from source. I installed the binary version of mysql
>

(http://dev.mysql.com/get/Downloads/...4.1.12-pc-linux
> -gnu-i686.tar.gz/from/pick), as well as the Dynamic client libraries RPM
>

(http://dev.mysql.com/get/Downloads/...1.12-1.i386.rpm
> /from/pick).
>
> No matter what combination of configure commands I use (I've done
> just --with-apxs2, just --with-mysql, both of them, make clean and then do
> it all over again, and so on....), I can't seem to get php to generate
> mysql.so. I know it came with 4.x, but it doesn't with 5.x I've done

find
> / -name mysql.so, and it's just not there.
>
> Can someone please show me the errors of my ways, provide a manual that I
> didn't read, tell me it's a bug, and not my fault, or anything to keep me
> from ripping my hair out and going back to my windows installation of
> PHP/MYSQL/APACHE (which, btw, took me less than an hour to get

running---why
> does Linux take soooo much longer to get working!!!!)
>
> Thank you a ton!

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com