Vladiimr
Member
Posted 4 years ago #
I followed these steps: http://codex.wordpress.org/Blog_by_Email
but I have problem with this one http://codex.wordpress.org/Blog_by_Email#.qmail_Activation
I don't understand this line: path to php
#!/bin/sh
/bin/sh -c "sleep 5; /path/to/php /path/to/your/blog/wp-mail.php > /dev/null" &
Please help...
I havent done this before myself, but what that's asking you for, is the path to the php executable on your server.
in other words, the directory in which php is installed.
Vladiimr
Member
Posted 4 years ago #
But I don't know where php is installed...
Please consider asking with your host about that question or try the script described at Finding_Server_Info.
if you can log into your server using ssh, try the command:
which php
and it will print the full path to the php executable if it's in your path. If nothing is returned, then php isn't in your path but it might still be on the machine so try this command:
find / -name php
and it will find any file or directory named php. Ignore the directories, and one of the remaining items listed should be your php executable.