What are some common pitfalls when installing PHP on a Solaris 8 server, especially when compiling it as a CGI version?

One common pitfall when installing PHP on a Solaris 8 server as a CGI version is not setting the correct path to the CGI binary in the web server configuration. This can result in the web server being unable to execute PHP scripts. To solve this issue, make sure to correctly specify the path to the PHP CGI binary in the web server configuration file.

AddHandler php-cgi .php
Action php-cgi /cgi-bin/php