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 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140805162123.ce0c286c2144ceb540dd2...@1024bits.com