This is what I have.  Thanks!

apt-cache search apache | grep php
php5-cgi - server-side, HTML-embedded scripting language (CGI binary)
php5-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary)
php-auth-http - HTTP authentication
php-config - Your configuration's swiss-army knife
php-letodms-lucene - Document management system - Fulltext search
libapache2-mod-suphp - Apache2 module to run PHP scripts with the owner
permissions
suphp-common - Common files for mod suphp
libapache2-mod-php5 - server-side, HTML-embedded scripting language (Apache
2 module)
libapache2-mod-php5filter - server-side, HTML-embedded scripting language
(apache 2 filter module)


On Tue, Aug 5, 2014 at 4:21 PM, AW <debian.list.trac...@1024bits.com> wrote:

> On Tue, 5 Aug 2014 16:08:49 -0400
> Matthew Brown <matthew.br...@kaplan.com> wrote:
>
>  >One quick question, I have the php config file pointed to the web root
>  >(www) and put a test php file in it, but it is not working.  I just
>  >see all the text.  Any help with this will be appreciated!
>
> If you are using php in a webserver environment, you need to install
> the appropriate module that will allow access to php.  In most cases
> this means installing the apache php module.  If you are running wheezy
> -- which seemingly you are -- the repo apache is version 2.2  ---
> Things change with apache 2.4 and Debian jessie, so be careful about
> this later on...
>
> Anyway, find and install the apache php module...
> sudo apt-cache search apache | grep php
>
> sudo apt-get install "whatever is appropriate"
>
> This should get you the module.  Then you need to make sure the module
> is enabled for apache...
>
> sudo a2enmod php5
>
> Then you need to restart apache
>
> sudo /etc/init.d/apache2 restart
> ...
> This should work even if you have systemd versus sysvinit.  There are
> wrappers installed for backward compatibility.  However, if you have
> systemd installed, it's probably a good idea to practice the new
> command set...
>
> --Andrew
>



-- 
Thank you in advance.


*Matthew Brown | Senior Systems Engineer*
Kaplan Inc. | 395 Hudson Street, New York, NY 10016
tel + 917-344-2598 | mobile + 914-406-0294

web Enterprise Client Services Website
<https://sites.google.com/a/kaplan.edu/techservice/home/>

Reply via email to