:: enable fastcgi php on lighttpd

14 sec read

:: how to enable php-cgi on lighttpd
+ configure lighttpd for php fast cgi

# vi /etc/lighttpd/lighttpd.conf
### add some line like :
### php fastcgi on lighttpd
fastcgi.server = (   ".php" => (
      (
          "bin-path" => "/usr/bin/php-cgi",
          "socket" => "/tmp/php.socket"
      )
   )
)

+ restarting lighttpd

# /etc/init.d/lighttpd restart

+ testing file php

# vi /var/www/info.php
<?php
	phpinfo();
?>

then open the script using your browser.

:: links
+ google
+ cyberciti

How to fix problem with…

Facing a Git error with the 'vi' editor? Discover how to easily fix it by checking your Vim path and configuring Git to use...
Sysadmin.ID
10 sec read

Apache :: MP4 Streaming

Learn how to enable MP4 streaming in Apache with the installation of the mod_h264 streaming module, making your video content accessible and efficient. Follow...
Sysadmin.ID
18 sec read

Apache :: Flash / FLV…

Learn how to effortlessly configure Apache for FLV streaming by installing the mod_flvx module and updating your httpd.conf file. Discover the simple steps to...
Sysadmin.ID
15 sec read

One Reply to “:: enable fastcgi php on…”

Leave a Reply

Your email address will not be published. Required fields are marked *