PHP“Warning:session_start()…”、”correct(….php5Temp)inUnknownonline0″的解決方法
執行php的時候出現了一下警告:
Warning: Unknown: open(D:/Program Files/php5/temp1sess_l5b1a48m6kmb1g0t5cs33690v0, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (D:/Program Files/php5/temp1) in Unknown on line 0
其實是由於在php.ini配置中session.save_path = “D:/Program Files/php5/temp”設定的問題;
把以上路徑修改正確就可以了
或則根據他的路徑建立該有的資料夾
本文轉自黃聰部落格園部落格,原文連結:http://www.cnblogs.com/huangcong/p/5040842.html,如需轉載請自行聯絡原作者
相關文章
- 織夢提示dedecms error warning錯誤的解決方法Error
- WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED解決方法REMIDE
- PHP Warning:fopen出錯如何解決?PHP
- PHP Warning: exec() has been disabled for security 問題解決辦法PHP
- PHP錯誤“Thisfilehasexpired”的解決方法PHP
- window下的git [GIT] warning: LF will be replaced by CRLF問題解決方法Git
- PHP不能連線MSSQLServer的解決方法PHPSQLServer
- 解決 PHP Warning: Module 'modulename' already loaded in Unknown on line 0PHP
- php不能呼叫sendmail發信的解決方法PHPAI
- DedeCMS Error: Tag disabled: "php" 解決方法ErrorPHP
- Fatalerror:session_start()ErrorSession
- 解決警告“ld: warning: directory not found for option”
- PHP防止表單重複提交的解決方法PHP
- PHP出現Cannotmodifyheaderinformation問題的解決方法PHPHeaderORM
- php生成唯一id的幾種解決方法PHP
- Warning: $HADOOP_HOME is deprecated. hadoop解決方法補充版Hadoop
- warning: LF will be replaced by CRLF in ** 的原因及解決辦法
- [git]warning: LF will be replaced by CRLF in 解決辦法Git
- git warning: LF will be replaced by CRLF in 解決辦法Git
- Warning: count(): Parameter must be an array or an object that implements Countable in line 302解決方法Object
- php查詢mssql出現亂碼的解決方法PHPSQL
- listener.log中報Warning: Subscription For Node Down Event Still Pending問題的解決方法
- Moment.js遇到Deprecation warning: moment construction falls back to js Date 解決方法JSStruct
- ORA-12504 warning in PHPPHP
- PHP初學者最常遇到的8個錯誤及解決方法PHP
- php抓取https網址出現錯誤的解決方法PHPHTTP
- php中出現Strict Standards: Only variables should be passed by reference in的解決方法PHP
- php函式substr_replace中文亂碼的替代解決方法PHP函式
- WARNING:Could not lower the asynch I/O limit 錯誤解決MIT
- 記錄 warning: CRLF will be replaced LF by in XXX 的解決辦法
- nginx+PHP-fpm 配置後頁面顯示空白的解決方法NginxPHP
- PHP動態編譯出現Cannot find autoconf的解決方法PHP編譯
- php讀取mssql日期出現中文字元的解決方法PHPSQL字元
- TabError的解決方法Error
- ArtifactDescriptorException的解決方法Exception
- Warning: Cannot send session cookie - headers already sent 解決SessionCookieHeader
- Linux scp 提示"WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED" 的解決方案LinuxREMIDE
- PHP & Linux: libsodium.so.23 錯誤解決方法PHPLinux