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

  • Error and exception handling in php7
    Error and exception handling in php7
    Errors are inevitable when writing programs. How to find, locate and correct errors is a science. Today I will talk to you about errors and exceptions after php7. Classification of errors Generally, errors are divided into syntax errors, runtime errors, and logic errors.
    PHP7 2556 2023-02-17 17:20:01
  • Detailed explanation of php7 mysql extension installation method
    Detailed explanation of php7 mysql extension installation method
    php mysql installation method: first download the mysql extension; then unzip and initialize it using the phpize tool; then configure and execute "make && make install"; finally add the content as "extension=pdo_mysql.so".
    PHP7 4626 2023-02-17 17:18:01
  • How to disable Xdebug in PHP7
    How to disable Xdebug in PHP7
    How to disable Xdebug in PHP: first enter the PHP installation directory; then find "/usr/local/php/php.d/xdebug.ini"; then comment out the statements in "xdebug.ini"; finally save and exit.
    PHP7 3854 2023-02-17 17:16:02
  • Notes on session_start in PHP7!
    Notes on session_start in PHP7!
    ​Notes on session_start in PHP7 will cause the browser page not to update! Precautions for using session_start in PHP7. Close the session storage file immediately after reading the session data // After enabling it, when the browser refreshes, the page will no longer request the server to refresh. You can only use...
    PHP7 3661 2023-02-17 17:14:01
  • How to install php7 under Linux
    How to install php7 under Linux
    How to install php7 under Linux: first install the dependency package, and download and decompress the installation package; then check the dependencies of the environment, compile and install; then rename [php.ini-production] to [php.ini]; finally copy the startup script , and start PHP.
    PHP7 5038 2023-02-17 17:12:02
  • What is the usage of php7 use
    What is the usage of php7 use
    PHP use means that you can use a use in PHP to import classes, functions and constants from the same namespace. The usage statement is "use some\namespace\ClassA; use some\namespace\ClassB;".
    PHP7 4344 2023-02-17 17:10:01
  • How to install php7 with one click
    How to install php7 with one click
    If you want to install php7 with one click, you can download the phpStudy V8 tool, because phpStudy is a program integration package for PHP debugging environment, and phpStudy V8 Win64 and 32-bit support the coexistence of multiple versions of PHP.
    PHP7 3439 2023-02-17 17:08:02
  • Solution to the error 'make: *** [sapi/cli/php]Error1' when installing PHP7.3.7
    Solution to the error 'make: *** [sapi/cli/php]Error1' when installing PHP7.3.7
    The cause of the problem was that configure was normal during the compilation and installation of PHP 7.3.7, but it kept prompting "make: * [sapi/cli/php] Error 1" when making. It took me a long time to find the solution, so I thought of recording it in here...
    PHP7 4087 2023-02-17 17:06:01
  • Let's take a look at the detailed explanation and examples of golang calling php7
    Let's take a look at the detailed explanation and examples of golang calling php7
    This article mainly introduces the detailed explanation and examples of golang calling php7. Friends in need can refer to it.
    PHP7 4053 2023-02-17 17:04:02
  • How to use xhprof to test php performance in php7? (Method introduction)
    How to use xhprof to test php performance in php7? (Method introduction)
    PHP's xhprof extension is no longer updated and maintained by Facebook because Facebook has fully used HHVM and no longer uses the PHP zend engine. xhprof does not support the new version of PHP (PHP7). The tideways extension is forked from the xhprof project and continues to be maintained.
    PHP7 5239 2023-02-17 17:02:01
  • Do you know what causes php7 to be faster than 5?
    Do you know what causes php7 to be faster than 5?
    Reasons for performance improvement? 1. The structure that stores variables becomes smaller. Try to make the members of the structure share memory space and reduce references. This way the memory usage is reduced and the operation speed of variables is improved. 2. Changes to the string structure. The string information and data itself were originally stored in two independent memory blocks. PHP7 tries to store them in the same memory block, which improves the CPU cache hit rate. 3. Changes in the array structure. Array elements and hash mapping tables will be stored in multiple memory blocks in php5. php7 tries to allocate them in the same memory block, reducing memory usage,..._Why is php7 faster than 5?
    PHP7 3207 2023-02-17 17:00:02
  • Linux source code installation php7.2.0
    Linux source code installation php7.2.0
    Source code package download address https://pan.baidu.com/s/1bpi4D9l2. Unzip the php compressed package: tar –zxvf php-7.2.0.tar.gz3. Enter the decompressed file: cd php7.2.04. What is needed to install php Extend yum install libxml2 libxml2-devel openssl opens...
    PHP7 3410 2023-02-17 16:58:01
  • Detailed explanation of how to install php7 on centos yum
    Detailed explanation of how to install php7 on centos yum
    How to install php7 on centos yum: first upgrade the yum warehouse package to the rpm package of PHP7; then use the yum command to install basic PHP components; then install "PHP-fpm" and start "php-fpm"; finally check the version to detect whether Successful installation.
    PHP7 3899 2023-02-17 16:56:02
  • How to completely delete PHP7.0 from Ubuntu
    How to completely delete PHP7.0 from Ubuntu
    How to completely delete PHP in Ubuntu: first delete the relevant packages and configurations of PHP through the command "sudo apt-get autoremove php7*"; then delete the association; then clear the dept list; and finally check whether the uninstall is clean.
    PHP7 5468 2023-02-17 16:54:01
  • What optimizations have been made at the bottom of PHP7?
    What optimizations have been made at the bottom of PHP7?
    The optimizations made at the bottom of PHP7 include: 1. Optimization of the ZVAL structure, reducing the occupancy from 24 bytes to 16 bytes; 2. The internal type "zend_string", the structure member variables use "char" arrays, not "char*" "; 3. PHP array implementation changes from hashtable to zend and so on.
    PHP7 4323 2023-02-17 16:52:02

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