Using PHP to develop Web sites under the Linux platform

Source: Internet
Author: User
Tags linux hosting
I PHP programmer, work experience will be full year, now there is the idea of job-hopping, on the hook to see a lot of large companies in the PHP Programmer's requirements will be mentioned a little "in the Linux platform using the PHP development site."
I am not particularly understanding this sentence, how to calculate the use of PHP development site under the Linux platform?
Under Win development, and then run under Linux?
Developed under Linux and then run under Linux?
How to develop under Linux? For Linux, I just know some simple instructions to operate.
I hope to have a great God here, experienced people, Daniel for my answer.
Do not think, can only say thank —————— a hard phper!

Reply content:

I PHP programmer, work experience will be full year, now there is the idea of job-hopping, on the hook to see a lot of large companies in the PHP Programmer's requirements will be mentioned a little "in the Linux platform using the PHP development site."
I am not particularly understanding this sentence, how to calculate the use of PHP development site under the Linux platform?
Under Win development, and then run under Linux?
Developed under Linux and then run under Linux?
How to develop under Linux? For Linux, I just know some simple instructions to operate.
I hope to have a great God here, experienced people, Daniel for my answer.
Do not think, can only say thank —————— a hard phper!

This sentence specific what meaning is really difficult to figure out, these job requirements are everybody copy each other, a lot of HR on technical smattering, so write job requirements.
Anyway, as long as you are skilled in using Linux, and fear?

In addition: about Linux, I think developers are not operational, focus on development, so it is not necessary to become a bull before the Linux, because more phper write business, not the kernel. Of course, this is not your excuse for not doing Linux. Basic knowledge of Linux, common commands are still needed. It is recommended that you stick with the Linux desktop for one year (consider Ubuntu or both Fedora distributions) and use the Shell to handle the problem (which I used to do.) ), Linux is ripe for nature. I see a lot of people say that there is no good PHP IDE under Linux, I am depressed, don't they use it PHPStorm ?

Development is one thing, deployment is another thing, the development of the Code on the win on the Linux environment does not necessarily work properly, especially related to file permissions. So the general development of PHP requires knowledge of Linux, because most of PHP will be deployed on Linxu server.

Well, that's like a Linux ide without PHP ... and the Linux development site is not convenient, except to be compatible with debugging IE

Colleagues who answer this question, are you really developing and deploying projects on Linux? Do you really understand the real need to "develop under Linux"?

For a chestnut: How to efficiently traverse folders in PHP
http://www.oschina.net/question/260395_162648

Developing on Linux requires you to understand the most common file operations, network operations, exception handling, shell, tasks, timing, and permissions under Linux.
Whether you are developing under Windows or under Linux, as long as the project can run on Linux, I think it can be called chivalrous Linux development. But if even the most core of Linux will not be used (such as awk, sed, Shell, LVS, Hdfs, Scheduled tasks, multi-process), even if it is developed and deployed on Linux, with the long, inefficient code from Windows, then I do not say " Developed on Linux. "

I think "Linux development" can be understood as, can grasp the Linux development of common problems and solutions, performance optimization methods, cluster building method, master Linux under the file (Protocol) operation, Network (protocol) operation, cluster building method, can use Linux command, extension, can stabilize, Fast solution to the business of the project, can use Linux to achieve lower costs to obtain a higher cost-effective development.

Master, good at using tools, and Linux, is the ultimate weapon. Have you used it, will it work?

This is the way to translate this sentence:
"Familiar with Linux operating system to complete PHP development tasks"

Development and operation is inseparable, my personal habit is to change a little, open the Web test. So my personal understanding of this issue is that under Linux, the entire development and operating environment can be configured to write PHP code directly under Linux and to test the site by visiting localhost.

You can't deploy to the server every time you finish writing. PHP opens a text editor to write, and Apache and MySQL are also under Linux, where can not be developed? The L in Lamp is Linux.

Or can it be understood that you have mastered the vim?

I used to have this problem, but the Linux development site would be very inconvenient, except for Mac computers.
Can you compare the IDE with pure handwritten code?

Using IDE to develop PHP Web site under Widows, I have been doing this for Linux hosting.

If asked for a higher point, this sentence can be understood as: will be built under Linux lamp/lnmp, skilled use of common commands, will check the error log, for some error can find a solution, skilled use of vim.

Personally feel, first of all to be proficient in Linux under the configuration of the PHP environment, PHP development tools, testing tools to use.

Then familiar with Nginx configuration, nginx How to run PHP, and Apache comparison (Apache run in php_module mode, Nginx run in fastcgi mode).

In addition to understand some operations and maintenance knowledge, understand some operations and maintenance of knowledge on the development is beneficial, just like the operation and maintenance personnel need to understand point development.

Proficiency in the Linux PHP performance monitoring, pressure measurement. Monitor CPU usage, analyze PHP-FPM output logs, track processes, and so on, which can be done using Linux commands.

Personal opinion, hope is helpful to you.

In fact, as long as you just server environment is Linux on the line, development in Windows also does not matter, like I am using VBox inside installed Ubuntu to configure the LNMP environment, under Windows to do development. But want to learn Linux best or installed on their own desktop, recommended ubuntu,cent is OK

What's the big difference? The configuration file is basically the same ...
Desktop distribution development and windows are no big difference, the IDE is cross-platform ...
When deploying, you can only SSH to the terminal and not the remote desktop of Windows. This is the only thing that feels uncomfortable.
Habit is good.

linuxDevelopment benefits are not many, such as can avoid 文件名大小写 , 路径反斜杠 and so on, 读写权限 in the windows development you only have to deploy up to discover!

It's easy to install a virtual machine for your Windows system, a CentOS or Tuban map in your virtual machine, and then install PHP and MySQL in the virtual machine, deploy and test the program, and try again.

Landlord can search ... LAMP

I feel like I'm going to make you lnmp. Configuration and some Linux web operations knowledge is basically enough, of course, there are also like the development of Linux in the personal hobby I personally feel that win and Linux have various benefits

Do not in win under the development of PHP absolute pit ~win under the PHP code written under the various Linux exceptions difficult to debug,
Virtual machine also do not use, with the virtual machine in his heart or have a retreat (should be happy to break up)
With half a year Ubuntu, get the decisive centos,2 year to fight for ArchLinux, notebook words on the MAC,MAC under the development of PHP under Linux running are 99% compatible

Not just want to tell the candidate to take the lamp or lnmp it, this is what, CentOS with super simple, Linux write PHP is not also sublime text, upload with filezilla,linux like, this is not a thing

  • 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.