Owning the World of Warcraft installation disc only covers the cost of the base game itself. It does not unlock free play.
To actually log in and play, you still need an active subscription, which runs around $15 per month. In short: no subscription, no play. The disc gets the game onto your computer, but the monthly fee is what keeps your account live.
Watch for occasional free trials, though. Blizzard regularly offers limited-time trial accounts that let newcomers sample the game before committing to a subscription.