Jump to content

PHP MYSQL

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
7 replies to this topic

#1
VakhoQ

VakhoQ

    Programmer

  • Members
  • PipPipPipPip
  • 126 posts
Hello, how are you?
I have Ubuntu 10.04 linux . I have just Installed Apache Server with PHP and MYSQL and i have some problems:

I Install Server so:
sudo apt-get install apache2

sudo apt-get install php5 libapache2-mod-php5

sudo /etc/init.d/apache2 restart
PHP server works. localhost folder is /var/www/ Everything is allright

now I wont MYSQL Server and PHPMYADMIN:

sudo apt-get install mysql-server mysql-client

sudo apt-get install phpmyadmin

sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin

sudo /etc/init.d/mysql restart

Now i wont to open phpmyadmin and how can I do that?
There is nothing:
[I]http://localhost/phpmyadmin/[/I]
The requested URL /phpmyadmin/ was not found on this server.

Edited by VakhoQ, 10 October 2010 - 02:34 AM.
PHPMYADMIN PROBLEM


#2
VakhoQ

VakhoQ

    Programmer

  • Members
  • PipPipPipPip
  • 126 posts
How can i open phpmyadmin? thanks a lot! :)

#3
VakhoQ

VakhoQ

    Programmer

  • Members
  • PipPipPipPip
  • 126 posts
I have already found information. please close the topic.

Ubuntu LAMP Server Guide – Configure Apache, mySQL, and cgi-bin : Zaphu




You will have to insert the Ubuntu install CD to complete this installation. During the installation the script will ask which version of Apache to automatically configure. If you installed apache as per this previous post then select apache2 (with space bar) and continue. After the install completes, the phpMyAdmin script should be in the /usr/share/directory and (after restarting Apache; see above) it should resolve in your browser when you type localhost/phpmyadmin (or xxx.xxx.xxx.xxx/phpmyadmin). If it doesn’t, you must add the following alias and include to the bottom of the apache configuration file apache2.conf in /etc/apache2/.
Include /etc/phpmyadmin/apache.conf
Alias /phpmyadmin /usr/share/phpmyadmin


#4
DEViANT

DEViANT

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 358 posts
Sorry for my late response, just a side note :

The easiest way to install a LAMP environment on your machine :

> sudo apt-get install  lamp-server^

Remember to include the ^ or it won't work. It'll install and configure everything for you :)

:D You should rep+ me so that I can win :D

My Blog | Ask me!
Error : Satan did it

#5
isuru

isuru

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 233 posts
I tried installing lamp server.

But I can't log in to phpMyAdmin phpMyAdmin

How did you do that? I am using same OS version.
Lost!

#6
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
@isuru, I would need more details for that to diagnose your problem. By default phpmyadmin should be username admin with no password. You can access it through http://127.0.0.1/phpmyadmin/
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#7
DEViANT

DEViANT

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 358 posts
To set up under Apache all you need to do is include the following line in /etc/apache2/apache2.conf.

Quote

Include /etc/phpmyadmin/apache.conf

:D You should rep+ me so that I can win :D

My Blog | Ask me!
Error : Satan did it

#8
isuru

isuru

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 233 posts

Nullw0rm said:

@isuru, I would need more details for that to diagnose your problem. By default phpmyadmin should be username admin with no password. You can access it through phpMyAdmin

Well! To be honest I am new to Ubuntu. And my server starts on startup. And I installed phpMyAdmin but when I go to localhost/phpmyadmin I get broken link page(404).
Lost!