[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"/en/cloud/marketplace/lampMarketplaceSoftwareData":3},{"software":4,"vpsPlanList":32,"page":115},{"id":5,"name":6,"display_name":7,"version":8,"description":9,"description_en":10,"requirements":11,"category":14,"metadata":21,"recommended_requirements":30,"slug":6,"documentation_slug":6,"unattended_install_available":19,"license":31,"is_available":19},10292,"lamp","LAMP","latest","Готовый набор часто используемого ПО для хостинга веб-приложений: Apache, MySQL, PHP. ","A&nbsp;ready-made set of&nbsp;frequently used software for web application hosting: Apache, MySQL, PHP.",{"cpu_cores":12,"disk_size":13,"memory_size":13},1,1024,[15],{"sys_name":16,"name":17,"name_en":18,"is_main":19,"icon_svg":20},"for_developers","Для разработчиков","For developers ",true,"\u003Csvg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n\u003Cpath d=\"M4.66546 2.72754C3.76886 2.72754 2.98168 3.32349 2.73893 4.18605L1.07897 10.0844C0.705557 11.4112 1.70335 12.7275 3.08256 12.7275H12.9174C14.2967 12.7275 15.2944 11.4112 14.921 10.0844L13.2611 4.18605C13.0183 3.32349 12.2311 2.72754 11.3345 2.72754H4.66546ZM3.70219 4.45679C3.82357 4.02551 4.21716 3.72754 4.66546 3.72754H11.3345C11.7828 3.72754 12.1764 4.02551 12.2978 4.45679L13.9578 10.3551C14.1517 11.0441 13.6336 11.7275 12.9174 11.7275H3.08256C2.36643 11.7275 1.84834 11.0441 2.04223 10.3551L3.70219 4.45679ZM4.49734 13.7275C4.22102 13.7275 3.99702 13.9514 3.99702 14.2275C3.99702 14.5037 4.22102 14.7275 4.49734 14.7275H11.5018C11.7781 14.7275 12.0021 14.5037 12.0021 14.2275C12.0021 13.9514 11.7781 13.7275 11.5018 13.7275H4.49734Z\" fill=\"currentColor\"/>\n\u003C/svg>",{"is_new":22,"is_latest":22,"is_popular":22,"weight":23,"primary_color":24,"secondary_color":25,"icon":26,"icon2x":27,"logo":28,"logo2x":29,"is_pinned":22},false,29,"#4B2B7A","#D53A31","https://cp.beget.com/shared/nxoWmkTRPrwazXpk_S1gGCBDOr0wLSIh/apache_feather_logo-2.png","https://cp.beget.com/shared/sfQzK2QWBBmS8bDPFGS47Z-ZxlZmjDTF/apache_feather_logo-2.png","https://cp.beget.com/shared/kQLzScxOiz5bEOEn6FoG2PDRwhFIiWvF/lamp.png","https://cp.beget.com/shared/moXctHBpmaKrJzC62H15MuSAKTJ7h8od/lamp2x.png",{"cpu_cores":12,"disk_size":13,"memory_size":13},[],[33,46,57,68,79,91,103],["Reactive",34],{"name":35,"display_name":36,"specs":37,"prices":40,"region":44,"group":45},"ru1_simple_v5","Simple",{"disk_size":38,"memory_size":13,"cpu_cores":12,"bandwidth_public":39},10240,1000,{"no_discount":41},{"month_amount":42,"day_amount":43},330,11,"ru1","normal_cpu",["Reactive",47],{"name":48,"display_name":49,"specs":50,"prices":53,"region":44,"group":45},"ru1_light_v5","Light",{"disk_size":51,"memory_size":52,"cpu_cores":12,"bandwidth_public":39},15360,2048,{"no_discount":54},{"month_amount":55,"day_amount":56},510,17,["Reactive",58],{"name":59,"display_name":60,"specs":61,"prices":64,"region":44,"group":45},"ru1_prime_v5","Prime",{"disk_size":62,"memory_size":52,"cpu_cores":63,"bandwidth_public":39},30720,2,{"no_discount":65},{"month_amount":66,"day_amount":67},810,27,["Reactive",69],{"name":70,"display_name":71,"specs":72,"prices":75,"region":44,"group":45},"ru1_plus_v5","Plus",{"disk_size":73,"memory_size":74,"cpu_cores":63,"bandwidth_public":39},40960,4096,{"no_discount":76},{"month_amount":77,"day_amount":78},990,33,["Reactive",80],{"name":81,"display_name":82,"specs":83,"prices":87,"region":44,"group":45},"ru1_optimal_v5","Optimal",{"disk_size":84,"memory_size":85,"cpu_cores":86,"bandwidth_public":39},81920,6144,4,{"no_discount":88},{"month_amount":89,"day_amount":90},2040,68,["Reactive",92],{"name":93,"display_name":94,"specs":95,"prices":99,"region":44,"group":45},"ru1_heavy_v5","Heavy",{"disk_size":96,"memory_size":97,"cpu_cores":98,"bandwidth_public":39},153600,12288,6,{"no_discount":100},{"month_amount":101,"day_amount":102},3600,120,["Reactive",104],{"name":105,"display_name":106,"specs":107,"prices":111,"region":44,"group":45},"ru1_strong_v5","Strong",{"disk_size":108,"memory_size":109,"cpu_cores":110,"bandwidth_public":39},225280,16384,8,{"no_discount":112},{"month_amount":113,"day_amount":114},5490,183,{"route":116,"uuid":119,"title":7,"excerpt":120,"content":121,"view_count":122,"published_at":123,"modified_at":124,"like":125,"category":126,"hero_image":136,"seo_metadata":137,"schema_org_metadata":141,"open_graph_metadata":186,"sections":187,"tags":200,"breadcrumbs":201,"images":208,"marketplace":211},{"language":117,"path":118},"en","/cloud/marketplace/lamp","91477dba-95c6-e40f-baf8-e8f453c5d7d6","LAMP (Linux, Apache, MySQL, PHP) is a popular software suite for hosting websites and PHP applications. The main LAMP stack benefits are simple configuration and low cost.","\n\u003Cp>\u003Cstrong>LAMP\u003C/strong> (\u003Cstrong>L\u003C/strong>inux, \u003Cstrong>A\u003C/strong>pache, \u003Cstrong>M\u003C/strong>ySQL, \u003Cstrong>P\u003C/strong>HP) is a popular software suite for hosting websites and PHP applications. The main LAMP stack benefits are simple configuration and low cost. All components are free and open source. In addition, the Apache web server is extremely flexible. That's why the LAMP stack is popular.\u003C/p>\n\n\n\n\u003Cp>\u003Cstrong>Beget VPS with pre-installed LAMP\u003C/strong> is a set of software from the distribution packages. It does not require a separate installation and configuration to work.\u003C/p>\n\n\n\n\u003Ch2 id=\"installation-package-information\">\u003Cstrong>Installation package information&nbsp;\u003C/strong>\u003C/h2>\n\n\n\n\u003Cp>LAMP is a Linux web development stack that will require self-administration and a willingness to do customization for your project.&nbsp;\u003C/p>\n\n\n\n\u003Cp>LAMP stack consists of the following components:\u003C/p>\n\n\n\n\u003Cul>\u003Cli>Ubuntu 24.04\u003C/li>\u003Cli>MySQL 8.0.41\u003C/li>\u003Cli>Apache 2.4.58\u003C/li>\u003Cli>PHP 8.4 (mod_apache)\u003C/li>\u003C/ul>\n\n\n\n\u003Cp>\u003Cstrong>Apache\u003C/strong> is a web server capable of executing PHP code (using mod_php) as part of the HTTP request processing. Due to this, a single web server can process all of the incoming requests.\u003C/p>\n\n\n\n\u003Cp>\u003Cstrong>MySQL\u003C/strong> is a database management system. It is often used in popular CMS and frameworks based on PHP. The database is needed to store dynamic website data: page content, list of users, product catalog, and any other data.\u003C/p>\n\n\n\n\u003Cdiv class=\"wp-block-beget-collapse collapse-block _has-background\">\u003Cdiv class=\"collapse-block__trigger\">\u003Cdiv>\u003Cstrong>Full list of installed PHP modules\u003C/strong>\u003C/div>\u003C/div>\u003Cdiv class=\"collapse-block__body-wrapper\">\u003Cdiv class=\"collapse-block__body\">\n\u003Cul>\u003Cli>php-cli – command line tools for executing PHP scripts\u003C/li>\u003Cli>php-mysql – provides interaction with MySQL\u003C/li>\u003Cli>php-opcache – extension, provides caching of opcode and speeds up applications\u003C/li>\u003Cli>php-readline – extension, implements the interface to GNU readline\u003C/li>\u003C/ul>\n\u003C/div>\u003C/div>\u003C/div>\n\n\n\n\u003Ch2 id=\"installing-and-working-with-lamp\">\u003Cstrong>Installing and working with LAMP\u003C/strong>\u003C/h2>\n\n\n\n\u003Cp>Installation of the LAMP software suite from the Beget control panel is done in one click. No additional parameters are required to specify when creating a server.\u003C/p>\n\n\n\n\u003Cp>Before installation, you can select the server configuration and configure the \u003Ca href=\"http://beget.com/s/0xE02\">SSH connection method: add an SSH key\u003C/a> and/or generate a password to connect via SSH. If you don't specify either method of authentication, the password will be generated automatically and sent to email.\u003C/p>\n\n\n\n\u003Cp>After creating the server and completing the LAMP installation, make sure that the welcome page opens at \u003Ccode>http://ip_server\u003C/code>:\u003C/p>\n\n\n\n\u003Cdiv class=\"wp-block-beget-image image-block\">\u003Cimg src=\"https://cp.beget.com/shared/rkLV9xH6S-MLQRFY1Tz0_N7i2heHMvB4/frame_safari_light-2.png\" alt=\"LAMP apache\">\u003C/div>\n\n\n\n\u003Cp>It will indicate that the installation was successful.\u003C/p>\n\n\n\n\u003Cp>To connect to the deployed server, type the command in the terminal (bash / Putty) \u003Ccode>ssh root@ip_server\u003C/code>. You can find the IP address of your server in the deployed server control panel.\u003C/p>\n\n\n\n\u003Ch3 id=\"working-with-lamp\">\u003Cstrong>Working with LAMP\u003C/strong>\u003C/h3>\n\n\n\n\u003Cp>To work with LAMP, you need to know the location of the main files and directories:\u003C/p>\n\n\n\n\u003Cul>\u003Cli>By default, one virtual host is created, which is available at \u003Ccode>http://ip_server\u003C/code>.\u003C/li>\u003Cli>The directory with files for the virtual host is located by default in \u003Ccode>/var/www/html\u003C/code>. For the web server to be able to read the contents of the files, we recommend that the user \u003Ccode>www-data\u003C/code> be set as the owner of the files.\u003C/li>\u003Cli>The password for the user \u003Ccode>root\u003C/code> to MySQL database management system is in the file \u003Ccode>/root/.my.cnf\u003C/code>.\u003C/li>\u003C/ul>\n\n\n\n\u003Cp>During the LAMP server management, you can change any settings of your web server or MySQL database by yourself if necessary. We wish you good luck with the LAMP server setup and using it!\u003C/p>\n\n\n\n\u003Ch2 id=\"faq\">\u003Cstrong>FAQ\u003C/strong>\u003C/h2>\n\n\n\n\u003Cdiv class=\"wp-block-beget-collapse collapse-block _has-background\">\u003Cdiv class=\"collapse-block__trigger\">\u003Cdiv>Where are the Apache and virtual host configurations?\u003C/div>\u003C/div>\u003Cdiv class=\"collapse-block__body-wrapper\">\u003Cdiv class=\"collapse-block__body\">\n\u003Cp>All the configuration files for the Apache web server are under \u003Ccode>/etc/apache2\u003C/code>\u003C/p>\n\n\n\n\u003Cp>The default virtual host configuration file is in: \u003Ccode>/etc/apache2/sites-enabled/000-default.conf\u003C/code>\u003C/p>\n\n\n\n\u003Cp>After making the configuration changes, don't forget to restart the web server: \u003Ccode>systemctl restart apache2.service\u003C/code>\u003C/p>\n\u003C/div>\u003C/div>\u003C/div>\n\n\n\n\u003Cdiv class=\"wp-block-beget-collapse collapse-block _has-background\">\u003Cdiv class=\"collapse-block__trigger\">\u003Cdiv>Where are the PHP configuration files?\u003C/div>\u003C/div>\u003Cdiv class=\"collapse-block__body-wrapper\">\u003Cdiv class=\"collapse-block__body\">\n\u003Cp>The PHP configuration files for mod_php are located in: \u003Ccode>/etc/php/8.1/apache2\u003C/code>\u003C/p>\n\n\n\n\u003Cp>After making changes to the mod_php configurations, remember to restart the web server: \u003Ccode>systemctl restart apache2.service\u003C/code>\u003C/p>\n\n\n\n\u003Cp>The PHP configuration files for the CLI are under \u003Ccode>/etc/php/8.1/cli\u003C/code>\u003C/p>\n\u003C/div>\u003C/div>\u003C/div>\n\n\n\n\u003Cdiv class=\"wp-block-beget-collapse collapse-block _has-background\">\u003Cdiv class=\"collapse-block__trigger\">\u003Cdiv>How can I create a separate MySQL user?\u003C/div>\u003C/div>\u003Cdiv class=\"collapse-block__body-wrapper\">\u003Cdiv class=\"collapse-block__body\">\n\u003Cul>\u003Cli>Connect to MySQL with \u003Ccode>sudo mysql -uroot\u003C/code>\u003C/li>\u003Cli>After that, create a new user with the following command:\u003Cbr>\u003Ccode>CREATE USER 'user-name'@'localhost' IDENTIFIED BY 'password'\u003C/code>\u003C/li>\u003Cli>Grant the new user all rights:\u003Cbr>\u003Ccode>GRANT ALL PRIVILEGES ON * . * TO 'user-name'@'localhost'\u003C/code>\u003C/li>\u003Cli>For the changes to take effect, run the command:\u003Cbr>\u003Ccode>FLUSH PRIVILEGES\u003C/code>\u003C/li>\u003C/ul>\n\u003C/div>\u003C/div>\u003C/div>\n\n\n\n\u003Cdiv class=\"wp-block-beget-collapse collapse-block _has-background\">\u003Cdiv class=\"collapse-block__trigger\">\u003Cdiv>How can I restart Apache / MySQL?\u003C/div>\u003C/div>\u003Cdiv class=\"collapse-block__body-wrapper\">\u003Cdiv class=\"collapse-block__body\">\n\u003Cp>Use the following commands to restart services:\u003C/p>\n\n\n\n\u003Cul>\u003Cli>Apache2: \u003Ccode>systemctl restart apache2.service\u003C/code>\u003C/li>\u003Cli>MySQL: \u003Ccode>systemctl restart mysql.service\u003C/code>\u003C/li>\u003C/ul>\n\u003C/div>\u003C/div>\u003C/div>\n\n\n\n\u003Cdiv class=\"wp-block-beget-collapse collapse-block _has-background\">\u003Cdiv class=\"collapse-block__trigger\">\u003Cdiv>How can I add an extension for PHP?\u003C/div>\u003C/div>\u003Cdiv class=\"collapse-block__body-wrapper\">\u003Cdiv class=\"collapse-block__body\">\n\u003Cp>Most extensions are already pre-packaged in the repository. To install and plug a new extension in, run the commands:\u003C/p>\n\n\n\n\u003Cul>\u003Cli>\u003Ccode>apt install php-gd\u003C/code> (\u003Ccode>php-gd\u003C/code> is an example, you should use the name of the desired package)\u003C/li>\u003Cli>\u003Ccode>systemctl restart apache2.service\u003C/code>\u003C/li>\u003C/ul>\n\u003C/div>\u003C/div>\u003C/div>\n",0,"2022-10-27T12:43:05+03:00","2025-04-04T10:47:13+03:00",{"count":122,"liked":22},{"route":127,"title":129,"tags":130,"breadcrumbs":131,"uuid":132,"parent_uuid":133,"default_page_path":134,"seo_metadata":135},{"language":117,"path":128},"/cloud/marketplace","Marketplace",[],[],"02dbca54-28f4-bace-5d71-e9c9154d3b39","5a99eafc-af0b-9ab7-fb2a-8c0d4759d236","",{"title":134,"description":134,"header":134,"keywords":134},{"src":134,"text":134},{"title":138,"description":139,"keywords":140},"LAMP is a suite of web application hosting software","Beget VPS with pre-installed LAMP is a classic set of software from the distribution packages.","LAMP create server, LAMP VPS/VDS",{"faq":142,"how_to":158,"product":159},[143,146,149,152,155],{"question":144,"answer":145},"Where are the Apache and virtual host configurations?","All the configuration files for the Apache web server are under /etc/apache2\n\nThe default virtual host configuration file is in: /etc/apache2/sites-enabled/000-default.conf\n\nAfter making the configuration changes, don't forget to restart the web server: systemctl restart apache2.service",{"question":147,"answer":148},"Where are the PHP configuration files?","The PHP configuration files for mod_php are located in: /etc/php/8.1/apache2\n\nAfter making changes to the mod_php configurations, remember to restart the web server: systemctl restart apache2.service\n\nThe PHP configuration files for the CLI are under /etc/php/8.1/cli",{"question":150,"answer":151},"How can I create a separate MySQL user?","Connect to MySQL with sudo mysql -uroot\nAfter that, create a new user with the following command:\nCREATE USER 'user-name'@'localhost' IDENTIFIED BY 'password'\nGrant the new user all rights:\nGRANT ALL PRIVILEGES ON * . * TO 'user-name'@'localhost'\nFor the changes to take effect, run the command:\nFLUSH PRIVILEGES",{"question":153,"answer":154},"How can I restart Apache / MySQL?","Use the following commands to restart services:\n\nApache2: systemctl restart apache2.service\nMySQL: systemctl restart mysql.service",{"question":156,"answer":157},"How can I add an extension for PHP?","Most extensions are already pre-packaged in the repository. To install and plug a new extension in, run the commands:\n\napt install php-gd (php-gd is an example, you should use the name of the desired package)\nsystemctl restart apache2.service",null,{"name":7,"image":29,"brand":160,"description":139,"offer":161,"review":168},"Beget",{"url":162,"price_currency":163,"price":164,"price_valid_until":165,"availability":166,"item_condition":167},"https://beget.com/en/cloud/marketplace/lamp","EUR","0.08","2026-12-24","https://schema.org/InStock","https://schema.org/NewCondition",[169,178,182],{"name":170,"body":171,"author_type":172,"author_name":173,"publisher_type":174,"publisher_name":175,"date_published":176,"rating":177},"Best server for business","We host the websites of our franchise branches at Beget. We appreciate hosting for the fact that despite the large attendance, partner sites work stably and without errors, and any questions in support are resolved very quickly. Excellent ratio of price and stability!","Person","Louise Schneider","Organization","hostings.info","2024-12-24","5",{"name":179,"body":180,"author_type":172,"author_name":181,"publisher_type":174,"publisher_name":175,"date_published":176,"rating":177},"Best VDS hosting","The most adequate for today hosting on the ratio of price to quality (although two years ago before the sharp rise in price was even better). From the pluses really working operational support and excellent affiliate program with fat deductions. It is convenient for freelancers and small companies engaged in the development of sites, in fact, do not need to keep your server under the clients, all transferred here to Beget and receives 40% of the payment of the client","Herman Berg",{"name":183,"body":184,"author_type":172,"author_name":175,"publisher_type":174,"publisher_name":185,"date_published":176,"rating":177},"Great hosting provider","Beget provides a wide range of services: shared hosting with a wide range of tariffs, VPS/VDS with a choice of configurations and rent of dedicated servers, where the user has the opportunity to both administer the server independently and delegate administration to Beget. All information about the services and their descriptions are presented on the main page of the website.","Michael Schatz",{},[188,191,194,197],{"level":12,"name":189,"anchor":190},"Installation package information ","installation-package-information",{"level":12,"name":192,"anchor":193},"Installing and working with LAMP","installing-and-working-with-lamp",{"level":63,"name":195,"anchor":196},"Working with LAMP","working-with-lamp",{"level":12,"name":198,"anchor":199},"FAQ","faq",[],[202,206],{"route":203,"title":205},{"language":117,"path":204},"/cloud","Cloud",{"route":207,"title":129},{"language":117,"path":128},[209],{"src":210},"https://cp.beget.com/shared/rkLV9xH6S-MLQRFY1Tz0_N7i2heHMvB4/frame_safari_light-2.png",{"useful_link":212},[]]