How to install PHP-FPM and PHP on Ubuntu?
- by Sanoj
I have problems with installing PHP and in Ubuntu. I followed the instructions on the PHP-FPM site, PHP FastCGI Process Manager but when doing ../configure && make to compile PHP I got a lot of not found messages (listed below), and I don't know how to fix them. I tried both the Integrated compilation and Separate compilation but both compilations ends up with the same messages. Is there a solution or workaround? An alternativ way to install PHP with PHP-FPM?
../configure: 11986: ac_fn_c_check_func: not found
../configure: 11997: ac_fn_c_check_func: not found
../configure: 12147: 5: Bad file descriptor
../configure: 12147: :: checking for socket in -lsocket: not found
../configure: 12147: 6: Bad file descriptor
../configure: 12147: checking for socket in -lsocket... : not found
cat: confdefs.h: No such file or directory
../configure: 12147: ac_fn_c_try_link: not found
../configure: 12147: 5: Bad file descriptor
../configure: 12147: :: result: no: not found
../configure: 12147: 6: Bad file descriptor
../configure: 12147: no: not found
../configure: 12147: 5: Bad file descriptor
../configure: 12147: :: checking for __socket in -lsocket: not found
../configure: 12147: 6: Bad file descriptor
../configure: 12147: checking for __socket in -lsocket... : not found
cat: confdefs.h: No such file or directory
../configure: 12147: ac_fn_c_try_link: not found
../configure: 12147: 5: Bad file descriptor
../configure: 12147: :: result: no: not found
../configure: 12147: 6: Bad file descriptor
../configure: 12147: no: not found
../configure: 12154: ac_fn_c_check_func: not found
../configure: 12165: ac_fn_c_check_func: not found
../configure: 12315: 5: Bad file descriptor
../configure: 12315: :: checking for socketpair in -lsocket: not found
../configure: 12315: 6: Bad file descriptor
../configure: 12315: checking for socketpair in -lsocket... : not found
cat: confdefs.h: No such file or directory
../configure: 12315: ac_fn_c_try_link: not found
../configure: 12315: 5: Bad file descriptor
../configure: 12315: :: result: no: not found
../configure: 12315: 6: Bad file descriptor
../configure: 12315: no: not found
../configure: 12315: 5: Bad file descriptor
../configure: 12315: :: checking for __socketpair in -lsocket: not found
../configure: 12315: 6: Bad file descriptor
../configure: 12315: checking for __socketpair in -lsocket... : not found
cat: confdefs.h: No such file or directory
../configure: 12315: ac_fn_c_try_link: not found
../configure: 12315: 5: Bad file descriptor
../configure: 12315: :: result: no: not found
../configure: 12315: 6: Bad file descriptor
../configure: 12315: no: not found
../configure: 12322: ac_fn_c_check_func: not found
../configure: 12333: ac_fn_c_check_func: not found
../configure: 12483: 5: Bad file descriptor
../configure: 12483: :: checking for htonl in -lsocket: not found
../configure: 12483: 6: Bad file descriptor
../configure: 12483: checking for htonl in -lsocket... : not found
cat: confdefs.h: No such file or directory
../configure: 12483: ac_fn_c_try_link: not found
../configure: 12483: 5: Bad file descriptor
../configure: 12483: :: result: no: not found
../configure: 12483: 6: Bad file descriptor
../configure: 12483: no: not found
../configure: 12483: 5: Bad file descriptor
../configure: 12483: :: checking for __htonl in -lsocket: not found
../configure: 12483: 6: Bad file descriptor
../configure: 12483: checking for __htonl in -lsocket... : not found
cat: confdefs.h: No such file or directory
../configure: 12483: ac_fn_c_try_link: not found
../configure: 12483: 5: Bad file descriptor
../configure: 12483: :: result: no: not found
../configure: 12483: 6: Bad file descriptor
../configure: 12483: no: not found
../configure: 12490: ac_fn_c_check_func: not found
../configure: 12501: ac_fn_c_check_func: not found
../configure: 12651: 5: Bad file descriptor
../configure: 12651: :: checking for gethostname in -lnsl: not found
../configure: 12651: 6: Bad file descriptor
../configure: 12651: checking for gethostname in -lnsl... : not found
cat: confdefs.h: No such file or directory
../configure: 12651: ac_fn_c_try_link: not found
../configure: 12651: 5: Bad file descriptor
../configure: 12651: :: result: no: not found
../configure: 12651: 6: Bad file descriptor
../configure: 12651: no: not found
../configure: 12651: 5: Bad file descriptor
../configure: 12651: :: checking for __gethostname in -lnsl: not found
../configure: 12651: 6: Bad file descriptor
../configure: 12651: checking for __gethostname in -lnsl... : not found
cat: confdefs.h: No such file or directory
../configure: 12651: ac_fn_c_try_link: not found
../configure: 12651: 5: Bad file descriptor
../configure: 12651: :: result: no: not found
../configure: 12651: 6: Bad file descriptor
../configure: 12651: no: not found
../configure: 12658: ac_fn_c_check_func: not found
../configure: 12669: ac_fn_c_check_func: not found
../configure: 12819: 5: Bad file descriptor
../configure: 12819: :: checking for gethostbyaddr in -lnsl: not found
../configure: 12819: 6: Bad file descriptor
../configure: 12819: checking for gethostbyaddr in -lnsl... : not found
cat: confdefs.h: No such file or directory
../configure: 12819: ac_fn_c_try_link: not found
../configure: 12819: 5: Bad file descriptor
../configure: 12819: :: result: no: not found
../configure: 12819: 6: Bad file descriptor
../configure: 12819: no: not found
../configure: 12819: 5: Bad file descriptor
../configure: 12819: :: checking for __gethostbyaddr in -lnsl: not found
../configure: 12819: 6: Bad file descriptor
../configure: 12819: checking for __gethostbyaddr in -lnsl... : not found
cat: confdefs.h: No such file or directory
../configure: 12819: ac_fn_c_try_link: not found
../configure: 12819: 5: Bad file descriptor
../configure: 12819: :: result: no: not found
../configure: 12819: 6: Bad file descriptor
../configure: 12819: no: not found
../configure: 12826: ac_fn_c_check_func: not found
../configure: 12837: ac_fn_c_check_func: not found
../configure: 12987: 5: Bad file descriptor
../configure: 12987: :: checking for yp_get_default_domain in -lnsl: not found
../configure: 12987: 6: Bad file descriptor
../configure: 12987: checking for yp_get_default_domain in -lnsl... : not found
cat: confdefs.h: No such file or directory
../configure: 12987: ac_fn_c_try_link: not found
../configure: 12987: 5: Bad file descriptor
../configure: 12987: :: result: no: not found
../configure: 12987: 6: Bad file descriptor
../configure: 12987: no: not found
../configure: 12987: 5: Bad file descriptor
../configure: 12987: :: checking for __yp_get_default_domain in -lnsl: not found
../configure: 12987: 6: Bad file descriptor
../configure: 12987: checking for __yp_get_default_domain in -lnsl... : not found
cat: confdefs.h: No such file or directory
../configure: 12987: ac_fn_c_try_link: not found
../configure: 12987: 5: Bad file descriptor
../configure: 12987: :: result: no: not found
../configure: 12987: 6: Bad file descriptor
../configure: 12987: no: not found
../configure: 12995: ac_fn_c_check_func: not found
../configure: 13006: ac_fn_c_check_func: not found
../configure: 13156: 5: Bad file descriptor
../configure: 13156: :: checking for dlopen in -ldl: not found
../configure: 13156: 6: Bad file descriptor
../configure: 13156: checking for dlopen in -ldl... : not found
cat: confdefs.h: No such file or directory
../configure: 13156: ac_fn_c_try_link: not found
../configure: 13156: 5: Bad file descriptor
../configure: 13156: :: result: no: not found
../configure: 13156: 6: Bad file descriptor
../configure: 13156: no: not found
../configure: 13156: 5: Bad file descriptor
../configure: 13156: :: checking for __dlopen in -ldl: not found
../configure: 13156: 6: Bad file descriptor
../configure: 13156: checking for __dlopen in -ldl... : not found
cat: confdefs.h: No such file or directory
../configure: 13156: ac_fn_c_try_link: not found
../configure: 13156: 5: Bad file descriptor
../configure: 13156: :: result: no: not found
../configure: 13156: 6: Bad file descriptor
../configure: 13156: no: not found
../configure: 13164: 5: Bad file descriptor
../configure: 13164: :: checking for sin in -lm: not found
../configure: 13164: 6: Bad file descriptor
../configure: 13164: checking for sin in -lm... : not found
cat: confdefs.h: No such file or directory
../configure: 13196: ac_fn_c_try_link: not found
../configure: 13198: 5: Bad file descriptor
../configure: 13198: :: result: no: not found
../configure: 13198: 6: Bad file descriptor
../configure: 13198: no: not found
../configure: 13214: ac_fn_c_check_func: not found
../configure: 13225: ac_fn_c_check_func: not found
../configure: 13510: 5: Bad file descriptor
../configure: 13510: :: checking for inet_aton in -lresolv: not found
../configure: 13510: 6: Bad file descriptor
../configure: 13510: checking for inet_aton in -lresolv... : not found
cat: confdefs.h: No such file or directory
../configure: 13510: ac_fn_c_try_link: not found
../configure: 13510: 5: Bad file descriptor
../configure: 13510: :: result: no: not found
../configure: 13510: 6: Bad file descriptor
../configure: 13510: no: not found
../configure: 13510: 5: Bad file descriptor
../configure: 13510: :: checking for __inet_aton in -lresolv: not found
../configure: 13510: 6: Bad file descriptor
../configure: 13510: checking for __inet_aton in -lresolv... : not found
cat: confdefs.h: No such file or directory
../configure: 13510: ac_fn_c_try_link: not found
../configure: 13510: 5: Bad file descriptor
../configure: 13510: :: result: no: not found
../configure: 13510: 6: Bad file descriptor
../configure: 13510: no: not found
../configure: 13510: 5: Bad file descriptor
../configure: 13510: :: checking for inet_aton in -lbind: not found
../configure: 13510: 6: Bad file descriptor
../configure: 13510: checking for inet_aton in -lbind... : not found
cat: confdefs.h: No such file or directory
../configure: 13510: ac_fn_c_try_link: not found
../configure: 13510: 5: Bad file descriptor
../configure: 13510: :: result: no: not found
../configure: 13510: 6: Bad file descriptor
../configure: 13510: no: not found
../configure: 13510: 5: Bad file descriptor
../configure: 13510: :: checking for __inet_aton in -lbind: not found
../configure: 13510: 6: Bad file descriptor
../configure: 13510: checking for __inet_aton in -lbind... : not found
cat: confdefs.h: No such file or directory
../configure: 13510: ac_fn_c_try_link: not found
../configure: 13510: 5: Bad file descriptor
../configure: 13510: :: result: no: not found
../configure: 13510: 6: Bad file descriptor
../configure: 13510: no: not found
../configure: 13516: 5: Bad file descriptor
../configure: 13516: :: checking for ANSI C header files: not found
../configure: 13516: 6: Bad file descriptor
../configure: 13516: checking for ANSI C header files... : not found
cat: confdefs.h: No such file or directory
../configure: 13615: ac_fn_c_try_compile: not found
../configure: 13617: 5: Bad file descriptor
../configure: 13617: :: result: no: not found
../configure: 13617: 6: Bad file descriptor
../configure: 13617: no: not found
../configure: 13665: ac_cv_header_dirent_dirent.h: not found
../configure: 13665: 5: Bad file descriptor
../configure: 13665: :: checking for dirent.h that defines DIR: not found
../configure: 13665: 6: Bad file descriptor
../configure: 13665: checking for dirent.h that defines DIR... : not found
eval: 1: Bad substitution