How to confirm php enabled on ubuntu server

Posted by Shishant on Super User See other posts from Super User or by Shishant
Published on 2009-11-22T09:46:39Z Indexed on 2010/05/03 3:18 UTC
Read the original article Hit count: 334

Filed under:
|
|

Hello,

I am not much into linux. I am trying to setup a server through ssh. I installed apache php and mysql through this command.

sudo aptitude install apache2 php5-mysql libapache2-mod-php5 mysql-server

but I think php is not enabled on the server.

when I run command I receive response as below

$ which apache2ctl
/usr/sbin/apache2ctl

but when i check $ which php i receive no response.

$ locate php5
/etc/apparmor.d/abstractions/php5
/usr/share/ubuntu-serverguide/html/C/php5.html

available apache2 modules alt text

aptitude package manager alt text

© Super User or respective owner

Related posts about php

Related posts about apache