在ubuntu下的環境怎么用URI 鏈接??????

追夢的少年
2014-08-17
3 回答
舉報
0/150
提交
取消
在ubuntu下的環境怎么用URI 鏈接??????
2014-08-17
舉報
2014-08-18
就是路徑變了下,其它的沒變啊^_^...
2015-09-20
我也是這樣,不知道怎么寫這個路徑。
$dsn='uri:file///opt/lampp/htdocs/dsn.txt';
Warning: PDO::__construct(file///opt/lampp/htdocs/dsn.txt): failed to open stream: No such file or directory in?/opt/lampp/htdocs/test.php?on line?7
invalid data source URI
水平低,求指導?
2014-08-18
這樣好像不行啊