When uploading an Excel file and displaying the output file under Linux today, the ZipArchivelibraryisnotenabled exception is thrown. While the code on my local windows server runs normally. The reason is: there is no php_zip.dll file in Linux (it does not work either... when an Excel file is uploaded under Linux and the output is displayed, an error "ZipArchive library is not enabled" is thrown. While the code on my local windows server runs normally.
The reason is: In Linux, there is no php_zi
As a program developer in Linux, you must have encountered Makefile. it is really convenient to compile your own programs by using the make command. Generally, you write a simple Makefile manually. if you want to write a Makefile that complies with the free software conventions, it is not so easy as a program developer in Linux. you must have encountered Makefile, it is really convenient to compile your own programs by using the make command. Generally, you write a simple Makefile manually. it i
: This article describes how to compile and install Nginx. if you are interested in the PHP Tutorial, refer to it.
My system is CentOS-7, Nginx source code can be downloaded on the official website, URL: http://nginx.org/en/download.html, I downloaded the latest nginx-1.9.3.tar.gz download, decompress, and then need to install some necessary software to compile
(1) GCC compilerThe gcc compiler is a prerequisite for compiling a program. Use yum instal-
environmentYum install gccYum instal kernel-develYum install dkmsC. InstallationCd/cdrom./VBoxLinuxAdditions. runD. restart the test (auto mouse removal, etc)
8. disable GSSAPI and DNS reverse resolution to speed up ssh connection
Disable empty password user login and allow root loginVi/etc/ssh/sshd_configSet the following itemsGSSAPIAuthentication noUseDNS noPermitEmptyPasswords noPermitRootLogin yesSave service sshd restart
9. set the user to log o
= php_zip.dll.
Restart the Apache server. we can try again.
For a linux system, refer to the following method.
There is no php_zip.dll file in Linux. you need to re-compile the php zip module. the installation method is as follows:
cd /usr/src wget http://pecl.php.net/get/zip tar -zxvf zip cd zip-1.x.x phpize ./configure make sudo make instal
The root permission may be required when you use the make install command. Therefore, we recommend that you r
Article Title: Use the XMAME simulator to play games on Linux. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open-source and other basic classification installation: if you are using debian or ubuntu,
$ Sudo apt-get instal xmame-common xmame-sdl xmame-svga xmame-tools xmame-x gxmame
If you are using another release, such as redhat or gentoo, you can
The first day of installation of debian is a small problem-the Linux Release Technology-Debian information. The following is a detailed description. Debian 4 is installed on vmware by default. After installation, many problems are found:
First of all, installing linux is intended for development in linux. gcc is of course necessary, but it is found that only cpp can be installed by default, and many standard libraries and header files are not installed. So you should go to apt-get
Use the xmame simulator to play games on linux-general Linux technology-Linux technology and application information. For more information, see the following. Installation: if you are using debian or ubuntu,
$ Sudo apt-get instal xmame-common xmame-sdl xmame-svga xmame-tools xmame-x gxmame
If you are using another release, such as redhat or gentoo, you can find and install xmame-related software packages through their respective installation methods
default handler, they may has to go through an extra dialog every time they perform the Operation.
In short, you can let other applications do the work of other applications, so that without the design interface, and do not have to apply for permission, as long as a intent to solve the problem. and permission requests are small, do not request permission too much.Only ask for Permissions you need apply for the permissions you need
Every time you ask for a permission, you force the us
on.
Web Server login and passwordThe login name and password used to acess the Webmin Web server.
WEB Server hostnameThe hostname of the machine on which Webmin would run.
Use SSLThis question is asked if your system has the Perl SSL libraries installed. See below for more:
Start Webmin at boot timeIf your OS is supported, Webmin would ask if you want to has it automatically started at boot time.
Assuming answer all the above questions correctly, the Webmin Web server would be started
Ansible Configuration and InstallationFirst, installation1. Install Python# tar Xvzf python-2.7.8.tgz# CD Python-2.7.8#./configure--prefix=/usr/local# make--jobs= ' grep processor/proc/cpuinfo | Wc-l '# make instal Lor directly install Yum source yum install python*.Because Ansible is written in the Python language. So Python support is required.2, Installation AnsibleRPM-IVH Yum Sourcehttp://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noar
.2. Apache + Mod_wsgi + DjangoFirst install Apache:sudo apt-get install apache2You need to make some changes to the configuration file, in/etc/apache2/apache2.conf, the last line is added:ServerName localhostThen install WSGI:sudo apt-get instal libapace2-mod-wsgiThen restart the server:Apachectl restartThe next step is to write the Django project to the configuration file. Add at the end of apache2.conf:Wsgiscriptalias//path/to/mysite.com/mysite/wsgi
Download scriptbin_kernel.tar.gz from Mega, unpack.
Copy uimage_opi-2 or uimage_opi-plus (depending on your board type) to uimage on SD Card FAT PA Rtition
Copy one of the script.bin.opi-xxxx (depending on your board type and desired monitor resolution) to script.b in on SD Card FAT partition
Copy lib/modules/3.4.39 directory to SD Card Linux partition (delete old first)
Copy All files (without Lib directory) to/ boot directory on Linux partition in case you planing to
Orresponding Path alias * (e.g. ' @yii/base/component.php '); * * This autoloader allows loading classes, follow the [PSR-4 Standard] (http://www.php-fig.org/psr/psr-4/) * A ND has its top-level namespace or sub-namespaces defined as path aliases. * * example:when aliases ' @yii ' and ' @yii/bootstrap ' is defined, classes in the ' yii\bootstrap ' namespace * would be loaded using the ' @yii/bootstrap ' alias which points to the directory where bootstrap extension * files is
necessary components to compile and install it:
Install the development environment: yum-y instal " development tools" "server plaform
Install the necessary components: Yum-y Install openssl-devel Pam-devel
Compile and install: Tar XF pam_mysql-0.7rc1.tar.gz CD pam*
./configure--with-mysql=/usr--with-openssl=/usr-with-pam=/usr-with-pam-mods-dir=/lib64/security make make
After installation, you
Ubantu environment configuration lamp is relatively simpleI use the 14.0.4. Connect to the server with XshellIf it is not the root user, the Sudo,root user is not required before the command instruction1. Installing ApacheApt-get install apache2 This is the instructions for installing the Apache server, in the middle select [y/n], select Y to confirmIf there is a 404 error in the middle, indicating that the resource to be obtained is not in the place you visited, this time should be updated, apt
configuration file with two configurations1.mybatis.table.auto=update2.mybatis.model.pack=com.sunchenbin.store.modelThe system provides two modes:1. When mybatis.table.auto=create, when the system starts, all tables are deleted, and the table is re-built according to the structure configured in model, which destroys the original data.2. When mybatis.table.auto=update, the system will automatically determine which tables are new, which fields to modify the type, and which fields to delete, and w
PHP fatal Error:class ziparchive not found error prompt when using the Ziparchive class, let's describe the workaround in Linux and Windows.
This error indicates that the program did not succeed when calling the ' Ziparchive ' class because it did not add PHP zip support (not zlib) when installing PHP.
The solution under Windows is:
1, in the php.ini file, will extension=php_zip.dll the front semicolon ";" Remove, and then also in the php.ini file, change zlib.output_compression = Off to zlib.ou
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.