I am learning how to install Apache, MySQL and PHP5 on Linux.
Tutorials on the web each seem to go separate ways:
- One way is to install using RPMs.
- Another is to install using configure/make/make install.
Can someone give me some orientation on the best way to install LAMP, for example:
1. In Windows it is easy: I simply copy the PHP5 files into a directory and uncomment:
;extension=php_xsl.dll
in order to turn XSLT support on.
In Linux, it seems I either have to get an RPM that happens to have xslt preconfigured or else I have to compile apache and php with "--with-dom-xslt=shared" so that I have the support, and compiling takes a LONG time.
What is the equivalent of installing and configuring PHP5 on Linux so you can do it in a matter of minutes like on Windows instead of a round about an hour by compiling it (just to configure for PHP has been running for over 40 minutes now and THEN I have to do a MAKE and MAKE INSTALL, it could take all day).
Or is there a way to install with an RPM and then tweak PHP to include things such as xslt, sqlite, gd, mysql, etc. ?
For instance, I could use these instructions:
http://shimon.phpwebhosting.com/howt...p/installphp5/
but compiling all that stuff would probabaly take a day.
And can anyone tell me why this command to compile PHP is taking over 50 minutes now (on a wmware machine), is there a --doitfast=yes parameter that I am missing?
./configure --prefix=/usr/local --with-mysql
Thanks,
Any orientation on the approach to installing and configuring LAMP within an hour would be appreciated.