闲着,想弄个视频网站玩一下,找了半天,就找了个vshare,看似不错,就安装试了一下!
下面是一些小记:
yum -y install httpd php mysql mysql-server php-mysql php-gd php-mbstring php-bcmath libmhash libmcrypt mod_ssl
yum -y install php php-mysql php-common php-gd php-mbstring php-mcrypt php-devel php-xml
service httpd start
service mysqld start
rpm -Uhv
yum install ffmpeg
yum install mplayer
yum install mencoder
yum install flvtool2
mysqladmin create vshare
mysqladmin -u root password root
vi /var/www/html/vshare/include/vshare.php
//mysql_set_charset('utf8', $conn);
如果php》5.2.3就没问题
修改httpd.conf
Options FollowSymLinks
AllowOverride None
为
Options FollowSymLinks
AllowOverride ALL
AllowOverride None
为
AllowOverride All
修改php.ini
post_max_size = 800M
upload_max_filesize = 800M
阅读(814) | 评论(0) | 转发(0) |