Compile PHP4

Posted on January 1, 2012

CFLAGS="-I/usr/include/apr-1 -D_LARGEFILE64_SOURCE=1" ./configure --with-apxs2={where your apxs2 install} --with-mysql
make
make install

this is the 3rd times

in httpd.conf

LoadModule php4_module /usr/lib/httpd/modules/libphp4.so

SetHandler application/x-httpd-php

Tags:

Categories: Uncategorized


Comments are closed