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.
Ubuntu Server comes with Apache and all other software needed for server environment. Last time I checked
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
The instructions in the book are likely dated, have you tried apt-get?
Run the below command in terminal for installing apache,mysql,php
apt-get install apache2 mysql-server mysql-client php5 libapache2-mod-php5
This topic is now closed. New replies are no longer allowed.