Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Detailed steps for php to install xml extension under linux

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Install xml extension under php linux

1. Go to PHP to install the source code package, find the 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.sovim / 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

Finding xml indicates success.

These are the details of the method of installing xml extensions on php under linux. If you have any additions to learn, you can contact the editor.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report