With sweat dripping down my back I managed to log in with the "Terminal" (not the Console as mentioned above) and I got these results:
cat /usr/local/directadmin/custombuild/options.conf | grep php
/usr/local/bin/php /home/user/domains/mydomain.com/public_html/directory/file.php
I must be mistaken cause it doesn't. It was the first command I tried. If I enter it in my Terminal directly I get no output. However, when I echo some text in the php file the terminal returns that text.
But still no mail and nothing in the cron log.
cat /usr/local/directadmin/custombuild/options.conf | grep php
#PHP settings. default_php possible values - 4 or 5, php5_ver - 5.2 or 5.3
default_php=5
php5_ver=5.2
php4_cli=no
php4_cgi=no
php5_cli=yes
php5_cgi=no
phpmyadmin=yes
php6_cli=no
php6_cgi=no
php_ini=no
php_ini_type=recommended
whereis phpdefault_php=5
php5_ver=5.2
php4_cli=no
php4_cgi=no
php5_cli=yes
php5_cgi=no
phpmyadmin=yes
php6_cli=no
php6_cgi=no
php_ini=no
php_ini_type=recommended
php: /usr/local/bin/php /usr/local/lib/php /usr/local/lib/php.ini
php -vPHP 5.2.13 (cli) (built: Nov 13 2010 14:40:18)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
It sais CLI all over the place so if I'm not mistaken this should work:Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
/usr/local/bin/php /home/user/domains/mydomain.com/public_html/directory/file.php
I must be mistaken cause it doesn't. It was the first command I tried. If I enter it in my Terminal directly I get no output. However, when I echo some text in the php file the terminal returns that text.
But still no mail and nothing in the cron log.