Re: PHP/MYSQL
| From: | Rick Seiden | Date: | Sun, 29 May 2005 02:24:01 +0000 |
| Subject: | Re: PHP/MYSQL | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-16165@lists.php.net to get a copy of this message | ||
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/MySQL-4.1/mysql-standard-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/MySQL-4.1/MySQL-shared-4.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!