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

Source code installation php

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Download php source code: https://www.php.net/downloads.php

II. Tar decompression source code

III. Compilation

1. / configure is used to detect the target characteristics of your installation platform. For example, it will check if you have CC or GCC, it doesn't need CC or GCC, it's a shell script.

2. Make is used to compile. It reads instructions from Makefile and then compiles.

3. Make install is used to install. It also reads instructions from Makefile and installs to the specified location.

Note: AUTOMAKE and AUTOCONF are very useful for publishing C programs.

Simplify the php command

1. Vim ~ / .bash_profile adds path 2 to alias php=php and source ~ / .bash_profile takes effect.

5.

1. Find out which directory the php.ini configuration should be placed in: php-I | grep php.ini 2, php.ini-development: cp php.ini-development / usr/local/soft/php/lib 3 under the directory where the php source code is copied, and change the name to php.ini

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