Xampp as an enterprise solution for a web server with php applications

Asked

Viewed 1,770 times

3

I have a machine that will serve as a web server, with php applications and applications with embedded server like Pentaho and odoo Erp, which will be used as intranet and extranet systems.

Regarding xampp, someone with experience would refer me as an enterprise solution for php applications that will suffer large internal and external requests?

Debian was supposed to be used as a web server at first, but we have windows 7 installed.

  • 3

    Windows 7 is a Desktop system, using it as a production server is a shot in the foot. Xampp is configured for development purposes, not production. I recommend researching best practices on how to correctly deploy a PHP server instead of going after the easy one. If you want to take those risks, good luck.

1 answer

5

Xampp is a facilitator that installs php, apache and mysql, leaving you free to perform any extra configuration. This is good for facilitating the assembly of a development environment, but is not a well seen option for production servers.

The fact that you are free to configure everything the way you need, and have an interface to administer your services reinforces the argument that resistance to the use of this type of facilitator is the purism of some developers.

It is worth noting that the installation of these tools in Unix-based systems is by package managers and not done in a "manual" way. So there is no argument that installing everything manually is better than using these facilitators.

Something bad about using this type of feature is the fact that decent servers do not have a graphical interface or are Linux, getting you stuck with a facilitator like this.

I have used one of these facilitators and I can tell you that, if the services are properly configured, it will suit you well.

Now if I can give you a hint, I suggest you do not use desktop operating systems on servers. I suggest you use a folder or other linux distro, since installing apache, php and mysql is much simpler than in windows.

EDIT

Just to get rich: Any internet search on this subject returns blog posts or forums where the author says there are problems with incompatibilities and strange error messages. However the posts are totally frivolous and lack more details, leading me to further reinforce that the resistance is purism and the complaints amateurism.

Strange errors and messages occur due to poor configuration, not the fault of the facilitator. The same goes for compatibility.

Of course this Edit is just my point of view.

  • I will use a development environment facilitator on a production server and reconfigure later, but do I as a layman know how to set up? I can download individually and deploy with the suggested settings for producing the software itself (see the Mysql installer and PHP config). In addition, the packages install more than you need (like Xampp which sees a mail server). If we want facilities we can use a package for production servers (Zend Server).

  • @gmsantos Laity will do nonsense anyway. With a facilitator I can select what I want or do not install. It’s no use, man, this is all purism.

  • I don’t see it as purism, I see how you know what you’re doing. But using a package with focus for dev in production and reconfiguring is a waste of time, so much so that I recommended using Zend Server (done for this) and more recently we also have a Production-ready for Easyphp as packages for the proper order.

  • @gmsantos We agree to disagree.

  • @gmsantos one thing I’d like you to understand is that many people say "Packages for production" lightly, ngm makes that clear. I’m no expert on PHP as you and me install Apache with the modules my app needs and configure it for specific security, access and resource management issues (choosing the ini more suitable) is enough and should be done anyway, regardless of what is used. Show me clearly that I’m wrong about something significant. Show me the power of your PHP certificate :D. Make the site richer.

  • In addition to Apache, it is important to configure PHP directives such as error display, log storage, PHP and Mysql memory consumption (the server should be larger than the development machine). Both environments have different needs and a more manual configuration ensures that certain bottlenecks are eliminated at the root. If you have any specific questions, please post in the question format.

  • @gmsantos All of this can be done using xammp, wamp, Easyphp and other facilitators by simply setting up php.ini, mysql.ini and httpd.conf. As I have already said: These facilitators only install the tools but the configuration is free, if the more or less work is not in the scope of the question, since this is personal. I can not help but agree with your placement, after all you have know how, now also can not say that it is worse to use a facilitator because there is no clear evidence of its ineffectiveness. What I asked for was clear evidence in the benchmark format.

  • I thank everyone who commented, helped a lot in decision making.

Show 3 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.