I am following instructions from here (http://www.samclarke.com/2011/10/install-apc-with-xampp-on-linux/) to install APC on my Xampp (Lampp) installation. I use Ubuntu 12.04 x64, Xampp 1.7.7 installed in /opt/lampp. In the "make" phase I get an error, php.h missing. This is the output in terminal:
- Code: Select all
florin@florin-Satellite-C650:~/Downloads/APC-3.1.13$ make
/bin/bash /home/florin/Downloads/APC-3.1.13/libtool --mode=compile cc -I. -I/home/florin/Downloads/APC-3.1.13 -DPHP_ATOM_INC -I/home/florin/Downloads/APC-3.1.13/include -I/home/florin/Downloads/APC-3.1.13/main -I/home/florin/Downloads/APC-3.1.13 -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -m32 -c /home/florin/Downloads/APC-3.1.13/apc.c -o apc.lo
mkdir .libs
cc -I. -I/home/florin/Downloads/APC-3.1.13 -DPHP_ATOM_INC -I/home/florin/Downloads/APC-3.1.13/include -I/home/florin/Downloads/APC-3.1.13/main -I/home/florin/Downloads/APC-3.1.13 -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -m32 -c /home/florin/Downloads/APC-3.1.13/apc.c -fPIC -DPIC -o .libs/apc.o
In file included from /home/florin/Downloads/APC-3.1.13/apc.c:34:0:
/home/florin/Downloads/APC-3.1.13/apc.h:61:17: fatal error: php.h: No such file or directory
compilation terminated.
make: *** [apc.lo] Error 1
Do you have any idea how to fix it? Thanks!