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.