Click to See Complete Forum and Search --> : Recompile PHP on a Suse preinstalled server


Frank Rizzo
03-18-2004, 07:17 AM
The server is running Suse9.0 and it was preinstalled with PHP.

I want to recompile php in order to not have so many options configured. e.g. stuff like xml, filepro, swf, ftp, qt3 are all withed or enabled.

I presume there is a preinstall script somewhere? I tried searching but can't find it.

Yast will reinstall it but it just uses the same switch options - there is no facility for enabling / disabling switches.

I guess I could remove php via yast and just install from the downloaded tar file?

BTW, is there a way of finding out exactly what switches I do need? e.g. what are

enable-trans-sid,
enable-sysvsem,
enable-mbstr-enc-trans,
enable-mbstring,
enable-mbregex

etc.

How do I know what's needed and what's not?

What does a bog standard apache / php / mysql server configure option look like?