当前位置:网站首页>Think PHP environment construction notes
Think PHP environment construction notes
2022-06-22 13:05:00 【Wandering hunter】
think php Environment building notes
1、php Installation package download
Download address :https://windows.php.net/download
2、PHP Class library installation file
1、 download composer.phar file , And put it on php The root directory .
2、 New file composer.cmd, write in :@php “%~dp0composer.phar” %*
3、composer update The command operation , Update class library .
3、 Verification code acquisition and installation
1、D:\opensource\php-7.4.24-Win32-vc15-x64\php.ini File modification
php Create a new file in the root directory verify, Download the certificate https://curl.se/docs/caextract.html, Put it in there
;openssl.cafile Modify it as follows :
openssl.cafile=D:/opensource/php-7.4.24-Win32-vc15-x64/verify/cacert.pem
;extension=openssl Revised as follows :
extension=openssl
Verification code acquisition requires operations :
;extension=gd2 It is amended as follows extension=gd2
cmd command , Execute in the home directory
composer require topthink/think-captcha ( remarks : There may be various prompts during execution , Modify according to the file prompt )
;extension_dir = “ext” It is amended as follows :
extension_dir = "ext"
4、 Service startup :
cmd Command into file public Catalog , perform :
php -S localhost:8888 router.php ( explain :8888 Port customization )
边栏推荐
- 智龄语音+php
- 别再用 System.currentTimeMillis() 统计耗时了,太 Low,StopWatch 好用到爆!
- Application of motion capture system in positioning and mapping of mobile robot in underground tunnel
- 企业官网如何提高客户转化率
- [game] Zhou Yu's skills
- Getting started with webrtc: 11 In kurento, rtendpoint is used to pull RTP streams for clustering in live broadcast
- MySQL_ Query of data processing
- MySQL_创建和管理表
- Latex Greek alphabet
- Heavyweight live | bizdevops: the way to break the technology situation under the tide of digital transformation
猜你喜欢

ffmpeg将amr格式转成mp3格式

Getting started with webrtc: 11 In kurento, rtendpoint is used to pull RTP streams for clustering in live broadcast

SNC processing failed SAP router certificate regeneration

Flutter——实现网易云音乐的Tabbar切换效果

The Chinese display of SAP client is garbled

Maui uses Masa blazor component library

Sequoiadb distributed database may 2022 issue

1961 check if string is a prefix of array

Recommend a virtual machine software for fast cluster building of M1 chip computers

Isn't this another go bug?
随机推荐
Final of the 13th Blue Bridge Cup embedded design and development project
[QT] qfileinfo get the components of the file name
8 challenges of BSS application cloud native deployment
Let's see how the SQL fails to execute
Flutter mixed development exercise - large picture of collaborative loading of ever & method channel
天坑专业学IC设计自学的话有公司会要吗
推荐一款M1芯片电脑快速搭建集群的虚拟机软件
Fast establishment of tensorflow2 model optimization environment
定金预售的规则思路详解
access_token不到两个小时失效的处理办法
JAXB element details
Lao Wang said that the sixth issue of the series: PHP programmers should build their own self-confidence
帝云CMS升级PHP8注意事项
MySQL_创建和管理表
MySQL笔记
微信支付二维码生成
Wisdom age voice +php
Reddit product director: a practical guide for NFT members for Web3 creators
think php环境搭建笔记
Flutter -- realize the tabbar switching effect of Netease cloud music