current location:Home > Technical Articles > Backend Development > PHP7

  • php5 upgrade php7 fails to connect to mysql database
    php5 upgrade php7 fails to connect to mysql database
    The solution to the failure of php5 to connect to mysql database when php7 is upgraded is: Since the mysql_connect() function used by php5 to connect to mysql has been abandoned in php7, the function mysqli_connect() needs to be used in php7 to connect to the mysql database.
    PHP7 4227 2023-02-17 12:52:01
  • What is the difference between php7 garbage collection and php5
    What is the difference between php7 garbage collection and php5
    The difference between the garbage collection mechanisms of php7 and php5 is: the garbage collection mechanisms of PHP5 and PHP7 both belong to reference counting. However, in the algorithm processing of complex data types, the memory required by zval in PHP7 is no longer allocated separately from the heap. Store the reference count yourself.
    PHP7 3507 2023-02-17 12:50:01
  • How to install php7
    How to install php7
    The installation method of php7 is: 1. Download the php7 decompressed file and rename the decompressed file to PHP7; 2. Copy php.ini-development and rename it to PHP.ini; 3. Modify the apache configuration file httpd.conf.
    PHP7 4517 2023-02-17 12:48:01
  • Why does php7 performance improve?
    Why does php7 performance improve?
    The reasons for the performance improvement of php7 are: 1. The structure for storing variables becomes smaller; 2. The change of the string structure; 3. The change of the array structure; 4. The function calling mechanism is improved and the execution efficiency is improved.
    PHP7 3356 2023-02-17 12:46:02
  • Interview on the difference between php7 and php5
    Interview on the difference between php7 and php5
    The difference between php7 and php5 is: 1. The performance of php7 is twice that of php5; 2. Many fatal errors in php5 have been changed into exceptions in php7; 3. Compared with php5, php7 has removed some old SAPIs that are no longer supported. .
    PHP7 5382 2023-02-17 12:44:01
  • Differences between php versions
    Differences between php versions
    The difference between various versions of PHP is: PHP5.3 adds a lot of new features, and also adds magic methods __invoke() and __callStatic(); zval in PHP7 uses stack memory, saving memory allocation.
    PHP7 9933 2023-02-17 12:42:02
  • Reasons for performance improvement of php7
    Reasons for performance improvement of php7
    The reasons for the performance improvement of PHP7 are: 1. The structure for storing variables becomes smaller; 2. The change of the string structure; 3. The change of the array structure; 4. The function calling mechanism is improved and the execution efficiency is improved.
    PHP7 3768 2023-02-17 12:40:01
  • Summary of problems that occur when installing PHP7 on mac
    Summary of problems that occur when installing PHP7 on mac
    A few days ago, I ran workrman on a mac. Because workman needs to open multiple processes, multiple processes require the support of the pcntl extension. The php71 I installed with brew before did not have this extension, so I uninstalled php71 directly, and then I wanted to download the source code, compile and install php7. higher version.
    PHP7 4727 2023-02-17 12:38:02
  • Ubuntu16.04 PHP7 installation and Nginx PHP
    Ubuntu16.04 PHP7 installation and Nginx PHP
    php7.0-fpm.sock has insufficient permissions; the webroot path is incorrect; install PHP7.
    PHP7 2832 2023-02-17 12:36:01
  • php.ini, php-fpm and www.conf configuration in PHP7
    php.ini, php-fpm and www.conf configuration in PHP7
    php.ini is the core configuration file for running PHP. Here are some common configurations.
    PHP7 5409 2023-02-17 12:34:02
  • Detailed explanation of php7 garbage collection mechanism
    Detailed explanation of php7 garbage collection mechanism
    The author became interested in this topic a few days ago, so I searched online and found that almost all of them are the garbage collection mechanism of php 5. Although the changes made in the GC part from php5 to php7 are relatively small, I think it is still necessary to write a separate blog post. . Unless otherwise specified, the php version is 7.2
    PHP7 8176 2023-02-17 12:32:01
  • PHP7 openssl function replaces mcrypt function encryption and decryption method
    PHP7 openssl function replaces mcrypt function encryption and decryption method
    PHP7 uses the openssl function to replace the mcrypt function for data encryption. The openssl extension uses the openssl encryption extension package, which encapsulates multiple PHP functions related to encryption and decryption, which greatly facilitates the encryption and decryption of data.
    PHP7 3865 2023-02-17 12:30:02
  • How to encrypt php7.0 openssl_encrypt
    How to encrypt php7.0 openssl_encrypt
    The mcrypt_encryp version of php5.4 is upgraded to php7.0. The encryption field of openssl_encrypt is different. The php7.0 version and above do not support the code encrypted by the mcrypt_encryp function.
    PHP7 8871 2023-02-17 12:28:01
  • Thoroughly explain PHP7 and comprehensively introduce the new features of PHP7
    Thoroughly explain PHP7 and comprehensively introduce the new features of PHP7
    Speaking of following the fashion back then, I immediately installed php7 on my computer as soon as it came out. php5 and php7 coexisted. I immediately wrote a super time-consuming loop script and tested it. It is true that php7 is much more powerful. Then I also paid attention to some new additions. Features and some discarded usage.
    PHP7 6777 2023-02-17 12:26:01
  • php7 install sodium extension
    php7 install sodium extension
    Currently using Centos7.x system, PHP uses version 7.2. Installing libsodium libsodium is a necessary dependency for installing sodium extension. I provide two installation methods here, compiling and directly yum compiling and installing libsodium wget https://g
    PHP7 12043 2023-02-17 12:24:01

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28