ChinaUnix.net
相关文章推荐:

php 错误日志

debug_backtrace — 返回一个供调试使用的信息树 debug_print_backtrace — 打印一个供调试使用的信息树 error_get_last — 捕获最后的一条错误信息 error_log — 将php错误信息发送到某处 error_reporting — 设定php错误显示状况 restore_error_handler — 恢复set_error_handler()函数对错误处理方式的修改 restore_exception_handler — 恢复set_exception_handler()函数对异常处理方式的修改 set_error_handler — 指定一...

by hkebao - php文档中心 - 2009-04-27 09:51:40 阅读(1176) 回复(0)

相关讨论

我在php.ini中对日志做了如下处理 error_reporting = E_ALL log_errors = On error_log = /var/log/httpd/php_err.log display_error=off 但是为什么出错时不写这个LOG文件呢?

by sunauqt - PHP - 2007-12-28 16:38:53 阅读(1712) 回复(1)

mail.php 文件 我自己发给自己的邮件 php echo "send email
"; $to = "zhiwenshanghai@sina.com"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "zhiwenshanghai@sina.com"; $headers = "From: $from"; mail($to,$subject,$message,$headers); echo "Mail Sent."; ?> php.ini 文件配置: [mail function] ; For Win32 only. SMTP = smtp.sina.com smtp_port = 25 ; For ...

by militala - PHP - 2009-03-18 22:36:57 阅读(1706) 回复(1)

今天发现服务器出现问题php连接oracle出现错误, ORA-12705: invalid or unknown NLS parameter value specified in xxxx on line 20 无法连接到数据库服务器。 bash_profile文件内容如下: JAVA_HOME=/usr/java/jdk1.5.0_11 export JAVA_HOME CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib export CLASSPATH LD_LIBRARY_PATH=/usr/local/lib:$JAVA_HOME/lib:$JAVA_HOME/jre/lib export LD_LIBRARY_PATH PATH=$JAVA_HOME/bin...

by SAS - Oracle - 2009-03-04 22:05:41 阅读(1783) 回复(4)

报错信息如下: OS :RHEL5 [root@localhost ZendOptimizer-3.3.3-linux-glibc23-i386]# php -v Failed loading /usr/local/Zend/lib/Optimizer-3.3.3/php-5.1.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer-3.3.3/php-5.1.x/ZendOptimizer.so: cannot restore segment prot after reloc: Permission denied php 5.1.6 (cli) (built: Dec 19 2006 11:18:44) Copyright (c) 1997-2006 The php Group Zend Engine v2.1.0, C...

by qmailer - PHP - 2009-12-14 10:01:00 阅读(2242) 回复(5)

# ./configure configure:error:installation or configuration problem:C compiler cannot create executables

by 光速 - PHP - 2007-08-03 17:32:00 阅读(1722) 回复(2)

大家好: 我在执行以下php代码时: while($my=mysql_fetch_row($result)) 出现以下错误提示: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource 请各们大侠帮我看一下,是什么原因导致的? 在此,先谢了。

by oufeng - PHP - 2007-06-12 17:23:56 阅读(2251) 回复(10)

各们高手,大家好:    我在Dremware 8.0中写了一个PHP代码脚本:(如下)  php $db = mysql_connect("it-g", "root", "oufeng"); mysql_select_db("class",$db) $sql= "select poll_id,poll_Name from poll where poll_del='1'";(这是第13行) $result = mysql_query($sql); ?> 可是在执行的是时候有以上错误: Parse error: syntax error, unexpected T_VARIABLE in /usr/local/apache/htdocs/tenfei/po...

by oufeng - PHP - 2007-06-11 15:26:36 阅读(1658) 回复(5)

main/php_config.h is unchanged creating main/internal_functions.c creating main/internal_functions_cli.c +--------------------------------------------------------------------+ | License: | | This software is subject to the php License, available in this | | distribution in the file LICENSE. By continuing this installation | | process, ...

by zjj234 - 服务器架设 - 2007-01-09 01:12:17 阅读(2283) 回复(13)

工作环境:Windows 2003 + Apache 2.0.52 + php 5.0.2.2 php.ini 配置如下:(sendmail部份) ;extension=php_sybase_ct.dll extension=php_smtp.dll extension=php_pop3.dll ;extension=php_tidy.dll [mail function] ; For Win32 only. SMTP = 邮件服务器域名 smtp_port = 25 ; For Win32 only. sendmail_from = 发送邮件的E-mail sendmail.php 源代码如下: php $to = [email]fourstar.co@126.com[/email]"; $subject =...

by xpengzp - PHP - 2006-12-13 14:33:10 阅读(2273) 回复(6)

安装php5+apache2.2+Ras3.0 apache安装完毕 以下为编译过程 $ ./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs configure: warning: You will need re2c 0.9.11 or later if you want to regenerate php parsers. configure: warning: bison versions supported for regeneration of the Zend/php parsers: 1.28 1.35 1.75 1.875 2.0 2.1 (found: none). checking for fle...

by qmailer - PHP - 2006-02-26 22:12:56 阅读(1223) 回复(1)