Close

Step 6: Installing Apache and PHP

A project log for Linux Tutorial: Odroid U3 Server w/ Seafile Cloud

I posting this to give a feel for the Odroid U3. There is a forum but not a lot of documentation out there.

tlankford01tlankford01 08/06/2014 at 02:190 Comments

We already have a linux and mysql installed on the Odroid. We need two more pieces to make the LAMP Server complete. The A and the P stand for Apache and Perl, PHP, Python.

We have made a few changes so we want to run the command:

sudo apt-get update

sudo apt-get upgrade

answer y when prompted.

Install Apache and PHP:

sudo apt-get install apache2 php5 libapache2-mod-php5

answer y when prompted

we need to enable the htaccess type:

sudo nano /etc/apache2/apache2.conf

under htaccess change Require all denied to Require all granted

restart apache with the command:

sudo service apache2 restart

we need to change one more file:

sudo nano /var/www/html/info.php

then type this in the file:

<?php

phpinfo();

?>

Now we are able to check both the apache and php servers. In your browser type the following URL's

http://your ip

you should see the apache start page or a page that says it works but there is not content next you can type: http://yourip/info.php

you should be able to see the php information page

Discussions