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

  • The meaning of php7 type constraints
    The meaning of php7 type constraints
    Before php7, functions and class methods did not need to declare variable types, and any data could be passed and returned. As a result, almost most calling operations had to determine whether the returned data type was qualified. In order to solve this problem, php7 introduced types. statement.
    PHP7 2904 2023-02-17 13:04:02
  • How to install PHP 7.4 in CentOS 8/RHEL 8 system
    How to install PHP 7.4 in CentOS 8/RHEL 8 system
    This article describes how to install PHP 7.4 in the CentOS 8/RHEL 8 operating system. PHP version 7.4.0RC1 has been released to developers and interested users for testing. Please note that PHP 7.4.0RC1 is not suitable for major deployments, and the expected official release date for GA is November 28, 2019.
    PHP7 5700 2023-02-17 13:02:01
  • PHP7 does not support curl vc15 version solution!
    PHP7 does not support curl vc15 version solution!
    The ultimate solution: 1. Remove the semicolon before extension=curl; 2. Place libssh2.dll in the php directory into the bin directory of the apache installation directory. 3. Restart apache ok, perfect solution.
    PHP7 3174 2023-02-17 13:00:02
  • ubuntu 16.04 + apache2 switch php7.1 to php7.3
    ubuntu 16.04 + apache2 switch php7.1 to php7.3
    Background: When updating Ubuntu, you choose to keep the current PHP version, which results in multiple PHP versions appearing, and phpinfo displays php7.1. After checking with php -i, I found that many extensions cannot be opened.
    PHP7 2720 2023-02-17 12:58:01
  • PHP7 windows adds custom extensions and compiles PHP source code
    PHP7 windows adds custom extensions and compiles PHP source code
    Determine the version that needs to be compiled, check PHPINFO, and determine the PHP version, VC version and PHP bit number. Download the corresponding Visual Studio or compiler according to the PHP VC version. The blogger's version in the picture below is VC15 and you need to download the Visual Studio 2017 version.
    PHP7 3506 2023-02-17 12:56:01
  • php7 cannot connect to mysql
    php7 cannot connect to mysql
    The reason why php7 cannot connect to mysql is: php7 abandoned the mysql_connect() function. Solution: 1. Add the php.ini file; 2. Remove the comment of the option extension; 3. Use PDO or mysqli to connect.
    PHP7 6057 2023-02-17 12:54:01
  • 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 4179 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 3459 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 4471 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 3294 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 5274 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 9889 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 3720 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 4649 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 2785 2023-02-17 12:36: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