LAMPP启动失败,并错误2 [英] LAMPP startup fails with Error 2

查看:638
本文介绍了LAMPP启动失败,并错误2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图建立一个Web服务器来测试我的PHP脚本。

i'm trying to set up a webserver for testing my php scripts.

我下载了最新版本LAMPP(1.8.1)中提取它到/ opt / LAMPP。

I downloaded the latest version of lampp (1.8.1) and extracted it to /opt/lampp.

现在我只是试图启动,但它失败:

Now i've just tried to start it but it fails:

XXX @ XXX-PC1中:/ opt / LAMPP $须藤的/ opt / LAMPP / LAMPP开始结果
XAMPP开始为Linux 1.8.1 ...结果
的/ opt / LAMPP /股/ LAMPP / phpstatus:4号线中:/ opt / LAMPP /斌/ PHP:不能执行二进制文件搜索
XAMPP:使用SSL ......结果启动Apache
的/ opt / LAMPP /斌/ httpd的:1中:/ opt / LAMPP /斌/ httpd的:语法错误:(意外结果
XAMPP:错误2!无法启动Apache!结果
XAMPP:启动诊断...结果
XAMPP:对不起,我不知道发生了什么事情错了结果。
XAMPP:请联系我们论坛http://www.apachefriends.org/f/结果
XAMPP:启动MySQL ...结果
./bin/my_print_defaults:1:./bin/my_print_defaults:语法错误:(意外结果
XAMPP:无法启动MySQL的结果!
XAMPP:启动ProFTPD的...
XAMPP中:/ opt / LAMPP / LAMPP:333行中:/ opt / LAMPP / sbin目录/ proftpd的:不能执行二进制文件搜索
XAMPP:错误126! Couln't启动ProFTPD的!结果
XAMPP的Linux启动。结果
XXX @ XXX-PC1中:/ opt / LAMPP $

有谁知道这个问题?

推荐答案

您必须安装LAMP它将运行之前。在Ubuntu做最简单的方法是运行此命令。

You have to install LAMP before it will run. The easiest way to do this in Ubuntu is to run this command.

xxx@xxx-pc1: sudo tasksel

这将启动其中一个工具tasksel这将打开一个对话框,让你选择并安装几部分组成,是LAMP。安装LAMP会给你的Apache,PHP和MySQL都包裹起来,共同劳动。它还将在/etc/init.d一个条目来自动启动它全部给你。

This will start tasksel which opens a dialog box and allows you to select and install several components, one of which is LAMP. Installing LAMP will give you Apache, PHP and MySQL all wrapped up and working together. It will also make an entry in /etc/init.d to start it all up for you automatically.

如果没有安装工具tasksel然后再进行安装,像这样:

If Tasksel is not installed then install it like so:

xxx@xxx-pc1: sudo apt-get install tasksel

在位于tasksel只需按照投入和提供一些基本的答案,你去和运行

Once in tasksel just follow the inputs and provide some basic answers and you're off and running

这篇关于LAMPP启动失败,并错误2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆