Re: Building Apache 2.2.14 with mod_fastcgi 2.4.6 on OS X 10.5.8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Nick

On Sun, Oct 18, 2009 at 2:05 PM, Nick Kew <nick@xxxxxxxxxxxx> wrote:
>
> On 18 Oct 2009, at 21:26, Peter Michaux wrote:
>
>> Looking at the mod_fastcgi INSTALL notes, I've tried the APACI
>> (autoconf) method.
>
> That's very, very old (i.e. last-century).  Use apxs to build modules.

Thanks for that confirmation. I thought that might be the case but
didn't know for sure.

I very happy that I now have mod_fastcgi working. In case the archives
of this thread are useful to anyone. I had success with the following
installation procedure. The very last two character, the extension,
"la" were what I was missing before. I was trying "so" before and had
no luck. I took a guess that "la" might worked and it seemed to.

Thanks again,
Peter

--------------

rm -rf ~/tmp ~/myapache
mkdir ~/tmp

cd ~/tmp
cp ~/Desktop/downloaded-src/httpd-2.2.14.tar.gz ~/tmp
tar xvzf httpd-2.2.14.tar.gz
cd httpd-2.2.14
./configure --prefix=${HOME}/myapache \
            --enable-modules=all \
            --enable-mods-shared=all
make
make install

sed -i '.old' -e 's/Listen 80/Listen 3000/g' \
    ~/myapache/conf/httpd.conf
chmod +x ~/myapache/cgi-bin/*

export PATH=${HOME}/myapache/bin:${HOME}/myapache/sbin:${PATH}

apachectl start
# everything seems to be working fine here
apachectl stop


cd ~/tmp
cp ~/Desktop/downloaded-src/mod_fastcgi-2.4.6.tar.gz ~/tmp
tar xvzf mod_fastcgi-2.4.6.tar.gz
cd mod_fastcgi-2.4.6

apxs -o mod_fastcgi.so -c *.c

# can configure and run FastCGI programs here with mod_fastcgi

apxs -i -a -n fastcgi mod_fastcgi.la

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux