LoginSignup
0
3

More than 5 years have passed since last update.

xserverでpythonを実行させる方法

Last updated at Posted at 2019-04-02

参考サイト

メモ

実行ファイルpyの設定

  • パーミッションは705
  • pyファイル1行目をenv表記で記入  →#!/usr/bin/env python
  • Internal Server Error が表示されてCGIプログラムが動かない  →改行コードをLFにする

同階層に.htaccess(パーミッション705)を設置し、下記1行を記入

  • AddHandler cgi-script .py
0
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
3