![]() ![]() All modules in the PECL repository are developed in strict accordance with the coding standards adopted by the PHP development team, so the quality of their work should not cause you any doubts. They are used in cases when it is not possible to implement some ideas in PHP - for example, reloading operators. We should also mention the repository of native extensions for PHP written in the C language. You can also install PHP extensions via the ISPmanager control panel or any other – there in the corresponding tab you can download and install all the necessary packages without a console. In general, the complete list of all existing PHP extensions is estimated at hundreds of different modules, most of which are highly specialized and are used by IT specialists to optimize work tasks. php-zip, php-zlib - useful for those who work with archives.php-mbstring - required, needed for string processing.php-posix - used in the WP_Filesystem_Direct class.php-iconv - converting a string from one encoding to another.php-gd - used when processing images, needed often.php-exif - required to work with photo meta data.php-dom - sometimes needed when working with Windows hosting, but most often not in demand.php-ctype - is needed in cases when a Fatal error occurs during operation: Call to undefined function ctype_digit() in /wp-admin/includes/file.php.php-mysql - needed when working with a database, most often put together with the main language package.For WordPress, for example, you may need the following: ![]() Only instead of it is necessary to substitute the name of the plugin of interest. To install packages, use the command: sudo apt install php. They are often needed for programmers and webmasters to work, as they help to implement many interesting features. These package modules are compiled libraries that extend the basic functions of PHP. ![]() You can check the status of its work using the command: systemctl status php7.4-fpmĪnd now we proceed directly to the installation of PHP extensions. Upon completion of the installation, the service will start working, you will not even need to reboot. Through the console we drive in: sudo apt update This web server does not support PHP processing out of the box, so it will need a FastCGI - PHP–FPM process manager to work. Users of this web server only need to execute two commands sequentially: sudo apt updateĪnd then restart the web server so that the changes take effect and the PHP scripts start working: sudo systemctl restart apache2 What you will learn about in this article? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |