Compiling PHP from source

2 posts / 0 new
Last post
#1 Thu, 02/18/2010 - 12:08
pixel_paul
pixel_paul's picture

Compiling PHP from source

I've been looking into compiling PHP from source and was wondering if there are any specific ./configure switches that are needed in order to run in line with Virtualmin.

Cheers,

Paul

Thu, 02/18/2010 - 12:15
andreychek

Howdy,

I might suggest taking a look at how CentOS, Debian, or Ubuntu (depending on your distro) compile them, based on the source files for the packages in those distributions.

Largely, it's going to come down to just making sure you compile in the features that you're using. Virtualmin doesn't use PHP, it just makes it available to your domains.

That said -- if your server is currently setup to use, say, FCGID, and you don't enable FCGID when you compile PHP, that'll cause trouble :-)

-Eric

Topic locked