Mysql¡¢Apache¡¢PhpµÄжÔØ (Linux)
жÔØMysql
[root@localhost ~]# rpm -qa | grep mysql
mysql-3.23.58-9
php-mysql-4.3.4-11
mod_auth_mysql-20030510-4.1
mysql-server-3.23.58-9
˵Ã÷£ºrpm –qa | grep mysql ÃüÁîÊÇΪÁË°ÑmysqlÏà¹ØµÄ°ü¶¼ÁгöÀ´£¬Ð¶Ôض¼´Ó×îÏÂÃæµÄÒ»¸ö°ü¿ªÊ¼£¬Ö±µ½Ð¶ÔصôµÚÒ»¸öΪֹ¡£Ö´ÐÐrpm -q php£¬Èç¹û·µ»Øphp°æ±¾£¬¸ÕÊÇrpm°²×°£»²»·µ»Øphp°æ±¾ÔòÊǶþ½øÖÆ°²×°¡£
±ÈÈ磺ÔÚÕâ¸öÀý×ÓÖУ¬ÎÒÃÇÓ¦¸ÃÏÈжÔØmysql-server-3.23.58-9 ·½·¨ÈçÏ£º
rpm –e mysql-server
˵Ã÷£ºrpm –e ÊÇжÔØrpm°üµÄÃüÁºóÃæÊÇ°üÃû³Æ£¬×îºóµÄ°æ±¾ºÅÊDz»ÓôòµÄ£¬±ÈÈçÎÒÃÇÏÂÒ»²½Ð¶ÔØmod_auth_mysql-20030510-4.1°ü£¬·½·¨ÈçÏ£º
[root@localhost ~]# rpm –e mod_auth_mysql
жÔØApache
[root@localhost ~]# rpm -qa | grep httpd
httpd-manual-2.2.9-4.i386
httpd-tools-2.2.9-4.i386
httpd-devel-2.2.9-4.i386
httpd-2.2.9-4.i386
[root@localhost ~]# rpm -e httpd --nodeps
[root@localhost ~]# rpm -e httpd-devel --nodeps
[root@localhost ~]# rpm -e httpd-tools --nodeps
[root@localhost ~]# rpm -e httpd-manual --nodeps
жÔØPHP
[root@localhost ~]# rpm -qa | grep php
php-odbc-4.3.4-11
php-4.3.4-11
php-mysql-4.3.4-11
php-pear-4.3.4-11
php-ldap-4.3.4-11
php-pgsql-4.3.4-11
˵Ã÷£º·½·¨¸úжÔØMysqlÒ»Ñù£¬²»ÓÃ˵ÁË°É
×¢Ò⣺жÔصÄʱºòÈç¹ûжÔز»µô£¬ÏµÍ³Ò»°ã»áÌáʾ°üµÄÒÀÀµ¹Øϵ£¬²¢ÇÒÁгöÒÀÀµµÄ°üµÄÃû³Æ£¬ÏÈжÔØÌáʾÒÀÀµµÄ°ü¾Í¿ÉÒÔÁË¡£
Èç¹ûʵÔÚʵÔÚÓÐжÔز»µôµÄ°ü£¬¿ÉÒÔ¼Ó—nodepsÕâ¸ö²ÎÊýÀ´Ð¶ÔØ
£¬±ÈÈçÎÒÃÇжÔØphp-4.3.4-11£¬ÊµÔÚж²»µôÁË¡£¾ÍÓãº
rpm -e php-4.3.4-11 --nodeps£¨»ò rpm -e --nodeps php-4.3.4-11£©
ÃüÁîºÜÇ¿Ó²£¬Ó¦¸ÃÐеġ£
ÎÒÔÚ×°LinuxʱÒѾ°²×°ÁËapache,ÎÒÈçºÎÆô¶¯Ëü
ÔËÐÐntsysvÃüÁѡÖÐapache¼È¿É¡£
Ïà¹ØÎĵµ£º
°²裝MySQL-Server
$ sudo apt-get install mysql-server
°²裝Apache HTTP Server
$ sudo apt-get install apache2
°²裝PHP for Apache HTTP Server
$ sudo apt-get install php5
°²裝MySQL for Apache HTTP Server
$ sudo apt-get install libapache2-mod-auth-mysql
$ sudo apt-get ......
write by ¾ÅÌìÑãôá(JTianLing) -- blog.csdn.net/vagrxie ÌÖÂÛÐÂÎÅ×é¼°Îļþ ½ñÌì¿´µ½CSDNÉϵÄÒ»ÔòÐÂÎÅ¡¶Å·ÃËÕýʽ·ñ¾ö¼×¹ÇÎÄÊÕ¹ºSun ¼×¹ÇÎľÝÀíÁ¦Õù¡·ºóÕæÊǸÐ̾°¡¡£¡£¡£¡£ SunÒ²ËãÊÇÊ¢¼«Ò»Ê±µÄ´ó¹«Ë¾ÁË£¬ÒòΪJAVAÓïÑÔ¶øÎÅÃûÓÚÊÀ£¬ºóÀ´¹ÉƱ´úÂ붼¸Ä³ÉJAVAÁË£¬ËäÈ»JAVAʵ¼ÊÉÏûÓÐΪÆä´øÀ´Ì«¶àµÄÀûÈ󣬵«ÊÇSunÒ²ËãÊÇÄܹ»×Ô¼ ......
<!--#include file="zheboconn.asp"-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
<title>aspºÍmysql·ÖÒ³´úÂë</title>
<style type="text/css">
<!--
.STYLE3 {
fon ......
1.Ç°ÃæһƪÎÄÕÂÏêϸ½éÉÜÁËÈçºÎÔÚWindowsÏÂÕûºÏapache+mysql+php+tomcat,ºÜ¼òµ¥£¬µ«ÊÇÔÚLinuxϾÍûÕâôÈÝÒ×ÁË£¬ÐèÒªÊÖ¹¤µÄȥдÅäÖÃÎļþ£¬ÍøÉϵÄ×ÊÁÏÓкܶ࣬µ«ÊÇÎÒ¸ù¾ÝËûÃǵÄд·¨£¬Ò»²½Ò»²½µÄÅäÖû¹ÊÇûÄÜsuccess!£¨¿ÉÄÜÊÇÎÒ¸öÈ˵ÄÔÒò£¬²»¹ý£¬ÎÞÂÛÔÚGoogle»¹ÊÇbaiduËѵ½µÄÎÄÕ¾ÍÄÇô¼¸Æª£¬Õâ¸öתһÏ£¬ÄǸöתһÏ£¬×îºó¶¼² ......