ubuntu下的uri:fille//路径要如何写?
用的ubuntu,不知道如何写如下的路径
$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