PHP script to replace cgi script
        Posted  
        
            by Bridgeyman
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Bridgeyman
        
        
        
        Published on 2010-05-03T05:54:58Z
        Indexed on 
            2010/05/03
            5:58 UTC
        
        
        Read the original article
        Hit count: 448
        
Hey,
I have a CGI script that uses an old database driver that is no longer supported. Instead of struggling with this old cgi script, I thought it would be easier to rewrite it in php. It works now as a php script, but I need it to be served from the same web address. When a user accesses http://somesite.com/myscript.cgi, I want it to run the php script. I tried just renaming the php script with .cgi, but that didn't work. This is on an Apache server hosted by Dreamhost. Any advice?
- Bridger Maxwell
© Stack Overflow or respective owner