도와주세요! PHP 배포를 위해 내 응용 프로그램이 허용되었습니다. 나는 내 애플 리케이션을 시험하고 싶지만 PHP를 실행할 수 없다. 나는 Windows 7 Ultimate x64를 사용하고 있습니다.GAE에서 PHP를 실행할 수 없습니다
경로 PHP : C : 사용자 \ \ 헤로인 \ PHP는 \ PHP를-cgi.exe
경로 SDK : C : 사용자 \ \ 헤로인 \의 google_appengine
경로 프로젝트 : C : \ 프로젝트 \ BBHOABINH \ helloworld를의 \
내가들이받은 명령 줄 플래그 :
google_appengine/dev_appserver.py --php_executable_path C : \ Project \ BBHOABINH \ helloworld \ "
테스트를 위해 작동하지 않습니다. 오류 로그 :
2013-06-10 00:54:05 Running command: "['C:\\Python27\\python.exe', 'C:\\Users\\Heroin\\google_appengine\\dev_appserver.py', '--skip_sdk_update_check=yes', '--port=8080', '--admin_port=8000', u'google_appengine\\dev_appserver.py', u'--php_executable_path=C:\\Users\\Heroin\\php\\php-cgi.exe helloworld\\', u'C:\\Users\\Heroin\\helloworld']"
usage: dev_appserver.py [-h] [--host HOST] [--port PORT]
[--admin_host ADMIN_HOST] [--admin_port ADMIN_PORT]
[--auth_domain AUTH_DOMAIN] [--storage_path PATH]
[--log_level {debug,info,warning,critical,error}]
[--max_server_instances MAX_SERVER_INSTANCES]
[--use_mtime_file_watcher [USE_MTIME_FILE_WATCHER]]
[--php_executable_path PATH]
[--php_remote_debugging [PHP_REMOTE_DEBUGGING]]
[--python_startup_script PYTHON_STARTUP_SCRIPT]
[--python_startup_args PYTHON_STARTUP_ARGS]
[--blobstore_path BLOBSTORE_PATH]
[--mysql_host MYSQL_HOST] [--mysql_port MYSQL_PORT]
[--mysql_user MYSQL_USER]
[--mysql_password MYSQL_PASSWORD]
[--mysql_socket MYSQL_SOCKET]
[--datastore_path DATASTORE_PATH]
[--clear_datastore [CLEAR_DATASTORE]]
[--datastore_consistency_policy {consistent,random,time}]
[--require_indexes [REQUIRE_INDEXES]]
[--auto_id_policy {sequential,scattered}]
[--logs_path LOGS_PATH]
[--show_mail_body [SHOW_MAIL_BODY]]
[--enable_sendmail [ENABLE_SENDMAIL]]
[--smtp_host SMTP_HOST] [--smtp_port SMTP_PORT]
[--smtp_user SMTP_USER]
[--smtp_password SMTP_PASSWORD]
[--prospective_search_path PROSPECTIVE_SEARCH_PATH]
[--clear_prospective_search [CLEAR_PROSPECTIVE_SEARCH]]
[--search_indexes_path SEARCH_INDEXES_PATH]
[--clear_search_indexes [CLEAR_SEARCH_INDEXES]]
[--enable_task_running [ENABLE_TASK_RUNNING]]
[--allow_skipped_files [ALLOW_SKIPPED_FILES]]
[--api_port API_PORT]
[--automatic_restart [AUTOMATIC_RESTART]]
[--dev_appserver_log_level {debug,info,warning,critical,error}]
[--skip_sdk_update_check [SKIP_SDK_UPDATE_CHECK]]
yaml_files [yaml_files ...]
**dev_appserver.py: error: unrecognized arguments: C:\Users\Heroin\helloworld
2013-06-10 00:54:06 (Process exited with code 2)**
이
이
application: helloworld
version: 1
runtime: php
api_version: 1
handlers:
- url: /stylesheets
static_dir: stylesheets
- url: /.*
script: helloworld.php
및 helloworld를 PHP 파일을 yaml_files
<html>
<head>
<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
</head>
<body>
<?php
echo 'Hello, World!';
php?>
</body>
</html>
제발 도와주세요, 감사합니다 :(
이