# php2python **Repository Path**: baipiaodaxia/php2python ## Basic Information - **Project Name**: php2python - **Description**: PHP通过stocket请求调用python - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2022-01-03 - **Last Updated**: 2022-01-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # php2python #### 项目介绍 PHP通过stocket请求调用python #### 软件架构 软件架构说明 #### 安装教程 1. PHP5.6版本 2. python3 #### 使用说明 1. 配置stocket端口 - php2python.php - define("LAJP_IP", "127.0.0.1"); //Python端IP - define("LAJP_PORT", 21230); //Python端侦听端口 - php2python.py - LISTEN_PORT = 21230 - 端口一致 2. 运行php2python - python php2python.py - 在python3运行成功 3. php加载php2python - require_once "./php2python.php"; - 参考test.php 4. 没有更多说明了:) #### 参与贡献 1. Fork 本项目 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request