c77d
![]() |
|
|
|
|
|||||||
| Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
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 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> Code:
# Vi /usr/local/www/phpMyAdmin/config.inc.php Code:
>$Cfg['Servers'][$i]['user'] = 'root'; $Cfg['Servers'][$i]['password'] = 'your password'; Code:
# Cd /usr/local/www/apache22/data/phpmyadmin Now I have several questions 1) in Code:
# Vi /usr/local/etc/apache22/httpd.conf Code:
Alias /phpmyadmin/usr/local/www/phpMyAdmin Code:
Alias "/phpmyadmin/usr/local/www/phpMyAdmin" Code:
# Vi /usr/local/www/phpMyAdmin/config.inc.php Code:
>$Cfg['Servers'][$i]['user'] = 'root'; $Cfg['Servers'][$i]['password'] = 'your password'; Code:
$Cfg['Servers'][$i]['user'] = 'root'; $Cfg['Servers'][$i]['password'] = 'your password'; Code:
$i Code:
$i = 0; $i++; Code:
<Directory "/usr/local/www/phpMyAdmin"> Options none AllowOverride Limit Order Deny, Allow Allow from 127.0.0.1 .Example.com </Directory> Code:
Allow from 127.0.0.1 .Example.com 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. |
|
#2
|
||||
|
||||
|
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’; ?> Code:
# ee /usr/local/etc/apache22/httpd.conf 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> 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. |
|
#3
|
|||
|
|||
|
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). |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |