xampp 2026-04-16_MeRgE.kie.txt

.._________________________________________________________________________________________
.. xampp setup.txt 260416_152019
.__________________________________________________________________________________________

http-ssl.conf

httpd-vhost.conf

を更新

openssl-san.cnf を新規作成

keyとcrtにkeyを装備

Mail
Net
Mail.php を Pearにコピー

Perl
lib/Jcodeフォルダ
lib/Jcode.pm をコピー
.._________________________________________________________________________________________
.. xamppインストール方法(1).txt 260416_152019
.__________________________________________________________________________________________

.._________________________________________________________________________________________
.. xampp入れ直し 差異.txt 260416_152019
.__________________________________________________________________________________________
———————————————————–
php/php.ini

;extension=php_openssl.dll

extension=php_openssl.dll
———————————————————–
phpMyadmin/config.inc.php
$cfg[‘Servers’][$i][‘password’] = ”;

$cfg[‘Servers’][$i][‘password’] = ‘********’;
—————————–

最下行に追加
/**
* maximum execution time in seconds (0 for no limit)
*
* @global integer $cfg[‘ExecTimeLimit’]
*/
$cfg[‘ExecTimeLimit’] = 6000;
———————————————————–

sendmail/sendmail.ini

smtp_ssl=auto

;smtp_ssl=auto
smtp_ssl=tls
———————————————————–

apache/conf/ssl.crt/my-server.crt
apache/conf/ssl.key/my-server.key
mysql/data

xampp入れ直し 差異2

php.ini

バージョンアップではパス指定に”C:”が省かれているが

zend_extension = “c:\pleiades\xampp\php\ext\php_xdebug.dll”

ははぶくとエラーになる

max_execution_time = 300
memory_limit = 256M
post_max_size = 256M
upload_max_filesize = 256M
;extension=php_imagick.dll
date.timezone = Asia/Tokyo
;SMTP = localhost
;smtp_port = 25
date.timezone=Asia/Tokyo
—————————————————————————–
sendmail.ini
smtp_server=smtp.gmail.com
smtp_port=587
;smtp_ssl=auto
smtp_ssl=tls
auth_username=*******@gmail.com
auth_password=********
force_sender=*******@gmail.com
.._________________________________________________________________________________________
.. ローカル環境でのSSLの実現方法.txt 260416_152019
.__________________________________________________________________________________________
今日はローカル環境でのSSLのやり方についてご紹介します。

openssl-san.cnf とテキストエディタを開いて openssl-san.append.cnf をコピペ追加

こんなふうに追加していきます。

つづいて gitbashを開きます。

そして、以下のようなコマンドを入力します。

これで、

my-server.crt と
my-server.key

というファイルが出来上がります。

これを、該当ディレクトリに移動します。

crtとkeyを該当ディレクトリにコピー

my-server.crt をダブルクリック。後は解説サイトのやり方

hostsには以下のようにしておきます

場所は C:\Windows\System32\drivers\etc にあります。

httpd-ssl.conf

.._________________________________________________________________________________________
.. localhost の ssl化の方法.txt 260416_152019
.__________________________________________________________________________________________
opensslはconfじゃなくてcnfとやり方

openssl-san.cnf とテキストエディタを開いて openssl-san.append.cnf をコピペ追加

gitbash

openssl req -newkey rsa:4096 -keyout my-server.key -x509 -nodes -out my-server.crt -subj “//CN=localhost” -reqexts SAN -extensions SAN -config openssl-san.cnf -days 3650

crtとkeyを該当ディレクトリにコピー

my-server.crt をダブルクリック。後は解説サイトのやり方

chrome設定→プライバシートセキュリティ→セニュリティ→」証明書の管理

「先に削除しておく」では検索窓を使う

解説サイト

XAMPP for WindowsでSSLを有効にする - Qiita
目標 XAMPPで「」を表示可能にします。 自作の証明書を認証して、警告を表示させないようにします。 未認証: 認証済: 環境 Windows 10 XAMPP 7.2.2 XAMPPの設定 PHPでOpenSSLを有...

apache & DB & chrome再起動だけではダメで、PCそのものの再起動が必要だった
.._________________________________________________________________________________________

.._________________________________________________________________________________________
.. Apache起動でエラー.txt 260416_152019
.__________________________________________________________________________________________
15:56:18 [Apache] Attempting to start Apache app…
15:56:18 [Apache] Status change detected: running
15:56:25 [Apache] Status change detected: stopped
15:56:25 [Apache] Error: Apache shutdown unexpectedly.
15:56:25 [Apache] This may be due to a blocked port, missing dependencies,
15:56:25 [Apache] improper privileges, a crash, or a shutdown by another method.
15:56:25 [Apache] Press the Logs button to view error logs and check
15:56:25 [Apache] the Windows Event Viewer for more clues
15:56:25 [Apache] If you need more help, copy and post this
15:56:25 [Apache] entire log window on the forums

SSLを設定し直したら治った
.._________________________________________________________________________________________
.. http error 500 このページは動作していません.txt 260416_152019
.__________________________________________________________________________________________
php.ini

error_log=”C:\pleiades\xampp\php\logs\php_error_log”

ディレクトリがないと生成してくれない