越简单越好!
centos5.4下apache_php_mysql_vsftp安装
发表于 2010-05-05 13:27    

1. 开启防火墙端口:/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT/sbin/iptables -I INPUT -p tcp --dport 22822 -j ACCEPT/sbin/iptables -I INPUT -p tcp --dport 2121 -j ACCEPT/sbin/iptables -I INPUT -p tcp --dport 3306 -j ACCEPT/etc/rc.d/init.d/iptables save/etc/init.d/iptables restart查看...

查看详情已有2246次阅读  |  0次点赞  |  0个评论
讲解关于centos配置apache+php安装
发表于 2010-04-29 13:30    

首先;下载软件;apache下载地址http://apache.mirror.phpchina.com/httpd/httpd-2.2.9.tar.gzphp下载地址:http://cn.php.net/distributions/php-5.2.6.tar.gzmysql下载地址:http://mysql.ntu.edu.tw/Downloads/MySQL-5.0/mysql-5.0.51a-linux-i686-glibc23.tar.gz

首先[root@localhost ]# wg...

查看详情已有2154次阅读  |  0次点赞  |  0个评论
yardvps下CentOS5.7配置apache+php+mysql+vsftp笔记
发表于 2011-12-21 22:33    

yardvps CentOS5.7配置apache+php+mysql+vsftp笔记

 

1. 增加用户关闭root用户登陆

#useradd bevin

#passwd bevin

#vim /etc/ssh/sshd_config

把#PermitRootLogin 改成 PermitRootLogin no

 

#vim /etc/redhat-release

查看版本C...

查看详情已有2100次阅读  |  0次点赞  |  0个评论
IIS+PHP+MYSQL配置功略
发表于 2006-08-04 16:16    

   PHP的执行效率是有目共睹的,这也是我喜欢它的原因之一,和它称为绝妙搭档的Mysql以及Apache想融合,不能不惊叹其效率了。PHP更新也很快,这里列举了目前最新版本PHP4.3.2RC4(几乎没有BUG了,估计写完这篇不久后正式版就出了),和最新版本的Mysql4.0.13的安装过程。

查看详情已有1799次阅读  |  0次点赞  |  0个评论
冒泡排序和快速排序
发表于 2007-07-24 16:02    

冒泡排序(数组排序)

查看详情已有1644次阅读  |  0次点赞  |  0个评论
GET和POST处理
发表于 2006-10-23 16:42    
 while (list ($key, $val) = each ($_GET)) {     $$key = $val; }  while (list ($key, $val) = each ($_POST)) {    $$key = $val; }
查看详情已有1562次阅读  |  0次点赞  |  0个评论
树莓派配置Nginx+PHP7环境
发表于 2020-02-20 15:34    

安装Nginx和php

sudo apt-get update #更新源

sudo apt-get install php7.3 php7.3-fpm php7.3-mysql php7.3-common

sudo apt-get install nginx

sudo service nginx start #重启nginx

sudo service php7.3-fpm restart  #重启php

查看详情已有2172次阅读  |  0次点赞  |  0个评论
centos下加php的json扩展
发表于 2010-05-11 15:37    

centos下php不会默认安装json扩展的。 而且也不能通过yum进行安装。

下载源文件包:wget http://www.aurore.net/projects/php-json/php-json-ext-1.2.1.tar.bz2解压tar xvjf php-json-ext-1.2.0.tar.bz2进入目录cd php-json-ext-1.2.0初始化PHP环境phpize报错了:phpize commend not foundPHP JSON安装之前需...

查看详情已有1983次阅读  |  0次点赞  |  0个评论
如何使用session
发表于 2006-08-16 16:02    

凡是与session有关的,之前必须调用函数session_start();为session付值很简单,如:

<?phpSession_start();$Name = "这是一个Session例子";Session_Register("Name");//注意,不要写成:Session_Register("[color=red]$Name[/color]");Echo $_SESSION["Name"];//之后$...

查看详情已有1818次阅读  |  0次点赞  |  0个评论
阿里云ECS-CentOS7.0配置nginx+php+mysql笔记
发表于 2015-05-21 15:02    
阿里云ECS-CentOS7.0配置nginx+php+mysql笔记
查看详情已有2021次阅读  |  0次点赞  |  0个评论
返回顶部 ^