Ground Sunlight

Windowsで作る - PHPプログラミングの開発環境

ユーザ用ツール

サイト用ツール


xampp:7.2

差分

このページの2つのバージョン間の差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
xampp:7.2 [2020/11/19 14:57]
y2sunlight [MariaDBのサービス登録]
xampp:7.2 [2020/11/21 18:01] (現在)
y2sunlight [MariaDBのサービス登録]
行 19: 行 19:
   * Tomcat 7.0.92 (with mod_proxy_ajp as connector)   * Tomcat 7.0.92 (with mod_proxy_ajp as connector)
   * Strawberry Perl 5.16.3.1 Portable   * Strawberry Perl 5.16.3.1 Portable
 +
 +-----
  
 ===== パッケージの入手 ===== ===== パッケージの入手 =====
行 174: 行 176:
 ここでは、ApacheやMadiaDBのサービスを手動で登録する方法を説明します。コントロールパネルでサービス登録できる場合は以下の説明を読む必要はありません。Windowsのユーザーアカウント制御(UAC)が働いて、XAMPPのコントロールパネルからサービス登録ができない場合に以下の方法を試してみて下さい。 ここでは、ApacheやMadiaDBのサービスを手動で登録する方法を説明します。コントロールパネルでサービス登録できる場合は以下の説明を読む必要はありません。Windowsのユーザーアカウント制御(UAC)が働いて、XAMPPのコントロールパネルからサービス登録ができない場合に以下の方法を試してみて下さい。
  
 +\\
 ==== Apacheのサービス登録 ==== ==== Apacheのサービス登録 ====
  
   - コマンドプロンプトを**管理者権限**で起動する。   - コマンドプロンプトを**管理者権限**で起動する。
-  - Apacheのインストールフォルダ(本編の例では:D:\usr\xampp7.2.22\apache\bin)に移動する。+  - Apacheのインストールフォルダ( 本編の例では ''D:\usr\xampp7.2.22\apache\bin'' )に移動する。
   - 以下のコマンドを実行する。   - 以下のコマンドを実行する。
 <code dos> <code dos>
行 185: 行 188:
 実行例 実行例
 <code dos> <code dos>
-D:\cd \usr\xampp7.2.22\apache\bin 
- 
 D:\usr\xampp7.2.22\apache\bin>httpd -k install -n "Apache2.4" -f "D:/usr/xampp7.2.22/apache/conf/httpd.conf" D:\usr\xampp7.2.22\apache\bin>httpd -k install -n "Apache2.4" -f "D:/usr/xampp7.2.22/apache/conf/httpd.conf"
 +
 Installing the 'Apache2.4' service Installing the 'Apache2.4' service
 The 'Apache2.4' service is successfully installed. The 'Apache2.4' service is successfully installed.
 Testing httpd.conf.... Testing httpd.conf....
 Errors reported here must be corrected before the service can be started. Errors reported here must be corrected before the service can be started.
- 
-D:\usr\xampp7.2.22\apache\bin> 
 </code> </code>
  
->Apacheの起動/停止/再起動は、[コンピュータの管理 > サービスとアプリケーション > サービス > Apache2.4]から、または以下のコマンドで行うことができます。 +Apacheの起動/停止/再起動は、[コンピュータの管理 > サービスとアプリケーション > サービス > Apache2.4]から、または以下のコマンドで行うことができます。 
-><code dos>+ 
 +<code dos>
 net start Apache2.4 net start Apache2.4
 net stop Apache2.4 net stop Apache2.4
 </code> </code>
  
-サービスから削除するには以下のコマンドを実行します。+サービス登録から削除するには以下のコマンドを実行します。
 <code dos> <code dos>
 httpd -k uninstall -n "{サービス名}" httpd -k uninstall -n "{サービス名}"
行 208: 行 209:
  
 実行例 実行例
 +
 <code dos> <code dos>
 D:\usr\xampp7.2.22\apache\bin>httpd -k uninstall -n "Apache2.4" D:\usr\xampp7.2.22\apache\bin>httpd -k uninstall -n "Apache2.4"
 +
 Removing the 'Apache2.4' service Removing the 'Apache2.4' service
 The 'Apache2.4' service has been removed successfully. The 'Apache2.4' service has been removed successfully.
- 
-D:\usr\xampp7.2.22\apache\bin> 
 </code> </code>
 +
 +\\
 +
  
 ==== MariaDBのサービス登録 ==== ==== MariaDBのサービス登録 ====
  
   - コマンドプロンプトを**管理者権限**で起動する。   - コマンドプロンプトを**管理者権限**で起動する。
-  - MariaDBのインストールフォルダ(本編の例では:D:\usr\xampp7.2.22\mysql\bin)に移動する。+  - MariaDBのインストールフォルダ( 本編の例では ''D:\usr\xampp7.2.22\mysql\bin'' )に移動する。
   - 以下のコマンドを実行する。   - 以下のコマンドを実行する。
  
行 228: 行 232:
 実行例 実行例
 <code dos> <code dos>
-D:>cd \usr\xampp7.2.22\mysql\bin 
- 
 D:\usr\xampp7.2.22\mysql\bin>mysqld --install "MariaDB10.4" --defaults-file="D:/usr/xampp7.2.22/mysql/bin/my.ini" D:\usr\xampp7.2.22\mysql\bin>mysqld --install "MariaDB10.4" --defaults-file="D:/usr/xampp7.2.22/mysql/bin/my.ini"
 +
 Service successfully installed. Service successfully installed.
 </code> </code>
  
->mariaDBの起動/停止/再起動は、[コンピュータの管理 > サービスとアプリケーション > サービス > mariaDB10.4]から、または以下のコマンドで行うことができます。 +mariaDBの起動/停止/再起動は、[コンピュータの管理 > サービスとアプリケーション > サービス > mariaDB10.4]から、または以下のコマンドで行うことができます。 
-><code dos>+ 
 +<code dos>
 net start mariaDB10.4 net start mariaDB10.4
 net stop mariaDB10.4 net stop mariaDB10.4
xampp/7.2.1605765464.txt.gz · 最終更新: 2020/11/19 14:57 by y2sunlight