Apache and php problems (Cainiao)

Source: Internet
Author: User
The C language & nbsp; I learned before Apache and php (Beginners). Today, my work leaders asked me to install a CentOS6.0 system & nbsp; and installed Apache, mysql, and php through yum, then the leaders asked us to download a piece of php source code & nbsp; and compile and execute the code & nbsp;. I have downloaded the source code & nbsp; but this is a problem with Apache and php (for beginners)
I learned the C language. today, I went to work and asked me to install a CentOS6.0 system and install Apache, mysql, and php using yum, then the leaders asked us to download a piece of php source code on the Internet and compile and execute it. I have downloaded the source code but I have never touched it before. I don't know where to start, please give me some guidance or reference. thank you for sharing the PHP Apache source code:
------ Solution --------------------
Reference:
I learned the C language. today, I went to work and asked me to install a CentOS6.0 system and install Apache, mysql, and php using yum, then the leaders asked us to download a piece of php source code on the Internet and compile and execute it. I have downloaded the source code but I have never touched it before. I don't know where to start, please give me some guidance or reference. thank you.


Copy the Php code to the wwwroot folder in the php installation directory, open the webpage, and directly type the localhost/file name. php. the running result of the Php code should be displayed.

If you have multiple projects and the Php code is copied to the child folder of the wwwroot folder, you can also run it in the localhost/corresponding folder path/the file name. php.


------ Solution --------------------
Check whether it is useful to most databases. first, import the database and then copy the source files to the web Directory to see if there is any need for installation... If you don't have any, find an index. php and use localhost/to access it.

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.