recompile php with extensions (make clean)?

Problems with the Linux version of XAMPP, questions, comments, and anything related.

recompile php with extensions (make clean)?

Postby mad-proffessor » 17. November 2011 13:40

Hello there, respect for the great software.
I need to recompile php on xampp with the following extensions:zip, gd(gd2 is called in windows?),xml,pdo,mysql.
Can someone provide a configure command or if not do i have to run make clean first before make(The flow of commands execution anyway is: configure,make clean, make install?).
Thanks for any advice.

edit:
note that i tried downloading the pecl's zip package and then run phpize on it but no luck
mad-proffessor
 
Posts: 4
Joined: 17. November 2011 13:32
Operating System: linux

Re: recompile php with extensions (make clean)?

Postby JonB » 17. November 2011 15:38

have you bothered to check phphinfo()???

I think support is already present for most of the options you want.

As to recompiling PHP - "I" don't recommend you attempt that with XAMPP - but if you want to try - the Configure Commands used are in phpinfo(). You probably should use the 'dev' package.

XAAMMP/LAMPP is not a standard LAMP stack. Its designed to be useable 'as is'. If you want to custom configure and recomplie (IMO) you should build a standard LAMP stack, as components and configuration files will all be in the 'right places'

For linux users, we ask that they note the Distribution and version they are using in their profile, as (surprise, surprise) they all work differently.

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: recompile php with extensions (make clean)?

Postby mad-proffessor » 17. November 2011 16:03

Thanks for replying but
-of course i checked phpinfo
-running fileinfo() throws an error of an undefined variable, i am assuming therefore that has something to do with fileinfo extension.
-i am trying to use a library of classes that require zip not zlib. Searching the errors in the libraries forum are limiting the problem to the specified extension(zip)
Probably i have messed up my installation.

Anyway i 'll go for the windows binary xampp and download the missing dlls(if any).

*Oh the distro is opensuse 11.4 by the way
mad-proffessor
 
Posts: 4
Joined: 17. November 2011 13:32
Operating System: linux

Re: recompile php with extensions (make clean)?

Postby Altrea » 17. November 2011 16:55

mad-proffessor wrote:*Oh the distro is opensuse 11.4 by the way

Please edit that information in your profile
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8297
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 8 guests