I was looking for a CentOS package for 8.6. But there was only a 8.5.2-5 package.
And CentOS had an older cmake and some old or missed packages.
This was my workaround:
yum remove httpd* php* mysql*
yum install gcc gcc-c++ libtool automake autoconf libxml2 libxml2-devel libxslt libxslt-devel libpng-devel curl-devel freetype-devel mesa-libGL-devel mysql-server mysql-devel libvorbis-devel
wget http://www.cmake.org/files/v2.8/cmake-2.8.9.tar.gz
tar -xvzf cmake-2.8.9.tar.gz
cd cmake-2.8.9
./configure
make
make install
cd ..
wget http://www.hiawatha-webserver.org/files/hiawatha-8.6.tar.gz
tar -xzvf hiawatha-8.6.tar.gz
cd hiawatha-8.6
mkdir build
cd build
cmake ..
make install/strip
Ok, better I should use the CMake option -DCONFIG_DIR=<path> .... etc. for path /etc/hiawatha ... (Options: http://www.hiawatha-webserver.org/howto/compilation_and_installation)
Now I would like to use PHP-FPM.
I installed it like this way:
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
yum --enablerepo=remi install php php-fpm
yum remove httpd*
some more new packages:
yum --enablerepo=remi install php-gd php-mysql php-mbstring php-xml php-mcrypt mysql-server mysql-client
But I can't find a howto for the /etc/php-fpm.d/www.conf and the hiawatha.conf
Has somebody an fine working example-configuration for hiawatha?
Thx
Hiawatha version: 8.6
Operating System: CentOS 6.3 x64