Page 1 of 1

recompile php with extensions (make clean)?

PostPosted: 17. November 2011 13:40
by mad-proffessor
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

Re: recompile php with extensions (make clean)?

PostPosted: 17. November 2011 15:38
by JonB
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)

Re: recompile php with extensions (make clean)?

PostPosted: 17. November 2011 16:03
by mad-proffessor
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

Re: recompile php with extensions (make clean)?

PostPosted: 17. November 2011 16:55
by Altrea
mad-proffessor wrote:*Oh the distro is opensuse 11.4 by the way

Please edit that information in your profile