Asking how to call or embed PHP in Perl is not off topic.
In reply to Re^4: How to configure the CGI and PHP by Your Mother in thread How to configure the CGI and PHP by soubalaji