search
Homephp教程PHP开发PHP configuration for PHP learning

PHP configuration for PHP learning

Dec 20, 2016 am 11:55 AM
php configuration

Starting today, I will introduce you to the basic knowledge of PHP learning. Today I will introduce the most basic PHP configuration.
1.php installation
Download the latest version of php from the Internet.
1. Copy the php directory to the C drive directory.
2. Copy the libmysql.dll file in the php directory to the c:windows/system32 directory.
3. Open the php directory, change the php.ini_dest file to php.ini, and make the configuration file.
4. Open the php.ini file and remove the semicolon in front of extension=php_gd2.dll and extension=php_mysql.dll, so that php can support GD2 functions and mysql database.
5. Restart apahce.
In this way, php is simply configured.
2.php configuration file
Then let’s briefly talk about the php configuration file.
";" indicates a comment. If you want to enable an extension, just delete the preceding ";".
max_execution_time = 30 The maximum execution time is 30 seconds
max_input_time = 60 The maximum input data time is 60 seconds
memory_limit = 128m The maximum memory occupied by each script is 128m
error_reporting = E_ALL&~E_NOTICE Display warning and error information
displaye_errors =On Display error switch On
post_max_size = 8m The maximum post data is 8m
file_uploads = On The file upload switch is on
upload_max_filesize = 8m The maximum file upload is 8m
extension = php_zip.dll Call the compressed package
date.timezone = "Asia/Chongqing" Set the time zone Set to China
session.save_path = "c:/temp" session save directory
extension_dir = "c:phpext" PHP function extension directory
The above is a simple PHP configuration, just a brief introduction, more details will be given later Explain the configuration of PHP to facilitate PHP learners to increase their knowledge.

The above is the content of PHP configuration for PHP learning. For more related content, please pay attention to the PHP Chinese website (www.php.cn)!


Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool