こんにちは、
は、CakePHPのポートが他のシステム上で右IIS 7で構成され、右のPHPのバージョンでIIS 7の実行をしているのですか? localhostマシン上のIIS7のデータベースがインストールされていますか? mod_rewriteはIIS 7で有効になっていますか? IIS 7でweb.configが変更されていますか?
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Exclude direct access to webroot/*"
stopProcessing="true">
<match url="^webroot/(.*)$" ignoreCase="false" />
<action type="None" />
</rule>
<rule name="Rewrite routed access to assets(img, css, files, js, favicon)"
stopProcessing="true">
<match url="^(img|css|files|js|favicon.ico)(.*)$" />
<action type="Rewrite" url="webroot/{R:1}{R:2}"
appendQueryString="false" />
</rule>
<rule name="Rewrite requested file/folder to index.php"
stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<action type="Rewrite" url="index.php"
appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
適切な設定でIIS 7サーバーでcakeAppを再構築する必要があります。
class DATABASE_CONFIG {
public $default = array(
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => 'localhost',
'port' => '8080'
'login' => 'cakephpuser',
'password' => 'c4k3roxx!',
'database' => 'my_cakephp_project',
'prefix' => ''
);
}
、そのようなことがあれば、あなたのcakeAppを確認してください。
アクセルアーノルドBangert
$request = array(
'method' => 'POST',
'uri' => array(
'scheme' => 'http',
'host' => $notificationUrl,
'port' => 8080,
敬具 - Herzogenrathの2016