草庐IT

install-configuration

全部标签

PHP XML 扩展 : Not installed

所以我目前正在安装mybb并通过了一个非常长的教程来了解如何安装。问题是当我达到要求时,检查会出现这种情况如何解决这个问题?我读到我可能需要做sudoapt-getinstallphp-xml我已完成此操作,一切正常,但仍未将其更改为已安装。仅供引用:我只使用这个操作系统几天所以请对我好:) 最佳答案 你已经接近了sudoapt-getinstallphp-xml那你需要重启apache才能生效sudoserviceapache2restart 关于PHPXML扩展:Notinstall

php - CakePHP 错误 : Unable to configure the session, 设置 session.auto_start 失败

我收到这个错误:错误:[CakeSessionException]无法配置session,设置session.auto_start失败。我正在使用Cakephp2.2.4。编辑看来这个人有同样的问题:CakephpSessionerroronlivesite并使用这个if(!isset($_SESSION))session_start();在AppController的beforefilter方法中修复错误。所以我的问题是:为什么会这样?一切正常,然后突然出现此错误。此外,我意识到文件夹app/tmp/sessions是空的,并且我已将session配置为由Cake处理(在Config

php - 警告 : require_once(): http://wrapper is disabled in the server configuration by allow_url_include=0

我正在尝试在页面中包含一个php文件require_once(http://localhost/web/a.php)我收到一个错误Warning:require_once():http://wrapperisdisabledintheserverconfigurationbyallow_url_include=0我在php.ini中更改了allow_url_include=1并且效果很好,但我不认为每个人都会让我更改他们的php.ini文件。那么,有没有办法做到这一点? 最佳答案 生成警告是因为您正在使用包含的文件的完整URL。这不

php - sudo pecl install apc 返回错误

我运行命令:sudopeclinstallapc文件被下载,配置成功,然后make启动,我得到以下错误。/usr/include/php5/ext/pcre/php_pcre.h:29:fatalerror:pcre.h:没有这样的文件或目录有办法解决吗? 最佳答案 PCRE是安装APC的依赖项。您可以使用快速安装它yuminstallpcre-devel或apt-getinstalllibpcre3-dev安装完成后,重新运行sudopeclinstallapc 关于php-sudop

mysql - 错误 : command 'x86_64-linux-gnu-gcc' when installing mysqlclient

我在virtualenv中安装了django1.8.5并使用python3.4.3使用sqlite时,worked显示itworks页面我想使用mysql,我正在尝试使用以下命令安装mysqlclientpipinstallmysqlclient我收到以下消息----------------------------------------FailedbuildingwheelformysqlclientFailedtobuildmysqlclientInstallingcollectedpackages:mysqlclientRunningsetup.pyinstallformysql

mysql_install_db 给出错误

我已经从here下载了mysql-5.1.38-linux-x86_64-glibc23.tar.gz然后我用下面的命令执行了它groupaddmysqluseradd-gmysqlmysql123cpmysql-5.1.38-linux-x86_64-glibc23.tar.gz/home/mysql123/su-mysql123tar-zxvfmysql-5.1.38-linux-x86_64-glibc23.tar.gzmvmysql-5.1.38-linux-x86_64-glibc23mysqlmkdirtmpcdmysql/mvsuppport-files/my-mediu

python - 加载 MySQLdb 模块时出错和 "pip install MySQLdb"

我正在尝试启动一个Django项目。我在尝试运行manage.py时遇到此错误:(venv)dyn-160-39-161-214:projBren$pythonmanage.pyTraceback(mostrecentcalllast):File"manage.py",line10,inexecute_from_command_line(sys.argv)File"/Users/Bren/Desktop/fss/venv/lib/python2.7/site-packages/django/core/management/__init__.py",line354,inexecute_f

python - MySQLClient 安装错误 : "raise Exception("Wrong MySQL configuration: maybe https://bugs. mysql.com/bug.php?id"

我正在尝试将mysqlclient安装到我的Python3.6。最初我要安装的是MySQLdb,但是它说MySQLdb不能与Python3一起使用(仍然?)。所以我切换到mysqlclient。pip3installmysqlclient但是,它给出了这个错误:CollectingmysqlclientUsingcachedhttps://files.pythonhosted.org/packages/ec/fd/83329b9d3e14f7344d1cb31f128e6dbba70c5975c9e57896815dbb1988ad/mysqlclient-1.3.13.tar.gzC

mysql - 错误 : Error installing mysql2: ERROR: Failed to build gem native extension

我在尝试为Rails安装geminstallmysql2-v'0.3.17'时遇到了一些问题。当我尝试通过运行geminstallmysql2-v'0.3.17'或geminstallmysql2-v'0.3.17'来安装它时,出现以下错误:ERROR:Errorinstallingmysql2:ERROR:Failedtobuildgemnativeextension.CouldnotcreateMakefileduetosomereason,probablylackofnecessarylibrariesand/orheaders.Checkthefileformoredetail

mysql - 我可以使用 mvn install :install-file? 安装 mysql jdbc 连接器吗

我想使用Maven安装JDBC连接器。我有以下内容:mvninstall:install-file-DgroupId=mysql-DartifactId=mysql-connnector-java-Dversion=5.1.6-Dpackaging=jar-Dfile=-DgenerationPom=true我想我所需要的只是放在=Dfile=另一边的东西?我也有一段时间没有使用maven了,所以我不确定文件开关是干什么用的?感谢所有的见解! 最佳答案 “install-file”或“deploy-file”目标用于将Artifac