Windows Write Web sites uploaded to Linux system are not displayed properly

Source: Internet
Author: User
This is why, is the coding problem or what, I use is hostgator in the local all normal upload up, is running the webpage is not normal, or permissions problem, I have set is 644, someone used it,


Reply to discussion (solution)

What's wrong with the error message posted up

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 inclusion (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 ....

is a problem with permissions, the configuration file did not load successfully.

Change to Apache user group

You change the file's permissions to 0777, try it.

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
Unable to read the file, because the permissions are not enough, you use FLASHFXP to modify the permissions of the file right click on the chmod, change the permissions to 755 to try

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

Warning:include () [function.include]: Failed opening ' conn/conn.php ' for inclusion (include_path= '.:/ Usr/lib/php:/usr/local/lib/php ') in/home/leo/public_html/shop/top1.php on line 3
This feeling is not a permission problem, it seems that the file size is different, resulting in the file cannot be found

It's been 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.