|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesnone (last revision 2018-11-27 07:22 UTC by )Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-11-27 07:46 UTC] spam2 at rhsoft dot net
[2018-11-27 07:54 UTC] jackie dot luo at kpmg dot com
[2018-11-27 09:05 UTC] spam2 at rhsoft dot net
[2018-11-27 13:07 UTC] cmb@php.net
-Status: Open
+Status: Feedback
[2018-11-27 13:07 UTC] cmb@php.net
[2018-11-27 13:07 UTC] cmb@php.net
-Assigned To:
+Assigned To: cmb
[2018-11-28 01:33 UTC] jackie dot luo at kpmg dot com
[2018-11-28 11:52 UTC] cmb@php.net
-Package: *General Issues
+Package: Compile Failure
[2018-11-28 11:52 UTC] cmb@php.net
[2018-12-09 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 18:00:01 2025 UTC |
Description: ------------ I am setting up a PHP environment which is used to combine with mysql and Nginx server. I already installed mysql and Nginx server. when I used source code installation method to compile the files. it terminated with an error: /usr/local/php-7.2.12/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/mysqli/ -I/usr/local/php-7.2.12/ext/mysqli/ -DPHP_ATOM_INC -I/usr/local/php-7.2.12/include -I/usr/local/php-7.2.12/main -I/usr/local/php-7.2.12 -I/usr/local/php-7.2.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/local/php-7.2.12/ext/mbstring/oniguruma -I/usr/local/php-7.2.12/ext/mbstring/libmbfl -I/usr/local/php-7.2.12/ext/mbstring/libmbfl/mbfl -I/usr/local/mysql/include -I/usr/local/php-7.2.12/ext/sqlite3/libsqlite -I/usr/local/php-7.2.12/ext/zip/lib -I/usr/local/php-7.2.12/TSRM -I/usr/local/php-7.2.12/Zend -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c /usr/local/php-7.2.12/ext/mysqli/mysqli.c -o ext/mysqli/mysqli.lo In file included from /usr/local/php-7.2.12/ext/mysqli/mysqli.c:34:0: /usr/local/php-7.2.12/ext/mysqli/php_mysqli_structs.h:63:23: fatal error: my_global.h: No such file or directory #include <my_global.h> ^ compilation terminated. make: *** [ext/mysqli/mysqli.lo] Error 1 the PHP version is 7.2.12, I downloaded the source code from official website. Test script: --------------- none Expected result: ---------------- none Actual result: -------------- I already installed all necessary features, but the compilation still failed