#php won't work

30 messages · Page 1 of 1 (latest)

ocean nexus
#

does anyone know how to fix php not working? i've downloaded it multiple times and done updates but when i see if its there using "php -v" it respond with "bash: php: command not found"

karmic lance
#

How did you install it?

ocean nexus
#

in linux

karmic lance
#

dpkg -L php
What does running that output?

ocean nexus
karmic lance
#

Ok install php without the -y flag

ocean nexus
karmic lance
#

Hmm can you show me?

ocean nexus
ocean nexus
karmic lance
#

Have you run apt-get update like it suggests?

ocean nexus
karmic lance
#

How about fix missing?

ocean nexus
karmic lance
#

sudo apt-get update --fix-missing

ocean nexus
karmic lance
#

Yeah I guess. You're using Kali soooooo...

ocean nexus
karmic lance
#

To me it looks like the apt repo that you're using is broken for whatever reason. I don't use Kali so I don't know what you can do about that.

ocean nexus
ocean nexus
#

Yeah I need to fix this php error

#

Anyone know?

karmic lance
#

Kintec might be able to help when he has time. Currently 4am for him though.

lavish marsh
#

I suggest not using Kali unless you actually have use for the tools in it, it's a terrible distro to run as a daily driver for most purposes, you'd be better off with a more friendly distro for daily use

#

Also it defaults to root permissions for everything

#

But installs are user based

#

It does a lot of stuff in a very weird way, would suggest something like Pop! OS or Ubuntu for daily use

tardy wraith
#

If you are unfamiliar with Linux generally, if you do not have at least a basic level of competence in administering a system, if you are looking for a Linux distribution to use as a learning tool to get to know your way around Linux, or if you want a distro that you can use as a general purpose desktop installation, Kali Linux is probably not what you are looking for.

https://www.kali.org/docs/introduction/should-i-use-kali-linux/

lavish marsh
#

(apt installs are weird on Kali, that much I can say)