Problem with "Serve Multiple Sites & Blogs with Virtual Hosts"
-
Hi, I was following the tutorial on this page: http://vpsbible.com/web-servers/serve-multiple-sites-blogs-with-virtual-hosts/
I copy/pasted everything.
But when I do: "sudo /etc/init.d/php-fastcgi start".
I get the error: "/etc/init.d/php-fastcgi: 87: Syntax error: "||" unexpected".
Is there something I have done wrong? I can't seem to figure out what is wrong...
Posted 9 months ago # -
085. exec $DAEMON --test > /dev/null \
086.
087. || return 1use this instead (all in one line):
exec $DAEMON --test > /dev/null || return 1the '\' is used to continue the line, so get rid of it and make one line instead of the two
there is another '\' about ten lines down. fix that or you'll get the same error further down the code
Posted 9 months ago # -
Then
093. $DAEMON_ARGS \
094.
095.|| return 2change to:
093. $DAEMON_ARGS || return 2Posted 9 months ago # -
Thanks! I didn't get an error any more!
Posted 9 months ago # -
cheers Joe, have amended the tutorial accordingly.
(sorry for the hiccup Reinier.)
Posted 9 months ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
