Help with error permissions error "Warning: require_once(C:\wamp\www\bizcards\class.phpmailer.php): failed to open stream: Permission denied in C:\wamp\www\bizcards\getbizcard.php on line 74"

I am trying to use the PHPMailer class. When i include the class I get the following error:

Warning: require_once(C:\wamp\www\bizcards\class.phpmailer.php): failed to open stream: Permission
denied in C:\wamp\www\bizcards\getbizcard.php on line 74

The file is in my include_path(s) in php.ini for Apache and PHP. My hhtpd.exe process is being run by SYSTEM. I have given ownership of the file to SYSTEM. I am running Apache/2.4.9 (Win64) PHP/5.5.12. I have attached a screenshot showing my file persmissions. Any help would be appreciated.

Regards,
Mark Jefferson
settings.gif
00daddyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
This problem is not a permissions problem.  In your screen shot, it appears that you have already opened that file 3 lines above the error line.  Make sure the path is correct in your include statement.  The default link is...
require_once('../class.phpmailer.php');

Open in new window

But if you have 'class.phpmailer.php' in the same directory it needs to be...
require_once('class.phpmailer.php');

Open in new window

'class.smtp.php' and 'class.pop3.php' need to be in that same directory also because that is where 'class.phpmailer.php' is going to look for them.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.