ChinaUnix.net
相关文章推荐:

PHP POST apache 500错误

人家给我们做了一个接口,要ip绑定的,很简单的一个http的post.结果我的总是返回500错误. 代码是: posttohost($url, $data) { $url = parse_url($url); if (!$url) return "couldn't parse url"; if (!isset($url['port'])) { $url['port'] = ""; } if (!isset($url['query'])) { $url['query'] = ""; } $encoded = ""; while (list($k,$v) = each($data)) { $encoded .= ($encoded ? "&" : ""); $encoded...

by brucecheng - PHP - 2013-06-04 16:04:21 阅读(4020) 回复(6)

相关讨论

环境: CentOS release 5.2 (Final) x86_64 apache/2.2.10 (Unix) php 5.2.6 (cli) 以tarball安装。 php.ini里配置 memory_limit = 128M 有一个程序 process.php php $a = file("one.txt"); echo count($a); ?> one.txt有15M大小,95W条数据,一行一个单词 在浏览器中运行此程序 http://10.4.0.11/process.php 结果空白,出现500错误,查看php错误日志. [18-Nov-2008 05:21:35] php Fatal error: Allowed memory s...

by 小强泡泡 - PHP - 2008-11-20 21:34:06 阅读(19051) 回复(10)

在redhat72下安装apache+php+oracle时,我用--with-oci8 和--with-oracle参数编译php出现如下错误: checking for Oracle-OCI8 support... yes checking Oracle Install-Dir... /oracle/product/9.2.0 checking Oracle version... 9.0 ... ... checking Oracle Install-Dir... /oracle/product/9.2.0 checking Oracle version... configure: error: Oracle needed libraries not found 只用with-oci8参数时就不会有错! 快晕死了 ,大侠...

by nuliyidian - 服务器架设 - 2003-09-06 14:30:50 阅读(1263) 回复(3)

php页面所使用的字符集为utf-8,但输入框输入中文字符后提交页面,php出警告提示: Warning: No unicode translation available for the specified string in xxx.php on line xxx 但是并不总是这样,有的汉字提交后就没有这种提示,不知道是怎么回事,不知道是我的程序写的有问题,还是一些设置不正确,请有经验的朋友提点一下。 谢谢

by hellojan - PHP - 2006-01-12 10:43:06 阅读(1173) 回复(0)

帮我看下这个是为什么 apache加载php 错误

by hfh08 - 服务器应用 - 2007-08-21 14:09:45 阅读(2511) 回复(1)

环境是Redhat AS4、apachephp、mysql,浏览页面出现下面的字符,怎么让它不出现。 DEBUG(SQL,MYSQL DRIVER): Query: SELECT * FROM totacct WHERE acctdate >= '2005-11-13' AND acctdate <= '2005-11-20' ORDER BY connnum desc LIMIT 10; DEBUG(SQL,MYSQL DRIVER): Query Result:

by nexttop - 服务器应用 - 2005-11-21 19:51:49 阅读(1445) 回复(7)

我想 重新编译 apache + php,居然通过不了! 第一次用的是 apache_1.3.20.tar.gz + php_4.4.0.tar.gz apache_1.3.20>;./configure --prefix=/usr/local/httpd apache_1.3.20>;cd ../php_4.4.0 php_4.4.0>;./configure --prefix=/usr/local/php --with-apache=../apache_1.3.20 --enable-track-vars && make && make install #### enable-track-vars 是什么意思? php_4.4.0>;cd ../apache_1.3.20 apache_1.3.20>;./confi...

by cnhero - 服务器架设 - 2005-07-19 08:32:57 阅读(655) 回复(4)

window下,php4+apache2,已经装了oralce客户端 php.ini这两行已经设置: extension=php_oci8.dll extension=php_oracle.dll php脚本里面,只要一调用 OCIPLogon 就会出错,提示“apache.exe发生了错误,会被windows关闭,您需要重新启动程序”,然后apache就被停了。 但是用ora_logon就没事。 是哪里的错误?? 谢谢

by zlk - PHP - 2005-01-11 01:16:29 阅读(980) 回复(0)

os环境:solaris 8.0 apache 2.0.55 ./apachectl start 没有任何提示 ps-ef | grep httpd 没有发现有httpd进程,查看系统的logs的error_log,内容如下: [Wed Jan 04 15:00:13 2006] [notice] Digest: generating secret for digest authentication ... [Wed Jan 04 15:00:13 2006] [crit] (2)No such file or directory: Digest: error generating secret: No such file or directory Configuration Failed 为什么?

by yangzilu - Solaris - 2006-01-04 16:34:35 阅读(1051) 回复(2)

如题,同台服务器上别的网站可以正常打开啊,个别的出现如上的报错,请大家指导下,谢谢了

by chu_chu - BSD - 2008-07-16 01:18:08 阅读(5410) 回复(0)

注释掉 httpd.conf # # AllowOverride None # Order deny,allow # Deny from all # 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/10599/showart_1273246.html

by liuxingyuyuni - BSD文档中心 - 2008-10-06 04:43:15 阅读(1436) 回复(0)