- Code: Select all
sudo equo install dev-lang/php-5.3.8
sudo equo install www-servers/apache-2.2.21
rc-update add apache2
/etc/init.d/apache2 start
sudo nano /etc/conf.d/apache2
edit APACHE2_OPTS to
- Code: Select all
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D SUEXEC -D LANGUAGE -D LANGUAGE -D PHP5"
- Code: Select all
sudo /etc/init.d/apache2 restart
echo '<?php phpinfo(); ?>' > /var/www/localhost/htdocs/info.php
sudo equo install dev-db/mysql-5.1.53
rc-update add mysql
emerge --config =dev-db/mysql-5.1.53
Performing Global Updates:
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' #='/var/db update' @='/var/db move'
s='/var/db SLOT move' %='binary move' S='binary SLOT move'
p='update /etc/portage/package.*'
/usr/portage/profiles/updates/1Q-2009..............
/usr/portage/profiles/updates/2Q-2009............................................................................
.........
/usr/portage/profiles/updates/3Q-2009......................................................
/usr/portage/profiles/updates/4Q-2009...................
Configuring pkg...
* Please provide a password for the mysql 'root' user now,
* or in the MYSQL_ROOT_PASSWORD env var.
* Avoid ["'\_%] characters in the password
> root pass
* Retype the password
>root pass
* Creating the mysql database and setting proper
* permissions on it ...
* Starting mysqld ... [ ok ]
* Setting root password ... [ ok ]
* Loading "zoneinfo", this step may require a few seconds ... ... [ ok ]
* Stopping the server ...
* Done
- Code: Select all
sudo equo install dev-db/phpmyadmin-3.4.4
and i go http://localhost/info.php - it works
if i go http://localhost/phpmyadmin and enter root login and pass, my browser wrote
Data not received
Unable to load a web page, so as not received information from the server.
in apache2 error.log:
[Fri Oct 14 14:31:18 2011] [notice] child pid 27413 exit signal Segmentation fault (11)
[Fri Oct 14 14:31:18 2011] [notice] child pid 27414 exit signal Segmentation fault (11)
Help please, how my error?
ps. Sorry for my bad english


