madial3368 Posted August 21, 2020 Share Posted August 21, 2020 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 Quote Link to comment https://forums.phpfreaks.com/topic/311360-php-code-not-executing-by-shell/ Share on other sites More sharing options...
requinix Posted August 21, 2020 Share Posted August 21, 2020 Not sure what you're missing yet but I can tell you what we're missing: code. Quote Link to comment https://forums.phpfreaks.com/topic/311360-php-code-not-executing-by-shell/#findComment-1580839 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.