madial3368
-
Posts
1 -
Joined
-
Last visited
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
PHP code not executing by shell
in Linux
Posted
Hello,
There is one php file, the logic is when this code is executing it is getting some data and place in DB,
The problem is that when this file I executing from browser, it is working, but when I execute this file from linux shell (as apache user, or root user) like "/usr/bin/php script.php", It is not working, but without any errors.
Please advise what I am missing.
P.S. Centos8, apache, php 7.4.9