The space uploaded from a website written in windows to LINUX is not displayed normally.

Source: Internet
Author: User
The space uploaded from a website written in windows to a LINUX system is not displayed properly. why is this? is it encoding or something? I use hostgator to upload everything locally normally, that is, the webpage is not running normally, or the permission is incorrect. I set it to 644. has anyone used it,


Reply to discussion (solution)

Why do I paste the error message?

Warning: include (conn/conn. php) [function. include]: failed to open stream: Permission denied in/home/leo/public_html/shop/top1.php on line 3

Warning: include (conn/conn. php) [function. include]: failed to open stream: Permission denied in/home/leo/public_html/shop/top1.php on line 3

Warning: include () [function. include]: Failed opening 'Conn/conn. php 'for declaration (include_path = '. :/usr/lib/php:/usr/local/lib/php') in/home/leo/public_html/shop/top1.php on line 3
This is an error message

Warning: include (conn/conn. php) [function. include]: failed to open stream: Permission denied in/home/leo/public_html/shop/top1.php on line 3

Warning: include (conn/conn. php) [function .......

Yes. the configuration file is not loaded successfully.

Change to apache User Group

Change the file permission to 0777.

chmod 0777 /home/leo/public_html/shop/ -R

Warning: include (conn/conn. php) [function. include]: failed to open stream: Permission denied in/home/leo/public_html/shop/top1.php on line 3
You cannot read the file because of insufficient permissions. you can use flashFXP to right-click the file to which you want to modify the permission and select chmod to change the permission to 755.

Warning: include (conn/conn. php) [function. include]: failed to open stream: Permission denied in/home/leo/public_html/shop/top1.php on line 3
Same as above

Warning: include () [function. include]: Failed opening 'Conn/conn. php 'for declaration (include_path = '. :/usr/lib/php:/usr/local/lib/php') in/home/leo/public_html/shop/top1.php on line 3
This is not a permission issue. it seems that the file cannot be found due to different file cases.

Solved. thank you.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.