Differences between the web and cli? (original) (raw)
? ?
- Log in
- Join free Join
- English (en)
- English (en)
- Русский (ru)
- Українська (uk)
- Français (fr)
- Português (pt)
- español (es)
- Deutsch (de)
- Italiano (it)
- Беларуская (be)
Find posts by author
Type username to filter posts in this community
I have a script that's working 100% fine when viewed as served by Apache. When I run it from the command line (i.e. php index.php) I get a DB connection error. Everything is the same, but when run from the command line it doesn't work. Any ideas on differences between the two methods of running the script?
Hay que revivir esta comunidad, PHP está mas vivo que nunca con su nueva versión PHP 8 liberada el pasado 26 de Noviembre 2020, en el año de la…
Is this community dead or something?
I just started to use LJ, so i thought it would be nice to have some friends here. I'm into coding and programming. I recently started to practice…