CentOS apache+mysql+php°²×°
CENTOS 5µÄÐéÄâ»ú£¬Ôõô´ÓͼÐνçÃæÇл»µ½ÃüÁîÐнçÃæ
1.ÁÙʱÇл»£º
ctrl+alt+1 …… ctrl+alt+6Ò»¹²Áù¸ö¿ØÖÆ̨¡£
2.ÓÀ¾Ã¹Ø±ÕͼÐλ¯£º
ÔÚrootÏÂÊäÈë vi /etc/inittab ½«init:5ÐÞ¸ÄΪinit:3
Mysql rpm°ü°²×°£¬²»ÄÜÖض¨Î»(relocatable)
rpm°ü°²×°Òì³££¬--prefix ²ÎÊý²»ÄÜÖض¨Î»£¬°²×°µ½ÁíÒ»¸öĿ¼µÄÔÒò£¬error: package is not relocatable
[mysql@test922 ~]$ rpm --install --prefix linuxqq-v1.0.2-beta1.i386.rpm
error: linuxqq is not relocatable
¾²éÕÒ£¬¿ÉÒÔʹÓÃÏÂÃæµÄÃüÁî²é¿´rpm°üÊÇ·ñ¿ÉÒÔÖض¨Î»£¬Ò²¾ÍÊÇ°²×°µ½ÁíÒ»¸öĿ¼¡£
££ rpm -qpi linuxqq-v1.0.2-beta1.i386.rpm |head
Name : linuxqq Relocations: (not relocatable)
Version : v1.0.2 Vendor: Tencent Inc.
Release : beta1 Build Date: 2009Äê01ÔÂ05ÈÕ ÐÇÆÚÒ» 17ʱ31·Ö44Ãë
Install Date: (not installed) Build Host: localhost.localdomain
Group : Internet Source RPM: linuxqq-v1.0.2-beta1.src.rpm
Size : 6346491 License: Commercial
Signature : (none)
Packager : @Home
Summary : QQ for Linux v1.0.2 Beta1
Description :
´Ó
Ïà¹ØÎĵµ£º
1
£®
Çë¶Ô
POSIX
·ç¸ñºÍ¼æÈÝ
Perl
·ç¸ñÁ½ÖÖÕýÔò
±í´ïʽµÄÖ÷Òªº¯Êý½øÐÐÀà±È˵Ã÷
ereg
preg_match
ereg_replace
preg_replace
2
£®
Çë˵Ã÷ÔÚ
php
.ini
ÖÐ
safe_mode
¿ªÆôÖ®ºó¶ÔÓÚ
PHP
ϵͳ
º¯ÊýµÄÓ°Ïì
3
£®
PHP5
ÖÐħÊõ
·½·¨
º¯ÊýÓÐÄļ¸¸ö£¬Çë¾ÙÀý˵à ......
Îļþphp.ini·ÅÈëwindowsÏ£¬½«ÏÂÃæÄÚÈÝ¿½±´µ½¼Çʱ¾ÃüÃûΪphp.ini·ÅÈëc:/windowsÏÂ,ÖØÆôApache server£º
[PHP]
;;;;;;;;;;;
; WARNING ;
;;;;;;;;;;;
; This is the default settings file for new PHP installations.
; By default, PHP installs itself with a configuration suitable for
; development purposes ......
<?php
/**
* PHP100.com - ¸öÈ˸оõ·Ç³£¼òµ¥£¬Ö»ÒªÓеãPHP»ù´¡µÎÈ˶¼Ó¦¸ÃÄÜ¿´¶®~~
* Apache2 + PHP5.0
* Version:1.0
* ͬʱ¸ÐлPHP100ËùÓеÄÐÖµÜÃÇ
* ——————————————&m ......
Session]
; ³ý·ÇʹÓÃsession_register()»ò$_SESSION×¢²áÁËÒ»¸ö±äÁ¿¡£
; ·ñÔò²»¹ÜÊÇ·ñʹÓÃÁËsession_start()£¬¶¼²»»á×Ô¶¯Ìí¼ÓÈκÎsession¼Ç¼¡£
; °üÀ¨resource±äÁ¿»òÓÐÑ»·ÒýÓõĶÔÏó°üº¬Ö¸Ïò×ÔÉíµÄÒýÓõĶÔÏ󣬲»Äܱ£´æÔڻỰÖС£
; register_globalsÖ¸Áî»áÓ°Ïìµ½»á»°±äÁ¿µÄ´æ´¢ºÍ»Ö¸´¡£
session ......