Linking php with mysql instead of linking apache with mysql