tompat — 2013-05-17T07:28:28-04:00 — #1
In Kevin Yanks book PHP & MySQL Novice to Ninja he has step by step instructions for loading Apache. I have followed them and when I get to the compile part it says No APR. I went to apache http://httpd.apache.org/docs/2.4/install.html and read the compiling & installing page.
"APR and APR-UtilMake sure you have APR and APR-Util already installed on your system. If you don't, or prefer to not use the system-provided versions, download the latest versions of both APR and APR-Util from Apache APR, unpack them into ./srclib/apr and ./srclib/apr-util (be sure the domain names do not have version numbers; for example, the APR distribution must be under ./srclib/apr/) and use ./configure's --with-included-apr option. On some platforms, you may have to install the corresponding -dev packages to allow httpd to build against your installed copy of APR and APR-Util."
I am assuming I have to have those installed first then apache2, and what is the easiest way? I have the tar.gz's but cant seem to get them installed.
Any help would be appreciated.
webinsane — 2013-05-17T08:09:17-04:00 — #2
Ubuntu Server comes with Apache and all other software needed for server environment. Last time I checked
tompat — 2013-05-17T09:11:13-04:00 — #3
Yes it does, but it does not have httpd.conf and I can' get PHP to work with it, when I loaded LAMP. I'm sorry for the quote it only offered reply with quote
wwb_99 — 2013-05-17T15:05:28-04:00 — #4
The instructions in the book are likely dated, have you tried apt-get?
vincewicks — 2013-05-20T07:58:57-04:00 — #5
Run the below command in terminal for installing apache,mysql,php
apt-get install apache2 mysql-server mysql-client php5 libapache2-mod-php5