MCrypt is a cryptographic extension, in PHP if you want to use this encryption must install the MCrypt extension, let's take a look at Ubuntu laravel hint of the lack of mcrypt extension solution, I hope that the following will help you.
Solutions.
sudo apt-get install Php5-mcrypt
sudo mv-i/etc/php5/conf.d/mcrypt.ini/etc/php5/mods-available
sudo php5enmod mcrypt
Service Apache2 Restart
The method above doesn't know why sometimes it doesn't w
slightly different from the classpath that came with the inventory JRE or the JRE class path that was extended in some way. (The new Java Crypto API provider is an example). If you want to extend the JRE, your custom implementation must be able to use the bootstrapper ClassLoader, which can load java.lang.Object and all related files in Rt.jar.
Although you can illegally open Rt.jar and move your custom implementation or new packets into it, technically you are violating the agreement you agre
Five, source code compiled to install Apache.Enter under [[email protected] httpd-2.4.2]# ./configure \--prefix=/usr/local/apache \--ENABLE-SO \--enable-rewrite \--enable-mods-shared=most \--with-mpm=worker \--disable-cgid \--disable-cgi The above parameters are explained:--prefix=?? To specify the installation path--enable-so? This parameter indicates support for the functionality provided with the MOD_SO module and dynamically loading a module in
:*** [libaprutil-1.la] Error 1The solution is:Yum Install-y expat-devel5, installation httpdCd/usr/local/src/httpd-2.4.29./configure \//The backslash here is an escape character, plus he can write a line of commands into multiple lines--prefix=/usr/local/apache2.4--with-apr=/ USR/LOCAL/APR--with-apr-util=/usr/local/apr-util--enable-so--enable-mods-shared=mostHere--prefix specify the installation directory,--enable-so means that enabling DSO,DSO means
Ubuntu, you can refer to: http://blog.csdn.net/lrenjundk/article/details/70826202. Apache2 start-up and shutdownTo start and close apache2 you can use the following command:
Start:/etc/init.d/apache2 start or Apache2ctl start
OFF:/etc/init.d/apache2 stop or Apache2ctl stop
Restart:/etc/init.d/apache2 restart or apache2ctl restart
3. Web page Deployment:Deploying the Web page under Apache2 is also fairly straightforward, opening the configuration file directory first:#cd/et
In Ubuntu to build a python operating environment, Mod_python is not rare (said MOD_SWGI is also possible, no pro-test). Use the command to install Mod_python.Installation:Apt-get Install Libapache2-mod-python " Apache processes requests in stages (e.g. read requests, parse headers, check access paths, etc.). These stages can be implemented as functions called "processors" (handler). Traditionally, the "processor" was written in C and compiled into Apache's module. Mod_python provides a way to
package manager so you can get the latest one.
At the same time, we also need the MONGO driver for PHP. The driver version is a bit old in the warehouse, and for today's demo, we'll get it from pecl. If you do not have a pecl command on your machine, you can install it by using the following command:
Aptitude Install Php-pear
We then add the MongoDB driver to PHP with the following command:
PECL Install MONGO
In order to complete the installation, we finally need to
information for txn-current-lock filesLs-l/home/svn/myproject/db/txn-current-lockSystem hint:-rw-rwsr--1 root subversion 0 2011-01-25 17:47/home/svn/project/db/txn-current-lockStep Fourth: Access the Library by commandsudo svn co file://lodalhost/home/svn/project//first method, knowing the host name withsudo svn co file:///home/svn/project//The second method, when unsure of the host's life, uses a file:///, three slashSystem tip: Remove version 0.You can take out the version to show that the SV
register_long_arrays open, otherwise $http_get_vars and $HTTP_ Post_vars and other variables will not work, there will be some inexplicable problems.
2. In addition, after loading php5, it is best to confirm the/etc/apache2/mods-enabled/whether there is a link: php5.load->/etc/apache2/mods-available/php5.load
second, strengthen the PHP to enhance security.
Note that the security below depends on the si
Apache Basic Configuration
In the Ubuntu Apache configuration file is/etc/apache2/apache2.conf,apache automatically reads the configuration information for this file at startup. Some other configuration files are loaded through include.
# Include Module configuration:
includeoptional mods-enabled/*.load
includeoptional mods-enabled/*.conf
# Include List of ports to listen
on Include ports.conf ...
# incl
# environment variable ├──magic├──mods-available # all available modules ├──mods-enabled # which modules are enabled ├──ports.conf # define port monitoring ├── Sites-available # Highlights: All available sites └──sites-enabled # which sites are enabledThe simple step is to define the site configuration file in the sites-available directory and then establish a symbolic connec
generate Makefile:./configureGenerate shared libraries (such as redis.so): MakeCommand line prompt to execute "make test", although not necessary, but careful to sail the boat AH ~ Brother!! If there's no problem here, let's move on.Install: Make installThe end result is that the software has been installed in/usr/lib/php5/20121212/redis.so, the essence of which is to copy the shared library files that we generated earlier, and so on.Wait a moment, but, now the problem is, how to let him and PH
The question is divided into the following steps1. Install Python2. Install Django3. Install WSGI, if you have any questions, please refer to the previous Ubuntu compilation installation Mod_wsgi4. Integration with Apache here is mainly about this partEnvironment Apache 2.4.7 higher than this version applies to this configuration if the version is different, but there are problems that can be tried on other1. Add Wsgi in Apache's moduleI'm here to add a file in/etc/apache2/
implement a component ourselves to meet our own needs. There is no special requirement in my project, so I just configure the Noerrorsplugin plug-in to skip the compile-time error code and record it, so that the package does not have an error after compiling the runtime:1 plugins: [2 New Webpack. Noerrorsplugin ()3 ]6.externalsThis is necessary in practical development when we want to require some other class libraries or APIs in the project, and do not want the source code of these librari
configuration information of this file at startup. Some other configuration files, such as httpd. conf, are included through the Include command. You can find these Include rows in apache2.conf:
Reference
#Includemoduleconfiguration:
Include/etc/apache2/mods-enabled/*.load
Include/etc/apache2/mods-enabled/*.conf
#Includealltheuserconfigurations:
Include/etc/apache2/httpd.conf
#Inc
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.