1
所以我的工作我的客戶的網站,並以Twitter消息集成到網站,我需要包括在php.ini以下行:媒體寺的php.ini節省
allow_url_fopen = On;
所以現在我的PHP的.ini看起來是這樣的:
; Rename this file to php.ini and uncomment or add directives.
; For a complete list of valid directives, visit:
; http://us2.php.net/manual/en/ini.php
[PHP]
; We highly recommend that you leave this options enabled
cgi.fix_pathinfo=1
; Increase maximum post size
;post_max_size = 20M
; Increase execution time
;max_execution_time = 300
; pull in EGPCS [Environment, GET, POST, Cookie, Server] variables as globals
;register_globals = true
; For performance reasons, (mt) does not load all of the modules that are available
; into PHP. You may uncomment any one of the following "extension" lines to enable
; the desired module
; Salblotron XSLT
;extension=xslt.so
; save in local tmp
session.save_path=/home/65994/data/tmp
allow_url_fopen = On;
upload_max_filesize = 20M
出於某種原因,它的工作原理......但只有約15分鐘左右的時間它打破和一個錯誤出現。
不過,如果我走線添加爲php.ini並四處移動它...並重新保存,它再次工作......
ODD ...
有誰知道爲什麼和如何解決這個問題?
我不會使用Twitter接口的PHP接口,而不是有一個可以爲您節省服務器負載的Javascript接口... – 2012-03-05 00:47:38