umangjain Posted December 15, 2010 Share Posted December 15, 2010 I have a 64 bit linux machine. It already has XAMPP (32bit) installed on it. I want to add few extension to its PHP. So, I was trying to configure a PHP source code using ./configure command. I was pointing the extensions to /opt/lampp, i.e. where xampp is installed. But the problem is that, xampp is 32 bit and php configures for 64 bit (as my machines is 64 bit OS) and skips the libraries in /opt/lampp folder. Any ideas for upgrading PHP in xampp installation with new extensions on a 64-bit machine. Thanks, Umang Quote Link to comment Share on other sites More sharing options...
trq Posted December 15, 2010 Share Posted December 15, 2010 I'd start with removing xampp. There is no need for these pre-configured packages when using Linux. From there, I would install PHP and whatever extensions you want using your distro's package manager (there is also rarely any need to compile from source). Quote Link to comment Share on other sites More sharing options...
umangjain Posted December 15, 2010 Author Share Posted December 15, 2010 Thank you for your reply.. But, we need to keep the xampp installation as it is (its running lots of services which are used by people). I was thinking of reconfiguring the php on it by giving "--prefix = /opt/lampp" in "./configure" while configuring php. Any ways to do that? Thanks, Umang Quote Link to comment Share on other sites More sharing options...
umangjain Posted December 15, 2010 Author Share Posted December 15, 2010 Is it possible that: I install PHP seperately on a 64 bit RHL system which already has XAMPP installed. Then, can I point the xampp to the new PHP instance? Thanks, Umang Quote Link to comment Share on other sites More sharing options...
trq Posted December 15, 2010 Share Posted December 15, 2010 You can compile php and install it to wherever you like. Still Xampp isn't exactly production ready, I would definitely be getting rid of it. You can setup your distros maintained PHP and Apache first, and migrate quite easily. Quote Link to comment Share on other sites More sharing options...
trq Posted December 15, 2010 Share Posted December 15, 2010 Is it possible that: I install PHP seperately on a 64 bit RHL system which already has XAMPP installed. Then, can I point the xampp to the new PHP instance? Thanks, Umang yes. But I would be getting rid of Xampp's Apache as well. Quote Link to comment Share on other sites More sharing options...
umangjain Posted February 1, 2011 Author Share Posted February 1, 2011 Hi all, Thanks for your replies. If I get rid of XAMPP and reinstall everything seperately, Will I also be able to install myPhpAdmin and link it to this new installation? Thanks, Umang Quote Link to comment Share on other sites More sharing options...
trq Posted February 1, 2011 Share Posted February 1, 2011 Hi all, Thanks for your replies. If I get rid of XAMPP and reinstall everything seperately, Will I also be able to install myPhpAdmin and link it to this new installation? Thanks, Umang Of course. phpMyAdmin is simply a web application built with PHP. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.