Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I know I could ask this in a PHP or MYSQL forum, however I already have, and no one answers... so I thought I would try here amongst linux gurus as its a fairly general question/issue.
I have php 4.1.2 already installed. Its ok. I already have MySQL 4.23.49 installed and ITS ok too. Problem is, I need to install all the mysql items for 4.23.51, and I dont want to reinstall PHP because it might break ;-)
I just want to rebuild the "mysql.so" file that php uses in its library loadables directory.
How would I go about JUST building the new "mysql.so" file for php without touching the current php installation?
Simple question... I bet its not a simple answer though
As im too lazy to extract a mysql.so outa sum1 else rpm, then heres a php-mysql rpm for 3.23.51 I found: http://rpms.arvin.dk/php/rh62/i586/o...rh6.2.i586.rpm
remember u must do rpm -i php-mysql-4.1.2-9.arvin.rh6.2.i586.rpm --nodeps and rpm -e php-mysql before that
I'm just scared cause its for RH 6.2, and something called "arvin". I use RH7.3, on an i686.
I wish I knew for sure, it really didnt matter ;-)
Because either I attempt this mysql.so file, or I attempt reinstalling PHP 4.1.2 from source code, and hope I get the entire config string the same as the prior PHP 4.1.2 install was, so nothing breaks.
Crazy. Thanks for the link though ... I'm just unsure if I should attempt it. I havnt installed the mysql yet, as I am waiting till I find a path of destruction for php afterwards
Well, I temp moved the current .so file out of the way and attempted to install the rpm. Wouldn't work ... gives the general error of :
error: failed dependencies:
mod_php-OR-php-standalone = 4.1.2 is needed by php-mysql-4.1.2-9.arvin.rh6.2
So, guess that won't rightly work right if thats the type of PHP its looking for eek.
I'm just scared
See, I have this YDL2.1 box, where I tried to install its PHP from source tarball, using the EXACT same PHP ./configure line that is displayed in the phpinfo() information... and ran into a serious headache and reconfiguration, and hack-n-slash to make it all work. Finally did, but it ended up nowhere near what it was
Kinda skeptical now about that "php configure line" information in phpinfo().
AAAAA...
Ah well. Thanks anyhow! I will figure this out, maybe crawl out of my shell and show some guts and break everything in the process, heh.
I can download the src tarball for php 4.1.2, stuff it in a working directory, do all the ./configure I need, then do a "make" only. This will make all the stuff. I can then just drag out (uh, cp), the mysql.so file out of the package directory into the proper location, and ... theoretically, BAM IT SHOULD JUST WORK!
Course, I have to install the new MySQL first so the ./configure finds the mysql libraries and stuff first.
Thats my plan anyhow... =)
Otherwise, I found out I would have to recompile the source for IMAP, CURL, LDAP, etc etc etc etc so that PHP 4.1.2 will configure right with all the support for thos things we need! GAH! (system rpm installs can be a pain sometimes).
Well, that idea might work if I could get this damned RPM to install. Complains about dependancies of the old mysql 3.23.49 rpm that is installed, and no matter of "--force" makes it do anything else. I cant very well -e (erase) all the other packages that are dependant on 3.23.49!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.