简洁的想法

仁爱、喜乐、和平、忍耐、恩慈、良善、信实、温柔、节制

php5.3.2 抓虫

| Comments

Ubuntu apt-get来的php默认版本现在是php5.3.2
居然对我的代码白屏,

sudo vi /var/log/apache2/error.log

PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/idn.ini on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imagick.ini on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imap.ini on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/ming.ini on line 1 in Unknown on line 0


OK, 错误很明显, 配置文件用错了注释开始符, 把 '#' 改成 ';' 就OK了.

Comments