Running index.php from command line & load balancer health checks

Since wordpress’s execution logic relies on parameters filled by the php-apache connector (mod_php) running a php command line is not guarantied to produce the same results or any at all, all depending on your local settings.

In any case, you should not check if your server is functioning from the server itself as there other web servers and network layer that can fail and you will not check them that way.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)