Forum archive
php + fastcgi and internet access
Hi, first of all thank you for such a great tool like turnkey appliances :)
I'm using TK LAMP appliance and I have two questions:
- can someone point me / help me on how to change php settings to use mod_fastcgi instead of mod_php? I need this to work in a thread-safe environment for some custom php extension we're using.
- how can I grant my appliance internet access? shouldn't this be automatic?
best regards,
carlos
but from what I can see there is a Hardy/8.04 (basis of TKL) package in the multiverse repo called libapache2-mod-fastcgi which I assume would be the one your after. You also may find some useful info on the FastCGI website or in the Apache wiki.
As for your second question it depends on your setup. When you say "internet access" do you mean incoming or outgoing? Ie do you mean your appliance connecting to the net say to get updates, or do you mean others contacting your LAMP appliance from the internet to view the hosted web pages? Also is your appliance running on bare metal or in a VM? How does your appliance & network connect to the internet? Do you have some sort of NAT router and/or firewall setup?