| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

差分

ナビゲーションに移動 検索に移動
1,198 バイト追加 、 2021年3月12日 (金) 07:04
| [[FuelPHP]] | [[PHP]] | [[MySQL]] | [[Apache]] |
==XAMPP==
*https://www.apachefriends.org/jp/index.html
{{amazon|4839962340}}===[[Ubuntu]]===
====インストール====
----
$ wget https://sourceforge.net/projects/xampp/files/XAMPP%20Linux/8.0.2/xampp-linux-x64-8.0.2-0-installer.run
$ chmod +x xampp-linux-x64-8.0.2-0-installer.run
</pre>
 
====インストール====
----
*サイレントモードでインストール
*確認
<pre>
$ sudo ./xampp-linux-x64-8.0.2-0-installer.run --help
</pre>
====*インストール====----*サイレントモードでインストール
<pre>
$ sudo ./xampp-linux-x64-8.0.2-0-installer.run --mode unattended
*インストール完了
[[File:Xampp_installed.png|400px]]
 
====ドキュメントルートに書き込み権限====
----
XAMPP: Starting ProFTPD...already running.
</pre>
 ====[[MySQL]] root初期パスワード設定====----<pre>$ mysqladmin -u root passwordNew password: Confirm new password: </pre>=====[[phpMyAdmin]]にアクセスできなくなる=====*/opt/lampp/phpmyadmin/config.inc.php **自動ログイン : 設定ファイルにパスワードを記入**ログイン画面を表示 : auth_type を cookie<pre>$cfg['Servers'][$i]['auth_type'] = 'config';$cfg['Servers'][$i]['user'] = 'root';$cfg['Servers'][$i]['password'] = '';</pre> ===[[phpMyAdmin]]=======アクセスエラー====----[[File:phpmyadmin_access_err.png|400px]] Access to the requested directory is only available from the local network.This setting can be configured in the file "httpd-xampp.conf". *$ sudo vi /opt/lampp/etc/extra/httpd-xampp.conf*Require を local から all granted に変更<pre>Alias /phpmyadmin "/opt/lampp/phpmyadmin" # since XAMPP 1.4.3<Directory "/opt/lampp/phpmyadmin"> AllowOverride AuthConfig Limit# Require local Require all granted ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var</Directory></pre>

案内メニュー