Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Nov 12, 2012 7:03 pm 
Offline

Joined: Mon Nov 12, 2012 6:57 pm
Posts: 1
I used a stackscript to get a LEMP server setup, and now I'm trying to install Apache to run a proxy pass setup. PHP-FPM was installed with the stack script.

I've followed the instructions in this guide

http://library.linode.com/lamp-guides/debian-6-squeeze

but there is no /etc/php5/apache2/php.ini file and when I run apachectl -M it does not show the php module as loaded.

I ran apt-get remove php5 and reinstalled it, but the module is still missing.

I'm not a server "ninja" but normally figure this stuff out, and this is leaving me a bit stumped.

tia


Top
   
PostPosted: Mon Nov 12, 2012 9:10 pm 
Offline
Senior Member
User avatar

Joined: Tue Jan 04, 2005 7:32 am
Posts: 277
Website: http://www.betadome.com/
Location: Ă…lesund, Norway
Skype: neonnero
Twitter: neonnero
There are two methods for running PHP through Apache; either running it as a module, or running it as a CGI add-on (if you do, running it under FastCGI is usually recommended). If you want to run it as a module, you'll need to install libapache2-mod-php5.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group