[GLLUG] LAMP

Thomas Hruska thruska at cubiclesoft.com
Tue Sep 11 16:08:52 EDT 2007


Ex Fed wrote:
> I'd like to build the latest APache, MYSQL and PHP 5.23.
>  
> Does anybody out there have a generic guide on how to do that?  Or know of one on the web?
>  
> I had problems with the configure command for PHP.   PHP does not come prebuilt with MYSQL support any more, so better late then never to build it myself.  
>  
>  
> LD

To build MySQL support into PHP requires MySQL to have been previously 
compiled.  To build PHP support into Apache requires PHP to have been 
previously compiled.  So your build order should be:

MySQL
PHP
Apache

There should be configuration options you can set to enable MySQL in PHP 
and the PHP module in Apache.

I've built all three under Windows and, well, it is really hard (not to 
mention, consumed a ton of hard drive space).  Linux will be *MUCH* 
simpler to compile those under (they are native to that environment anyway).


I know someone who re-built everything (from the Linux kernel to all 
their applications) once to optimize performance for their hardware.  It 
took about 4 days of non-stop compiling and linking.  They did notice a 
speed improvement but I don't know if it was worth being without a 
computer for four days.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/



More information about the linux-user mailing list