我的服务器使用linux系统,apache+mysql 其他不连接mysql的php语句使用正常。 从其他机器连接本服务器mysql也正常。 但是本机上用php无法连接mysql。 使用phpinfo()查看php信息如下: php Version 4.0.6 Configure Command包含如下内容 '--enable-ftp' '--enable-wddx' '--without-mysql' '--without-unixODBC' '--without-oracle' 不知道mysql是否有问题? 是不是php缺少了什么模块??还是有什么配置文件需要修改?...
我的服务器使用linux系统,apache+mysql 其他不连接mysql的php语句使用正常。 从其他机器连接本服务器mysql也正常。 但是本机上用php无法连接mysql。 使用phpinfo()查看php信息如下: php Version 4.0.6 Configure Command包含如下内容 '--enable-ftp' '--enable-wddx' '--without-mysql' '--without-unixODBC' '--without-oracle' 不知道是不是php缺少了什么模块??还是有什么配置文件需要修改?? 不知是否需要重编译p...
FreeBSD6.0+apache2下将php升级后,使用phpinfo()查看总是显示内容不完整,如果使用刷新查看,ie浏览器cpu占用就到了100%,真是奇怪。
在 /etc/php.ini 中 把: display_errors = Off 改为: display_errors = On 即可在Apache中显示出错的调试信息。 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/23044/showart_158459.html
现在是这样 http://www.abc.com/ 直接就是显示http://www.abc.com/index.php 如何能让他访问http://www.abc.om/ 显示的就是http://www.abc.com/
今天用一个php的小例子测试配置的Linux+Apache+Mysql+php (LAMP)。没想到拔出萝卜带出一堆泥。多亏同学龚的帮忙,解决了问题,虽然问题的详细原因还不明,但这种方法的确解决了问题,也希望清楚这个问题根源 的朋友,麻烦告诉我。现将问题和解决方法记录下来. 1、问题: 文件index.php Web Database Sample Index "; echo " User Name Domain Name Request Date "; while ($r = mysql_fetch_array($resul...
看看内容吧,也许有用的。我的系统是RedHat8。 short_open_tag =On //php.ini Aaah, I see. Redhat seems to mess with all sorts of typical defaults, heck, even short_open_tag (default redhat8.0 php setup and that just isn't very nice. Although, maybe it's good to push people into learning stuff, like why it's important to read a php.ini :) link: http://www.phpbuilder.com/lists/php-general/2003041/0981...
:em06: :em06: httpd.conf文件也改为:AddDefaultCharset GB2312 [code]网页头也加进了 ; ,其中LBL_CHARSET="gb2312" [/code] 可访问时却是乱码。查看源代码也都是中文,每次需要调整,查看-->;编码--》简体中文才能看到中文。 这是怎么回事呢,请帮忙 :em06: :em06: