Exmentインストール

http://exment.localhost/adminを開いたところ、以下でエラーとなった。

PHPはバージョン7.1.3以上7.4.0未満が必要です。ご利用のバージョンは7.4.1です

 php-7.3.9-Win32-VC15-x86.zip をDLし

以下を読みながら、PHPをダウングレートした
https://www.server-engineer.net/entry/xampp_php_downgrade

Apache起動すると以下のエラーがでる。ポートの競合みたいなので、とりあえず再起動してみた。
Error: Apache shutdown unexpectedly.
17:26:56  [Apache] 	This may be due to a blocked port, missing dependencies, 
17:26:56  [Apache] 	improper privileges, a crash, or a shutdown by another method.
17:26:56  [Apache] 	Press the Logs button to view error logs and check
17:26:56  [Apache] 	the Windows Event Viewer for more clues
17:26:56  [Apache] 	If you need more help, copy and post this
17:26:56  [Apache] 	entire log window on the forums
根が深そうだったので、以下でPHP7.3.17 のXamppをDLして再度インストールする

https://www.apachefriends.org/download.html

MySQLに「homestead」データベースを新規作成する。
Windowsの環境変数に「C:\xampp\mysql\bin」を追加してDBの設定に以下でインストールが動いた。

  • データベース種類:MariaDB
  • ホスト名:127.0.0.1
  • ポート:3306
  • データベース:(上記で作成したデータベース名)
  • ユーザー名:root
  • パスワード:(空欄)
上手くたちあがったが他のPCから接続できない。
http://1103labo.blogspot.com/2015/04/xampppc.html
こちらをみてC:\XAMPP\apache\conf\extra\httpd-xampp.conf を修正してもだめだった

コメント

このブログの人気の投稿

Python OpenCVとWebカメラでバーコードリーダー

OpenCV 画像の足し算

OpenCV3とPython3で形状のある物体の輪郭と方向を認識する(主成分分析:PCA、固有ベクトル)