ITADN

Php Fatal Error.

#135OpenBaju8 创建于 2024-05-16
B
Baju8commented
When i try to run "php ./index.php" I get the error ``` PHP Fatal error: Uncaught Dotenv\Exception\InvalidFileException: Failed to parse dotenv file. Encountered an unexpected escape sequence at ["D:\Apps\Putty\id_rsa.ppk"]. in D:\Files\Random\AutoClaimOracle\oci-arm-host-capacity\vendor\vlucas\phpdotenv\src\Parser\Parser.php:30 Stack trace: #0 D:\Files\Random\AutoClaimOracle\oci-arm-host-capacity\vendor\graham-campbell\result-type\src\Error.php(119): Dotenv\Parser\Parser::Dotenv\Parser\{closure}() #1 D:\Files\Random\AutoClaimOracle\oci-arm-host-capacity\vendor\vlucas\phpdotenv\src\Parser\Parser.php(29): GrahamCampbell\ResultType\Error->mapError() #2 D:\Files\Random\AutoClaimOracle\oci-arm-host-capacity\vendor\vlucas\phpdotenv\src\Dotenv.php(222): Dotenv\Parser\Parser->parse() #3 D:\Files\Random\AutoClaimOracle\oci-arm-host-capacity\vendor\vlucas\phpdotenv\src\Dotenv.php(237): Dotenv\Dotenv->load() #4 D:\Files\Random\AutoClaimOracle\oci-arm-host-capacity\index.php(19): Dotenv\Dotenv->safeLoad() #5 {main} thrown in D:\Files\Random\AutoClaimOracle\oci-arm-host-capacity\vendor\vlucas\phpdotenv\src\Parser\Parser.php on line 30 ``` Something to do with this probably : `OCI_PRIVATE_KEY_FILENAME="D:\Apps\Putty\id_rsa.ppk"` Im using win 11.
1 条评论