Arez Posted September 2, 2007 Share Posted September 2, 2007 I would like to have my Apache parse PHP in my CGI files as well as Perl. Is this used by many? Is it possible to have both PHP and Perl make up a page? Link to comment https://forums.phpfreaks.com/topic/67678-run-php-as-cgi/ Share on other sites More sharing options...
Guardian-Mage Posted September 3, 2007 Share Posted September 3, 2007 I do not believe that is easily accomplished. With just one or the other, you might get away with it using .htaccess files or editing the httpd.conf file, but trying to parse PHP and Perl from the same file is much more difficult. Link to comment https://forums.phpfreaks.com/topic/67678-run-php-as-cgi/#findComment-340429 Share on other sites More sharing options...
steviewdr Posted September 3, 2007 Share Posted September 3, 2007 Id say you can. I dont think you can use php and perl in one file though. The first line at the top of your perl files will have to contain: #!/bin/sh -steve Link to comment https://forums.phpfreaks.com/topic/67678-run-php-as-cgi/#findComment-340486 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.