First, install the Apache2
sudo apt-get install apache2
and then open in Firefox:
http://localhost/
prompt success
save the file,
jimmy choo QQ庭审是提高轨制标准不可缺, and then
sudo / etc / init .d/apache2 restart
where I can modify users, add users, etc.,
tory burch reva ballet flat, come back to solve the previously mentioned hits User Administrator, the whole issue of death linked to MySQL Administrator, see the following URL:
MySQL Administrator hangs after pressing User Administration Icon
master their solutions vary, the main method:
in the terminal:
export DEBUG_DONT_SPAWN_FETCHES = 1
mysql-admin
so users will be able to successfully modify the
if only for local development to strengthen the security settings as follows:
xiaozhihu @ xiaozhihu: ~ $ gksudo >
save the file, and restart apache.
test:
http://localhost/phpmyadmin
test whether PHP5 successful installation
sudo gedit / var / www / testphp.php
write in it
then in Firefox, open:
http:/ / localhost / testphp.php
should be able to see the following screen,
ugg boot sizing, long after reading the testphp.php
deleted,
asics evolution 4, there may be a security risk
want to work with PHP and MySql, edit
sudo gedit / etc/php5/apache2/php.ini
cancel; extension = mysql.so comments, like this
...
extension = mysql.so
...
MySql initial only allows the machine (127.0.0.1) connection, if you want to use more than one machine or to the Internet open, edit / etc / mysql / my.cnf
sudo gedit / etc / mysql / my.cnf
find
bind-address = 127.0.0.1
commented out with #, like this
# bind-address = 127.0.0.1
we tested A small example to verify the following php:
terminal, type: sudo gedit / var / www / hello.php
add hello.php in the open at the code:
World
browser address bar http://127.0.0.1/hello.php
Third, install MySql
sudo apt-get install mysql -server
in accordance with the Unofficial Ubuntu 6.06 (Dapper Drake) Linux Starter Guide steps to
MySql The default root password is not set, the unit root user and no password, there is risk it, so
mysqladmin-u root password your-new-password
mysqladmin-h root @ local-machine-name-u root -p password your-new-password (here, how can I not connect mysql server, which eventually changed the mysql-admin)
sudo / etc / init.d / mysql restart
five install MYSQL for Apache HTTP Server
sudo apt-get install libapache2-mod-auth-mysql
sudo apt-get install php5-mysql
sudo apt-get install phpmyadmin
sudo ln-s / usr / share / phpmyadmin / var / www /
enter http://localhost in the browser or http://127.0.0.1, if we look at to documents should be placed in this direc
tory.
IV installation MYSQL Administrator
sudo apt-get install mysql-admin
after installed Gnome-applications - system tools-MySQL Administrator
Second, install PHP5
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5 (based on the actual test I, This step seems to not need to do, in the previous step has been installed, but it is recommended that you copy / paste if this command)
sudo / etc/init.d/apache2 restart
if the requested URL / phpMyAdmin / was not found on this server error. will have to establish soft connection, linux phpmyadmin under different windows copy the entire site, use the command after the installation is complete, its direc
tory in the / etc / phpmyadmin, and / usr / share / phpmyadmin / two directories, we do not need to copy all files to your site, the only way to build software through the command-line connection, you can access the same way.
After installation,
我老婆下面的味道怪怪的额 ,
asics gel hyperspeed 3, the next step is to start Apache
start Apache
$ sudo / usr/sbin/apache2ctl start
stop Apache
$ sudo / usr/sbin/apache2ctl stop
restart Apache
$ sudo / etc/init.d/apache2 restart
here I encountered a problem, is to run the MySQL Administrator,
cheap tory burch shoes, after Click the User Administrator, the entire MySQL Administrator hanging death, finally resolved,
asics running socks 处事22计、心态24条、伤心50句、, the method see below