Apache and PHP and installed sucessfully. Then, when I attempted to test MySQL by a file 'test_mysql.php', I got such an error information:
Warning: Failed opening '/home/username/public_html/test_mysql.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0
What happened? And how to fix it?
Thanks a lot.
try using
include (./......);
lol. Change username to your username. =)
Thank you!
To bbaassiri In which file shall I include (./......); ?
In my test file, I did not include anything.
To michael Yes, the username is my username. For the security reason, I changed it to 'username' to publish here. : )
include('./test_mysql.php');
Finally find out the reason - Need to change mode to readable.
Thanks.
Originally posted by wanda46 Yes, the username is my username. For the security reason, I changed it to 'username' to publish here. : )
So I take it 'wanda46' is not your username 🙂