Hongmu Notes
Home Program Notes PHPStudy 8.2 Extension Fix
Program Notes PHP Hobbies

PHPStudy 8.2 Extension Fix

PHPStudy 8.2 Extension Fix

I don't know what's going on with PHP...

When running PHP version 8.2, the extension fails to install; upon checking the `php.ini` configuration file, nothing is found.

Simply find a piece of content and enter it – and the problem is solved.

[PHP]
engine = On
short_open_tag = On
precision = 14
output_buffering = 4096
zlib.output_compression = Off
implicit_flush = Off
serialize_precision = -1
disable_functions =
disable_classes =
zend.enable_gc = On
expose_php = On
max_execution_time = 30
max_input_time = 60
memory_limit = 256M
error_reporting = E_ALL
display_errors = On
display_startup_errors = On
log_errors = On
error_log =
post_max_size = 20M
upload_max_filesize = 20M
max_file_uploads = 20
default_charset = "UTF-8"
default_mimetype = "text/html"
default_socket_timeout = 60
date.timezone = Asia/Shanghai
extension_dir = "D:\phpstudy_pro\Extensions\php\php8.2.9nts\ext"


; ============ 必须开启的扩展 ============
extension=curl
extension=mbstring
extension=openssl
extension=fileinfo
extension=pdo_sqlite
extension=sqlite3


; ============ 常用扩展(需要就开) ============
extension=gd
extension=zip
extension=mysqli
extension=pdo_mysql
extension=exif
extension=iconv


; ============ 可选:性能优化 ============
zend_extension=opcache
opcache.enable=1
opcache.enable_cli=0
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60


; ============ Session ============
session.save_handler = files
session.use_strict_mode = 0
session.use_cookies = 1
session.use_only_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_httponly =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
session.bug_compat_42 = Off
session.bug_compat_warn = Off
session.referer_check =
session.cache_limiter = nocache
session.cache_expire = 180


微信赞赏

WeChat

支付宝赞赏

Alipay

✍️ Author: Hong Mu

webmaster · Thanks for reading, stay tuned for more exciting content

Author homepage View home page →

Related articles

EmpireCMS uses PHP to directly submit data for updating articles.

EmpireCMS uses PHP to directly submit data for updating articles. Program Notes Empire cms Language Notes PHP

Submitted code: While having some free time, I took the time to thoroughly study the Train Engine module and integrate it with Empire CMS, resulting in the following code. Experienced PHP developers are welcome to modify this code; however, this is merely a simple submission script – the data must be configured manually! <?php $url = "http://www.4s5.cn/e/admin/123.php"; // Replace this with the actual URL where the data should be received...
👁 385
sqlite database online php read operation view, pbootcms database online view

sqlite database online php read operation view, pbootcms database online view Program Notes PbootCms Language Notes PHP

When using pbootcms, a database is often used, but the database of pb is a .db file, so it is very troublesome. There is no ready-made visualization page to view the database, so a php visualization page for php online viewing is developed here. This will be much more convenient. How to use? In the folder of the db file, create a php, put the following code in it, modify your database name, and then access p...
👁 167
Resource website typecho001 template

Resource website typecho001 template Program Notes Typecho

typecho001 template template please do not modify the folder name of this template. The folder name is: typecho001 1.4 Fix the js output problem on the article page 1.3 Fix the error prompt when the plug-in is not installed Optimize the list page code output 1.2 Fix the comment function and add a custom homepage title 1.1 Fix the comment reply asymmetry function Add a separate title setting function on the homepage Add the website favicon.ico icon Add one...
👁 197
Modification of typecho paging style

Modification of typecho paging style Program Notes Typecho

Sir, times have changed! Typecho is currently the most perfect solution, because Baidu can only see the code of fixed thinking. The actual generated HTML code is breathtakingly clean and fully customized, including adding classes to the li element, adding classes to the a element, adding classes to the previous page and next page, and removing the li tags that come with typecho to express more. I can even add some text to the content inside...
👁 516

Recommended reading

(Adaptive Mobile Version) Law Firm PBootCMS Website Template – Download Responsive Legal Consultation Website Source Code – 0582

(Adaptive Mobile Version) Law Firm PBootCMS Website Template – Download Responsive Legal Consultation Website Source Code – 0582 Practical Collection pbootcms Template

A responsive PbootCMS website template designed for law firms and legal consultation services, compatible with both PC and WAP devices. Its professional and authoritative design is ideal for lawyers or law firms to showcase their legal expertise, successful case studies, and team profiles. This template helps legal service providers establish an authoritative online presence and attract clients. Template Display | Installation Instructions | Website Backend: /admin.php | Username: admin | Password: admin | Extraction Password: www.4s5....
👁 63
Children's wear international trade responsive English website template – 1115

Children's wear international trade responsive English website template – 1115 Practical Collection Yiyou template

An EyouCMS responsive English-language website template designed for children's wear export trade. Its fashionable and playful design effectively showcases children's clothing products, brand stories, export advantages, and global market presence. This template helps children's wear brands promote their products in international markets and expand their overseas sales channels. Template Overview | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | EyouCMS...
👁 50
Responsive Heavy-Duty Equipment Accessories Website Template 0369

Responsive Heavy-Duty Equipment Accessories Website Template 0369 Practical Collection Yiyou template

This EyouCMS responsive template is ideal for the heavy-duty equipment and accessories industry, featuring a professional industrial design style that effectively showcases heavy-duty equipment products, accessory ranges, technical specifications, and industrial applications. It enables heavy-duty equipment manufacturers to present their products online and attract industrial customers. Template Display | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | EyouCMS...
👁 51
php split a string into its constituent characters

php split a string into its constituent characters Language Notes PHP

Question: How to split a string into its constituent characters in PHP? For example, hello -> [h, e, l, l, o] There are three methods: This is the string that needs to be split: $str = 'Hello sample'; The length of the string: $len = mb_strlen($str, 'utf8'); // 7 The first way: $arr = str_…
👁 182
(Adaptive mobile terminal) seo fast row website pbootcms template atmosphere of IT network software company website source download 0819

(Adaptive mobile terminal) seo fast row website pbootcms template atmosphere of IT network software company website source download 0819 Practical Collection pbootcms Template

A SEO fast row and IT network software company PbootCMS website template, support mobile terminal access. Design style of atmospheric technology marketing, suitable for SEO service providers, network companies to display products and cases. Helps help Internet marketing companies attract corporate customers online. Template display, installation instructions website background: / admin.php account: admin password: admin decompression password: www.4s5.cn phase...
👁 65
(PC + WAP) Marketing-oriented green furniture and office solutions – PbootCMS website template; Download office desk and chair website source code – 0104

(PC + WAP) Marketing-oriented green furniture and office solutions – PbootCMS website template; Download office desk and chair website source code – 0104 Practical Collection pbootcms Template

This PbootCMS template features a green-themed design, specifically tailored for marketing-oriented office furniture and eco-friendly furniture enterprises, and is compatible with both PC and WAP devices. Its modern, minimalist style effectively showcases the aesthetic appeal and practicality of products such as office desks, chairs, and screens. This template enables furniture businesses to showcase their product lines online, thereby enhancing their brand image and boosting sales performance. Template Display | Installation Instructions | Website Backend: /admin.php | Username: admin | Password: admin...
👁 55