c77d Problem install phpMyAdmin apache 22 FreeBSD 8.0 (What happen with the new versions) - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Web & Network Services

Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old December 7th, 2010, 08:47
manyblue's Avatar
manyblue manyblue is offline
Junior Member
 
Join Date: Nov 2010
Location: Santa Cruz de La Palma - Canary Islands - Spain
Posts: 38
Thanks: 1
Thanked 0 Times in 0 Posts
Default Problem install phpMyAdmin apache 22 FreeBSD 8.0 (What happen with the new versions)

I just installed phpmyadmin.

Now I need to configure httpd.conf and config.inc.php

At the end of the installation of phpmyadmin monitor reads me

you must configure httpd.conf as follows

Code:
# Vi /usr/local/etc/apache22/httpd.conf
and add

Code:
Alias /phpmyadmin/usr/local/www/phpMyAdmin
<Directory "/usr/local/www/phpMyAdmin">
Options none
AllowOverride Limit
Order Deny, Allow
Allow from 127.0.0.1 .Example.com
</Directory>
Then I have to configure

Code:
# Vi /usr/local/www/phpMyAdmin/config.inc.php
and here I do not know what I must add manually, I have seen

Code:
>$Cfg['Servers'][$i]['user'] = 'root';
$Cfg['Servers'][$i]['password'] = 'your password';
I've tried it and does not work, also see that

Code:
# Cd /usr/local/www/apache22/data/phpmyadmin
does not exist.

Now I have several questions

1) in

Code:
# Vi /usr/local/etc/apache22/httpd.conf
Code:
Alias /phpmyadmin/usr/local/www/phpMyAdmin
should not be

Code:
Alias "/phpmyadmin/usr/local/www/phpMyAdmin"
2) in

Code:
# Vi /usr/local/www/phpMyAdmin/config.inc.php
Code:
>$Cfg['Servers'][$i]['user'] = 'root';
$Cfg['Servers'][$i]['password'] = 'your password';
should not be

Code:
$Cfg['Servers'][$i]['user'] = 'root';
$Cfg['Servers'][$i]['password'] = 'your password';
and variable

Code:
$i
should not be equal to [1] or

Code:
$i = 0;
$i++;
3) in

Code:
<Directory "/usr/local/www/phpMyAdmin">
Options none
AllowOverride Limit
Order Deny, Allow
Allow from 127.0.0.1 .Example.com
</Directory>
the line

Code:
Allow from 127.0.0.1 .Example.com
should not be

Code:
Allow from 127.0.0.1 .example.com

I need help please and thank you very much for paying attention to me ofcourse

Beesatmsu are you for there ???

kind regars

Last edited by DutchDaemon; December 7th, 2010 at 19:19.
Reply With Quote
  #2  
Old December 7th, 2010, 11:39
manyblue's Avatar
manyblue manyblue is offline
Junior Member
 
Join Date: Nov 2010
Location: Santa Cruz de La Palma - Canary Islands - Spain
Posts: 38
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I have looked out there?


1).Copy the configuration file that provides default "config.sample.inc.php" like "config.inc.php".
2).Edit it and put the values for your MySQL

Code:
<?php

$cfg['blowfish_secret'] = 'that you want';
/*
 * Servers configuration
 */
$i = 0;

/*
 * First server
 */
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysqli'; //mysqli is more performance  you can used in defect mysql  

$cfg['UploadDir'] = '/upload/'; 
$cfg['SaveDir'] = '/download/';

$cfg['Servers'][$i]['user'] = ‘root’;
$cfg['Servers'][$i]['password'] = ‘your password’;

?>
3).and now edit httpd.conf

Code:
# ee /usr/local/etc/apache22/httpd.conf
and made

Code:
Alias /phpmyadmin/ "usr/local/www/phpMyAdmin" 
<Directory "/usr/local/www/phpMyAdmin">
Options none
AllowOverride Limit
Order Deny, Allow
Allow from 127.0.0.1 .sample.com
</Directory>
this is more correct to try to prove?

I have installed FreeBSD 8.0 and updated ports, apache22, php5, mysql5-server, ntop working properly.
But not to disturb your more for some time, I need only to finish with phpmyadmin (in this post) and puredb + pure-ftpd, no more.

Looke this

http://www.phpmyadmin.net/documentation/#setup_script

Thank you very much for your invaluable help.

Last edited by manyblue; December 7th, 2010 at 19:48.
Reply With Quote
  #3  
Old December 8th, 2010, 03:03
beesatmsu beesatmsu is offline
Member
 
Join Date: Apr 2010
Posts: 200
Thanks: 2
Thanked 2 Times in 2 Posts
Default

if usr/local/www/phpMyAdmin is not there, then you did not install it correctly?

make sure php is working correctly (php main.php should give output). I had problems with phpmyadmin last time due to php extensions not installed properly. some old phps need php-mysql or something like that.

make sure mysql is working also.

the httpd.conf file I gave you last time already have the code for phpmyadmin, I think.

you never give error messages here, so it is impossible for people to help you...tell us

1). what commands you typed and
2). what did you see? (output, errors, etc).
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] FreeBSD 8.1_r2: Install Problem Apache 22 Yettie Installation and Maintenance of FreeBSD Ports or Packages 6 December 10th, 2010 16:16
Problem sshd and phpMyAdmin manyblue Installation and Maintenance of FreeBSD Ports or Packages 8 November 23rd, 2010 15:20
[Solved] phpmyadmin install problem rloc Installation and Maintenance of FreeBSD Ports or Packages 2 July 20th, 2010 15:12
apache-ant-1.7.1 package install problem. blumstng Installation and Maintenance of FreeBSD Ports or Packages 4 July 7th, 2009 21:52
phpmyadmin install problem stifmeizter Installation and Maintenance of FreeBSD Ports or Packages 26 March 28th, 2009 15:50


All times are GMT +1. The time now is 10:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0