Author Topic: [SOLVED] Access to phpmyadmin  (Read 4763 times)

villyano

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
  • Newbie sysadmin trying to master Zentyal...
    • View Profile
[SOLVED] Access to phpmyadmin
« on: February 05, 2013, 11:11:54 pm »
Hi, I´m trying to install and configure phpmyadmin in order to create a wiki for internal use. I have enabled the webserver module in Zentyal

I´ve installed it with sudo apt-get install phpmyadmin using the password stored in /var/lib/zentyal/conf/zentyal-mysql.passwd.

But now how can I access to phpmyadmin? I tried on http://myserver/phpmyadmin but I get a 404 error.

I,m really newbie on linux. I have used phpmyadmin before but only in webhostings.

Thanks in advance for your help,

regards.
« Last Edit: February 07, 2013, 07:50:36 am by villyano »

robb

  • Guest
Re: Access to phpmyadmin
« Reply #1 on: February 06, 2013, 10:00:20 am »
Does it work if you use http://<ipaddres-of-your-server>/phpmyadmin ?

It might be easier to use the Zentyal way: create a vhost for phpmyadmin and install phpmyadmin in the directory where the vhost is pointing to.

villyano

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
  • Newbie sysadmin trying to master Zentyal...
    • View Profile
Re: Access to phpmyadmin
« Reply #2 on: February 06, 2013, 10:12:49 am »
Hi robb, with http://<ipaddres-of-your-server>/phpmyadmin it doen´t work neither.

I will try the zentyal way and I will let you know if I suceed.

Thanks for your help.

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Access to phpmyadmin
« Reply #3 on: February 06, 2013, 11:26:19 am »
Hi villyano:

try doing a:

<pre>
sudo ln -s /usr/share/phpmyadmin /var/www/
</pre>
and giving another try to

http://<ipaddres-of-your-server>/phpmyadmin


villyano

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
  • Newbie sysadmin trying to master Zentyal...
    • View Profile
Re: Access to phpmyadmin
« Reply #4 on: February 06, 2013, 10:52:44 pm »
Thanks a lot jbahillo, it worked  ;D.

After doing that when I entered phpmyadmin the mysqli extension is missing error apeared. But I found the solution thanks to Google, apparently it is something common.

If anyone has this problem, you have to modify the file /etc/php5/apache2/php.in and add the following line:

extension=mysql.so

and then restart apache with

sudo /etc/init.d/apache2 restart

Thanks for your help, I hope I´ll be able to do the rest of the installation by myself...


christian

  • Guest
Re: Access to phpmyadmin
« Reply #5 on: February 07, 2013, 06:52:28 am »
Good
Please stamp your first post as [SOLVED]  ;)