次のコマンドで localhost サーバーを起動しようとすると、Syntax Error: unexpected character after line continuation characterが発生し続けます。
google_appengine\dev_appserver.py --php_executable_path="C:\Computer Science\PHP\php\php-cgi.exe" "C:\Computer Science\PHP\helloworld"
どうしたの?
私の app.yaml:
application: helloworld
version: 1
runtime: php
api_version: 1
handlers:
- url: /.*
script: helloworld.php
私の helloworld.py
<?php
echo 'Hello, World!';
?>
私のディレクトリ
/PHP
/php
/php-cgi.exe
/helloworld
/google_appengine
編集: 起動設定に php sdk と追加のコマンド ライン フラグを指定して、Google アプリ エンジン ランチャーを使用してアプリを実行しました
--php_executable_path=C:\Computer Science\PHP\php\php-cgi.exe
。サーバーがクラッシュしました。