Welcome to WebmasterWorld Guest from 54.159.42.234

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Switching PHP Over To CGI

php, cgi

     
10:04 pm on Jun 19, 2013 (gmt 0)

New User

5+ Year Member

joined:Apr 18, 2007
posts: 17
votes: 0


I've run into a snag with an application (written in C++) that uses DLs. I want to hook into it with PHP and they already have a php demo going which I caqn use through the command line but I need access via a browser. The newer versions of PHP don't allow dl usage through browsers but do allow it through CGI.

So I'm trying to get my PHP on an Ubuntu 13.04 OS switched from using Apache as the PHP handler to CGI doing it. I've tried a few step-by-steps but no success yet.

I've tried the following (the first are the most recent)
[library.linode.com...]
[stackoverflow.com...]
[server-world.info...]

In a totally unrellated projected I noticed the phpinfo page of a GoDaddy hoste site had CGI/FastCGI as its server API while mine still reads Apache 2.0 Handler as it's server api even after all these configuration changes. How can I go about testing this set up to find out what is wrong?
12:22 am on June 21, 2013 (gmt 0)

New User

5+ Year Member

joined:Apr 18, 2007
posts:17
votes: 0


Problem solved - added a test .cgi file and everything seems to be working
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members