Installing XML extension in PHP Linux 1. Enter the PHP installation source package, find ftp under ext, and enter cd /home/local/php-5.6.25/ext/xml 2. Step 2 /usr/local/php/bin/phpize 3. Step 3 ./configure --with-php-config=/usr/local/php/bin/php-config 4. Step 4 make && make install 5. Step 5 cp /usr/local/php/lib/php/extensions/no-debug-zts-20131226/xml.so /usr/local/php/extension/xml.so vim /usr/local/php/etc/php.ini add: extension=xml.so 6. Restart Apache /usr/local/apache/bin/apachectl restart 7. Check whether the installation is successful: /usr/local/php/bin/php -m Found the xml description successfully. The above is the detailed content of how to install XML extension in PHP under Linux. If you have any supplements when learning, you can contact the editor of 123WORDPRESS.COM. You may also be interested in:
|
<<: Vue3.0 implements the magnifying glass effect case study
>>: JavaScript event loop case study
Easy installation of opencv2: conda install --cha...
Table of contents Supports multiple types of filt...
Generate Linux library The Linux version uses cen...
1 Keep the rpm package downloaded when yum instal...
Table of contents 1. Use object to create an obje...
Table of contents 4 isolation levels of MySQL Cre...
Table of contents Creating Arrays in JavaScript U...
Table of contents Object parameters using destruc...
Configure service startup and shutdown in Linux s...
You may have set a MySQL password just now, but f...
Doccer Introduction: Docker is a container-relate...
Operating environment: MAC Docker version: Docker...
Batch comments in SQL Server Batch Annotation Ctr...
In the horizontal direction, you can set the row ...
Recently, I plan to deploy a cloud disk on my hom...