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? Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.