calvin-brand-light-mode
calvin-brand-dark-mode
∕
⌘K
About Calvin Podcast We Can Do This Book Speaking
aAbout Calvin
Podcast
wWe Can Do This Book
sSpeaking
Back

Installing PHP on Debian

Other
Calvin Correli·Nov 6, 2005· 1 minute
I always find it confusing to install PHP for CGI with MySQL support on Debian. I tried with apt first, then with the unofficial packages from dotdeb, before finally giving in to compile-from-source of PHP 5.

But then when I do that, I always have trouble figuring out which switches to use. So with some help from this snippet, I figured out to do this, and it worked well enough to let me install mint:

./configure --prefix=/usr/local/php5-fcgi --enable-fastcgi \
  --enable-force-cgi-redirect --disable-cli --with-mysql
Previous IE down to 51%
Next MarsEdit does let you bring your own CSS

Comments

Write a comment...
00:00 Recording...
calvin-brand-light-mode
calvin-brand-dark-mode
1 Chestnut Hill Plaza #1139
Newark, DE 19713
United States
Copyright © 2026 Calvin Correli
powered by