SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Apr 2012
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Instal apache in Ubuntu 12.04

    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.

  2. #2
    SitePoint Guru Webinsane's Avatar
    Join Date
    Oct 2005
    Location
    Montenegro
    Posts
    898
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Ubuntu Server comes with Apache and all other software needed for server environment. Last time I checked
    CUBE SCRIPTS MEDIA
    REAL ESTATE SCRIPT 2.0 | Software for Real Estate Agencies

  3. #3
    SitePoint Member
    Join Date
    Apr 2012
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Webinsane View Post
    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

  4. #4
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,624
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    The instructions in the book are likely dated, have you tried apt-get?

  5. #5
    SitePoint Enthusiast vincewicks's Avatar
    Join Date
    Jan 2012
    Location
    Brooklyn, NYC
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Run the below command in terminal for installing apache,mysql,php

    apt-get install apache2 mysql-server mysql-client php5 libapache2-mod-php5
    /etc/init.d/apache2 start
    This site is the go-to place for web designs.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •