FG
💻 Software

How to confirm php enabled on ubuntu server

Fresh5 days ago
Mar 15, 202666260 views
Confidence Score0%
0%

Problem

I am not much into Linux. I am trying to setup a server through ssh. I installed apache php and mysql through this command. but I think php is not enabled on the server. When I run command I receive response as below But when I check I receive no response.

Error Output

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

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to confirm php enabled on ubuntu server

Low Risk

On Debian (and thus Ubuntu), the Apache configuration files are stored under . In that directory, there are 2 sub-directories for configuring modules: and . When you install an Apache module (ie: foo), it will put (and possibly ) into the directory.…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment