Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed 

Mod_PHP that co-exists with PHP-CGI-FCGI

This is how you do the mod_php version of php-cgi-fcgi that co-exists quite nicely.

Do this one after the cgi-fcgi because what'll do is move the PHP-CLI into /usr/local/bin/php

You do need to have installed apache2.

Libxml also has to be there in /usr/local/ or if you are on Mac's Tiger, you can change the path to /usr and that should do ya.

./configure --enable-memory-limit --with-layout=GNU --with-config-file-scan-dir=/usr/local/etc/php --disable-all --enable-libxml --with-libxml-dir=/usr/local --enable-spl --with-regex=php --with-apxs2=/usr/local/apache2/sbin/apxs --prefix=/usr/local
« Newer Snippets
Older Snippets »
1 total  XML / RSS feed