Ubuntu 8.04 LTS (Hardy Heron) Apache-PHP-MySQL Server
Once again, here's my updated simple installation of Apache, PHP and MySQL in Ubuntu 8.04 LTS (Hardy Heron) Server.
- Install SSH Client and Server (for my remote access)
sudo apt-get install ssh
- Install Database Server
sudo apt-get install mysql-server-5.0
- Install Apache HTTP Server
sudo apt-get install apache2
- Install PHP5 and Apache PHP5 module
sudo apt-get install php5 libapache2-mod-php5
- Restart Apache
sudo /etc/init.d/apache2 restart
- Optionally, install phpMyAdmin
sudo apt-get install phpmyadmin
Note: Updated version here.
- Tag:
- Add new comment
- 34388 reads
Comments
uninstall?
how to uninstall this?
its not working for me and i want to uninstall and try some other way to install apache php and mysql..
thank you
How to uninstall this
hi,
just execute the following commands to uninstall this:
sudo apt-get remove mysql-server-5.0 mysql-commons apache2 php5 libapache2-mod-php5
sudo apt-get autoremove
please note, that the files of the applications won`t get completely removed, so please find (find . | grep ) & delete them...
php fails
-->connect:
Fatal error: Call to undefined function mysql_connect() in /var/www/mysqltest1.php on line 5
wtf ? mysql server is fine (I can anything from the command line) the phpinfo() function works fine. Apache looks fine. Can anyone PLEASE help. Pounding my brain for way to long on this one. Followed many many links and still get this. Honestly how can an install be this wacked ? gfdi HELP !!
Thanks and sorry for my frustration.
Try to follow the new guide:
Try to follow the new guide: http://www.strdoc.net/ubuntu-apache-php-mysql-server-810-intrepid if you are using Intrepid (8.10).
I just installed a fresh home desktop server and follow that guide and it works like charm.
Very good and simple guide.
Thanks to this site.
Is this a fresh
Is this a fresh install?
Please contact me (http://www.strdoc.net/contact) if the problem still persist.
I'm sure I can help you.
Quite a simple set of
Quite a simple set of instructions.
Thank you.
-A-
very easy to understand.
thank you!
Starting phpmyadmin
After following the install instructions I finally got my LAMP up and running on Hardy.
( Great tutorial, Thanks !!! )
My problem now is that after installing phpmyadmin I try to run it (using Firefox) and get the message phpmyadmin cannot be found on the server. Does a phpmyadmin.php file need to be moved to the /usr/www directory?
Thanks for any help.
Just simply go to
Just simply go to
http://localhost/phpmyadmin or http://YourLAMPServerIPAddress/phpmyadminCheers!
phpMyadmin create a new database
I can't create a new data base width phpMyadmin. The link on the page http://127.0.0.1/phpmyadmin/index.php is inactive. this is the
"Create new database: No Privileges"
what can i do?
thanks
Solved
Hi there,
I had the same issue, you have to log in as root.
Good luck.
Installation of phpmyadmin
Installation of phpmyadmin not working :(... Ubuntu says E: Operacion invalida: phpmyadmin... Tried also with phpMyAdmin but same error...
Someone could helpme in an easy way of installing phpmyadmin?
Problem Solved... after
Problem Solved... after looking for phpmyadmin in Synaptic I tried again at terminal and It worked. Thank you very good tutorial!
Great thanks
By reading your article I just found what I did wrong with my Apache - PHP - MySQL installation =D
I didn't restarted Apache, so PHP wasn't active xD
Thanks again ;)
Thank you
Thank you for this LAMP on Hardy post.
i cant go into phpmyadmin interface
your help please
i have installed LAMP as instructed above but i cant go into phpmyadmin interface so i can start creating database,
i have tested apache is running when i type http://127.0.0.1 it report that It works!
through terminal i have tested mysql i found it is working but i don't find where i can start phpmyadmin
help me please.
Accessed by
Accessed by -
http://localhost/phpmyadmin/
localhost is equivalent to 127.0.0.1
thanks
simple, efficient.
thanks for simple info on basic setup.
Thanks for this
Thanks for this