Jump to content

Configuring Php for xampp


Recommended Posts

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

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 1 month later...

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.