In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the relevant knowledge of how to solve the problem of make hash php errors, the content is detailed and easy to understand, the operation is simple and fast, and has a certain reference value. I believe you will gain something after reading this article on how to solve the problem of make hash php errors. Let's take a look.
The solution to the problem of make hash php error: 1, find "molten.c"; 2, replace the "HASH_FLAG_PERSISTENT" in the file with "IS_ARRAY_PERSISTENT"; 3, save the file and configure php.ini.
Operating environment: macOS 10.15.7 system, php7.3.24 version, DELL G3 computer
The test environment of this machine is macOS 10.15.7, nginx 1.19, php7.3.24, macbook air2017 computer
How to solve the problem of make hash php errors?
Php7.3 installation extension Molten encountered make compilation HASH_FLAG_PERSISTENT error problem-Captain Mu
1. Download the molten package https://github.com/chuan-yun/Molten, extract the directory and enter the directory.
Cd / Applications/MAMP/bin/php/php7.3.24/include/php/ext/Molten-master
2. The execution path of the phpize below phpize is based on the path of the default php version of your environment. (remember to switch to the swoole extension directory)
Sudo / Applications/MAMP/bin/php/php7.3.24/bin/phpize
3. Execute. / configure (pay attention to the path of php-config)
. / configure-with-php-config=/Applications/MAMP/bin/php/php7.3.24/bin/php-config-enable-zipkin-header=yes
4. Then make & & make install will encounter the problem as shown in the figure.
The reason for this error is that all versions of HASH_FLAG_PERSISTENT after 7.3have been changed to IS_ARRAY_PERSISTENT.
Solution:
Find the path file (the path to the downloaded Molten-master)
/ Applications/MAMP/bin/php/php7.3.24/include/php/ext/Molten-master/molten.c
Replace the HASH_FLAG_PERSISTENT in the file with IS_ARRAY_PERSISTENT, then save the file.
5. Continue to execute make & & make install. After success, configure php.ini and add the following (note the path)
This is the end of the article extension= "/ Applications/MAMP/bin/php/php7.3.24/lib/php/extensions/no-debug-non-zts-20180731/molten.so" on "how to solve make hash php errors". Thank you for reading! I believe that everyone has a certain understanding of the knowledge of "how to solve the problem of make hash php errors". If you want to learn more, you are welcome to follow the industry information channel.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.