teddysun / lamp Goto Github PK
View Code? Open in Web Editor NEWInstall LAMP (Linux + Apache + MySQL/MariaDB + PHP) for AlmaLinux/RockyLinux/CentOS/Debian/Ubuntu
Home Page: https://lamp.sh
License: GNU General Public License v3.0
Install LAMP (Linux + Apache + MySQL/MariaDB + PHP) for AlmaLinux/RockyLinux/CentOS/Debian/Ubuntu
Home Page: https://lamp.sh
License: GNU General Public License v3.0
OS: Cent OS 6.x
error occurred when run lamp.sh
xml/apr_xml.c:35:19: error: expat.h: No such file or directory xml/apr_xml.c:66: error: expected specifier-qualifier-list before ‘XML_Parser’ xml/apr_xml.c: In function ‘cleanup_parser’: xml/apr_xml.c:364: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:365: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c: At top level: xml/apr_xml.c:384: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token xml/apr_xml.c: In function ‘apr_xml_parser_create’: xml/apr_xml.c:401: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:402: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:410: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:411: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:412: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:424: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:424: error: ‘default_handler’ undeclared (first use in this function) xml/apr_xml.c:424: error: (Each undeclared identifier is reported only once xml/apr_xml.c:424: error: for each function it appears in.) xml/apr_xml.c: In function ‘do_parse’: xml/apr_xml.c:434: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:438: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:442: error: ‘apr_xml_parser’ has no member named ‘xp_err’ xml/apr_xml.c:442: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c: In function ‘apr_xml_parser_geterror’: xml/apr_xml.c:500: error: ‘apr_xml_parser’ has no member named ‘xp_err’ xml/apr_xml.c:500: error: ‘apr_xml_parser’ has no member named ‘xp_err’ make[3]: *** [xml/apr_xml.lo] Error 1 make[3]: Leaving directory
/root/lamp-master/software/httpd-2.4.27/srclib/apr-util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /root/lamp-master/software/httpd-2.4.27/srclib/apr-util' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/root/lamp-master/software/httpd-2.4.27/srclib'
make: *** [all-recursive] Error 1
make: *** empty string invalid as file name. Stop.
+------------------+
| ERROR DETECTED |
+------------------+
Installation httpd-2.4.27 failed.
The Full Log is available at /root/lamp-master/lamp.log
Please visit website: https://lamp.sh/faq.html for help
4.4.7-18) (GCC) ) #1 SMP Tue Jun 20 01:26:55 UTC 2017
Memery:
total used free shared buffers cached
Mem: 1700 594 1105 0 25 392
-/+ buffers/cache: 176 1523
Swap: 0 0 0
Disk:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.8G 1.6G 7.8G 17% /
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
devpts 0 0 0 - /dev/pts
tmpfs 851M 0 851M 0% /dev/shm
none 0 0 0 - /proc/sys/fs/binfmt_misc
PHP Version: php-5.6.31
PHP compile parameter: --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/php/etc --with-config-file-scan-dir=/usr/local/php/php.d --with-pcre-dir=/usr/local/pcre --with-imap=/usr/local/imap --with-imap-ssl --with-libxml-dir --with-openssl --with-snmp --with-libdir=lib64 --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql-sock=/tmp/mysql.sock --with-pdo-mysql=/usr/local/mysql --with-gd --with-vpx-dir --with-jpeg-dir --with-png-dir --with-xpm-dir --with-freetype-dir --with-zlib --with-bz2 --with-curl=/usr --with-gettext --with-gmp --with-mhash --with-icu-dir=/usr --with-ldap --with-ldap-sasl --with-libmbfl --with-onig --with-mcrypt --with-unixODBC --with-pspell=/usr --with-enchant=/usr --with-readline --with-tidy=/usr --with-xmlrpc --with-xsl --without-pear --enable-bcmath --enable-calendar --enable-dba --enable-exif --enable-ftp --enable-gd-native-ttf --enable-gd-jis-conv --enable-intl --enable-mbstring --enable-pcntl --enable-shmop --enable-soap --enable-sockets --enable-wddx --enable-zip --enable-mysqlnd
Issue:failed to install httpd-2.4.27`
您好,我在centos中安装 mysql 报以上错误
Hi, $ lamp add
后上传wordpress至/data/www/mydoamin/,打开浏览器显示的总是/data/www/default/里的内容 “Congratulations. LAMP is installed successfully!”
清空浏览器缓存、换另外一台机器都不行,然后去朋友的家里却正常打开wp安装界面;之后回到自己的电脑,清空缓存并重启电脑后,顺利出现安装界面并安装完成。
今天让美国的朋友帮忙测试下,结果还是“Congratulations. LAMP is installed successfully!” 而不是已安装完成的WP.
指定其他版本的php怎么安装
how to install other php version(7.2.0)
怎么链接ftp?
因为有特殊程序需要,所以希望能支持下,我知道php4x很老,但是有的程序还是需要用到。希望能得到帮助。
[Info] pcre-8.41 install start...
[Info] pcre-8.41.tar.gz not found, download now...
--2018-03-15 10:50:48-- https://dl.lamp.sh/files/pcre-8.41.tar.gz
Resolving dl.lamp.sh (dl.lamp.sh)... 168.235.94.152, 107.173.13.215
Connecting to dl.lamp.sh (dl.lamp.sh)|168.235.94.152|:443... connected.
GnuTLS: A TLS fatal alert has been received.
Unable to establish SSL connection.
我在你的GitHub项目组里也找不到这个文件pcre-8.41.tar.gz
谢谢大佬
现在ip直接访问的话是lamp页面,我想配置成我项目的页面,该怎么使用呢
Hi, 自动配置Let's Encrypted非常棒,但是如可以强制http跳转到https就好了。
您好,我在国内外若干个vps上安装了您的一键,但是发现有个问题,就是用IDM或者浏览器自带的下载工具下载正常,但是使用迅雷或者旋风一类的P2P下载软件就不能正常下载,请问这是怎么回事,我试过国外的vps和国内的vps都不可以。
ubuntu Server 64 14.0.5
The mysql database cannot be installed!
have tested your package installer on an Ubuntu 16.04
memcached installation wa no option during installation and was not installed after finishing. Is there a reason for?
如redis.io,其他DLL,php.ini开关无法控制扩展启用或停用
1. Upgrade Apache
2. Upgrade MySQL/MariaDB/Percona
3. Upgrade PHP
4. Upgrade phpMyAdmin
5. Exit
Please input a number: 1
Latest version of Apache: 2.4.29
Installed version of Apache: 2.4.29
Do you want to upgrade Apache ? (y/n)
(Default: n):^C
[root@mysvr lamp]# httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built: Oct 19 2017 20:39:16
[root@mysvr lamp]# httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built: Oct 19 2017 20:39:16
[root@mysvr lamp]#
rpm -q httpd
httpd-2.4.6-67.el7.centos.6.x86_64
Apache is 2.4.6 or 2.4.29??
希望支持mysql pdo扩展
您好,我使用您的lamp一键安装之后使用mysql插字段的时候必须设置默认值不然不给插入.请问应该如何设置才可以在不设置默认值的情况下能插入数据呢?
MySQL #1364 – Field “details” doesn’t have a default value
一直卡在下载mysql资源包。。。
mysql-5.7.19-linux-glibc2.12-x86_64.tar.gz not found, download now...
安装版本为php7.2.2,memcache3.0.8
编译memcache时报错,没有"ext/standard/php_smart_str.h" and "ext/standard/php_smart_str_public.h"
2018 年 02 月 14 日更新日志:
修正:PHP 扩展 memcached 安装失败的问题,但还是安装出错
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
/bin/sh /root/lamp-master/software/memcache-3.0.8/libtool --mode=compile cc -I/usr/local/php/include/php -I. -I/root/lamp-master/software/memcache-3.0.8 -DPHP_ATOM_INC -I/root/lamp-master/software/memcache-3.0.8/include -I/root/lamp-master/software/memcache-3.0.8/main -I/root/lamp-master/software/memcache-3.0.8 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/lamp-master/software/memcache-3.0.8/memcache.c -o memcache.lo
mkdir .libs
cc -I/usr/local/php/include/php -I. -I/root/lamp-master/software/memcache-3.0.8 -DPHP_ATOM_INC -I/root/lamp-master/software/memcache-3.0.8/include -I/root/lamp-master/software/memcache-3.0.8/main -I/root/lamp-master/software/memcache-3.0.8 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/lamp-master/software/memcache-3.0.8/memcache.c -fPIC -DPIC -o .libs/memcache.o
In file included from /root/lamp-master/software/memcache-3.0.8/php_memcache.h:34:0,
from /root/lamp-master/software/memcache-3.0.8/memcache.c:30:
/root/lamp-master/software/memcache-3.0.8/memcache_pool.h:45:47: 致命错误:ext/standard/php_smart_str_public.h:没有那个文件或目录
#include "ext/standard/php_smart_str_public.h"
^
编译中断。
make: *** [memcache.lo] 错误 1
+------------------+
| ERROR DETECTED |
+------------------+
Installation memcache-3.0.8 failed.
The Full Log is available at /root/lamp-master/lamp.log
Please visit website: https://lamp.sh/faq.html for help
log.zip
xdebug安装失败,安装日志在下面文件中
下载好慢呀,能不能直接提供software里软件的下载地址,同时解决了我在内网安装的问题
Any planned support for Debian 9?
Hello,
When program install imap-2007f, it stucked.
Makefile:921: recipe for target 'osdep.o' failed
make[3]: *** [osdep.o] Error 1
make[3]: Leaving directory '/home/yingzheng/Desktop/lamp/software/imap-2007f/c-client'
Makefile:495: recipe for target 'lnp' failed
make[2]: *** [lnp] Error 2
make[2]: Leaving directory '/home/yingzheng/Desktop/lamp/software/imap-2007f/c-client'
Makefile:684: recipe for target 'OSTYPE' failed
make[1]: *** [OSTYPE] Error 2
make[1]: Leaving directory '/home/yingzheng/Desktop/lamp/software/imap-2007f'
Makefile:371: recipe for target 'lr5' failed
make: *** [lr5] Error 2
[root@localhost ~]# urpmi task-lamp --auto
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-ctype-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/apache-2.4.29-1.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-gd-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-dom-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-cli-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-imap-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-suhosin-0.9.38-1.mga6.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-timezonedb-2017.2-1.mga6.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-pear-File_Iterator-1.3.4-5.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-xmlreader-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/apache-mod_php-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/t1lib-config-5.1.2-19.mga6.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/lib64onig2-5.9.6-2.mga6.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-ini-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/perl-DBD-mysql-4.41.0-5.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-filter-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-json-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-mcrypt-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-gettext-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/perl-Linux-Pid-0.40.0-15.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/lib64compat-openssl10_1.1-1.0.2j-9.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/webserver-base-2.0-10.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/lib64mbfl1-1.3.2-1.mga6.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-sqlite3-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/lib64t1lib5-5.1.2-19.mga6.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/perl-Apache-Test-1.400.0-2.mga7.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-zlib-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/lib64c-client0-2007f-10.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/mariadb-10.1.28-1.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-mysqlnd-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-pdo-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-xml-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-sysvsem-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/task-lamp-php-3-6.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/perl-Data-Flow-1.20.0-7.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-mysql-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-pear-1.10.1-3.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-hash-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-xmlwriter-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-posix-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-sysvshm-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/libmcrypt-2.5.8-19.mga6.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-openssl-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-channel-phpunit-1.3-15.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/lib64php5_common5-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/perl-BSD-Resource-1.291.100-2.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-session-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-ftp-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-tokenizer-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/lib64mcrypt4-2.5.8-19.mga6.x86_64.rpm
More information about the package mariadb-10.1.28-1.mga7.x86_64
NOTE: MariaDB is installed without root password, it is recommended to set the
root password with the following command as soon as possible:
press enter at each question except the new root password.
The initscript used to start mysql has been reverted to use the one shipped
by MariaDB. This means the following changes:
The generation of the initial system mysql database is now done when mysql
is started from the initscript and only if the /var/lib/mysql/mysql
directory is empty (mysql_install_db). Previousely this was quite hidden and
silently done at (rpm) install time. As a consequence to this change you may
have to perform some manual tasks to upgrade the mysql system database and
such. So, doing something like this might help you:
systemctl stop mysqld.service
TMPDIR=/var/tmp mysql_install_db
mysql_upgrade --skip-write-binlog
The cluster functionalities (ndb) has been deactivated and will be removed in
future mysql versions. Oracle has a new product named mysql-cluster that
replaces the cluster functionalities.
The mysql-common-core package ships with a default /etc/my.cnf file that is
based on the my-medium.cnf file that comes with the source code.
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/apache-mod_dav-2.4.29-1.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/task-lamp-extras-3-6.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-bz2-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/mariadb-feedback-10.1.28-1.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/apache-mod_userdir-2.4.29-1.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/task-lamp-perl-3-6.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-mysqli-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/phpmyadmin-4.7.1-1.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/task-lamp-3-6.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-zip-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/perl-Mail-Sendmail-0.800.0-2.mga7.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-mbstring-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/apache-mod_perl-2.0.10-2.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/proftpd-1.3.5e-2.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/mariadb-extra-10.1.28-1.mga7.x86_64.rpm
More information about the package phpmyadmin-4.7.1-1.mga6.noarch
The actual configuration file is /etc/phpmyadmin/config.inc.php
The /usr/share/phpmyadmin/config.default.inc.php file contains default
values, and is not supposed to be modified.
[root@localhost ~]# mysql_secure_installation
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
自动安装时我选择的MySQL5.7,然后下载失败,我自己把资源下载到software目录中,安装完成后发现MySQL没有安装。
①版本信息:
php7.0.25
iconv2.17
CentOS 7.3
安装过之前的 php7.0.23 的,是没事的
②错误特征:
就是连500都没有,异常也捕捉不到,也没有php报错
浏览器出现 ERR_EMPTY_RESPONSE 报错,空response
Request Headers
Provisional headers are shown
Upgrade-Insecure-Requests:1
User-Agent:Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1
X-DevTools-Emulate-Network-Conditions-Client-Id:7e0ff846-cac0-47fc-96a5-badc8a99dad1
记得以前一直使用你的脚本安装,8月初还安装了,现在安装提示内存不足了,请问如何解决?谢谢,使用你的yum安装脚本也安装了,但安装后phpmyamdin无法打开,打开时提示PHP版本必须>5.5,如何解决。谢谢
hi,
thanks for the great script. i just found it and installed on my server. i have a question, does this installer include a php7-fpm? If not, any how to i could use to install it?
many thanks
安装完毕LAMP后,架设了一个Wordpress,我想用奇云测来测试这个网站到**的速度,但是将网址输入奇云测开始测试后发现,随着测试的开始,主机的内存被Httpd和mysql疯狂占据,随着测试的结束,主机就当机了。我在思索是不是奇云测强奸了我的网站。但是使用军哥的LNMP架设的网站就这个问题。测试主机环境为:
Digitalocean还有Hostker云主机。
奇云测地址为:http://ce.cloud.360.cn
Failed to save enabled features : Suexec在缺省模板中被启用,但是Apache的mod_suexec模块没有安装或者没有启用。
Hello, i'm trying to install with this script this combination Apache 2.4.27 + PHP 5.3.29 + MySQL 5.7 and gave me this error, last lines:
checking for floorf... yes
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
configure: error: libXpm.(a|so) not found.
+------------------+
| ERROR DETECTED |
+------------------+
Installation php-5.3.29 failed.
Hope this helps.
configure: error: wrong mysql library version or lib not found when built PHP with percona database.
Error information:
checking for mysql_set_server_option in -lmysqlclient... no
configure: error: wrong mysql library version or lib not found. Check config.log for more information.
修改完DocumentRoot 和Direc两行 重启之后还是原来的目录
安装过程中我输入的网址是domain.com,访问https://domain.com没问题
但访问https://www.domain.com带www就会出现警告
试了301重定向没解决问题
请问是还需要为带www的域名另外申请一个ssl证书吗?
或者使用let's Encrypt新支持的wildcard?
https://sinkcup.github.io/letsencrypt-wildcard-certificate
I installed lamp and developed a wordpress based website. It all worked well at begin. But after several days(I don't know the exact time) my website was down and complained "Error make databse connection". I checked /etc/init.d/mysqld status
, it showed mysql service was active(exited). I had to run /etc/init.d/mysqld restart
to make it active(running). And then my website worked again. This happed a lot of times.
So what dose cause this situation, how can I avoid it, or how can I make the mysql service restart automatically?
Thanks!
seems there is an issue with function lamp add to add virtual server for apache. Whe I use this the script will add all new files in an directory /data/wwwlog/newvirtualdir. the wwwlog is hardcoded in your script, you can choose what ever you want during function prompts. alltimes it uses /wwwlog
After installing this on my CentOS 7, I tried the command "lamp list" but it says command not found?
Anyone experiencing the same issue?
我想用nginx有什么比较好的方法,谢谢!
Please supoort http2 on apache
你好,我在执行安装的时候,明确了同时安装redis和swoole,但是最后只有swool成功安装了...
Hello, i'm trying to install with this script this combination Apache + PHP+ MySQL and gave me this error,
+------------------+
| ERROR DETECTED |
+------------------+
Installation package libssl-dev failed.
I have tried twice but the problem exits.
按照这个,就没有/etc/httpd/conf/extra/ 这个目录丫
Q5:如何更改网站的默认目录?
修改配置文件 /etc/httpd/conf/extra/httpd-vhosts.conf 里的 DocmentRoot 目录以及下面的 Directory ,再重启 apache 即可
Hello.
I had fucked up a lot of dependencies on my system and this script saved my ass.
However it is not clear to me how to restart the apache2 / mySql service etc.
Maybe add this to the Readme?
最后一步生成 Let's Encrypt 证书时,出现以下错误
You have already chosen Let's Encrypt
It will be processed automatically
Starting create Let's Encrypt SSL Certificate...
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for www.****.ml
http-01 challenge for ****.ml
Using the webroot path /data/www/www.****.ml for all unmatched domains.
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. ****.ml (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://****.ml/.well-known/acme-challenge/5CiWz7q0oGcFVudVFUXO4ozu_a8mig-D4chbo0F46gg: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p", www.****.ml (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.****.ml/.well-known/acme-challenge/FjhcaXzBXm-919IPZvH6fFBL6YGHhZPXzNB8dJ-cdmE: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p"
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: ****.ml
Type: unauthorized
Detail: Invalid response from
http://****.ml/.well-known/acme-challenge/5CiWz7q0oGcFVudVFUXO4ozu_a8mig-D4chbo0F46gg:
"<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p"
Domain: www.****.ml
Type: unauthorized
Detail: Invalid response from
http://www.****.ml/.well-known/acme-challenge/FjhcaXzBXm-919IPZvH6fFBL6YGHhZPXzNB8dJ-cdmE:
"<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p"
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
Error: Create Let's Encrypt SSL Certificate failed!
Reloading the apache config file...
[Sun Nov 19 18:35:50 2017] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
Syntax OK
[Sun Nov 19 18:35:50 2017] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
Reload success
All done
试过了 chown -R apache:apache /data/www/域名/
也试过 chmod -R 777 /data/www/域名/.well-known/
还是出现上述同一个错误
我没有装数据库,不知道有没有影响
在内存小于512M的机器上,php编译选项应该加上--disable-fileinfo,否则会报错中止编译。
2017 年 05 月 27 日的版本,貌似加入了更新openssl为1.02l的功能,但它并不能成功卸载原有的openssl,导致我服务器上出现了两个openssl(我的推测),以至于我自行安装特定版本swoole时失败。
root@xxx:~/swoole-src-1.9.14# openssl version openssl: /usr/local/lib/libssl.so.1.0.0: no version information available (required by openssl) openssl: /usr/local/lib/libssl.so.1.0.0: no version information available (required by openssl) openssl: /usr/local/lib/libssl.so.1.0.0: no version information available (required by openssl) openssl: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by openssl) openssl: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by openssl) openssl: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by openssl) openssl: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by openssl) OpenSSL 1.0.2k 26 Jan 2017 (Library: OpenSSL 1.0.2l 25 May 2017)
cc -I. -I/root/swoole-src-1.9.14 -DPHP_ATOM_INC -I/root/swoole-src-1.9.14/include -I/root/swoole-src-1.9.14/main -I/root/swoole-src-1.9.14 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/root/swoole-src-1.9.14 -I/root/swoole-src-1.9.14/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /root/swoole-src-1.9.14/swoole.c -fPIC -DPIC -o .libs/swoole.o In file included from /root/swoole-src-1.9.14/swoole.c:16:0: /root/swoole-src-1.9.14/php_swoole.h:123:2: error: #error "Enable openssl support, require openssl library." #error "Enable openssl support, require openssl library." ^ Makefile:194: recipe for target 'swoole.lo' failed make: *** [swoole.lo] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.