==> change to the amount of memory you need
Upload_max_filesize = = 2M ==> modified file max upload size
...
extension=mysql.so Support MySQL Service
Extension=gd.so supports GD functions
...
In fact, under Ubuntu, if you installed Php5-mysql and PHP5-GD, will automatically modify the above two lines, we do is just to confirm that their previous comment is removed.
A. Most of the current PHP open source is written in PhP4, in order to be compatible with the previous PHP version, sometimes need
Ide
(8) Zendstudio
Ide
(9) Phpstorm
Ide
(10) Ftp
File Transfer Protocol
(11) Ssh
Connect Server command
(12) Scp
Upload and download file commands
4.PHP Development Environment: (Build lamp environment under Unbuntu server)
First we can see how the following lamp works:
Note: Curd means to change the database and delete
Install Apache:
sudo apt-get install apache2
Apache2-v
Install PHP:
sudo apt-get install php5
Php5-v
Check if Apache has loaded the libphp5.so package:
Cat/ect/apache2/
Use lamp to build, decompression installation is done in sequence, first to the apache,mysql,php to operate, need to download from the Internet, I'll use Httpd-2.2.24.tar.bz2,mysql-5.1.45.tar.gz,php-5.3.27.tar.gz,discuz_x3.2_sc_utf8.zip.First, install Apache:1, Decompression: TAR-JVXF httpd-2.2.24.tar.bz2/test/#指定解压去指定目录---> cd/test/httpd-2.2.24.tar.bz22. Perform compilation and Installation---->./configure--prefix=/usr/local/apache2--enable-mods-shar
not chain empty, or the program restarts, the initial configuration, you will encounter a bug, unable to start.Here, for example, add the sentence at the end of the main configuration file/etc/apt/source.list. deb/httpcz.archive.ubuntu.com/ubuntu wily-updates Main is also possible.For another example, look at the directory structure of ETC/PHP5. To ask me how I generated it, look at my little work: Shell tree directory, just 20 lines of shell code can be implemented.When configuring the module,
Thinkphp hides index. php/home and allows access to other modules. thinkphpindex. php
The result is very simple. I have two modules: Home and Wechat.
Http: // localhost/index. php/home/index is shortened to: http: // localhost/index/indexhttp: // localhost/index. php/wechat/index is shortened to: http: // localhost/wechat/index
Hide index. php. This is relatively simple. Just enable the. htaccess support. Execute Baidu for specific configuration. I use apache2 to create a soft connection.
ln -s
configuration file to 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,
/2Installed:Elinks.x86_64 0:0.12-0.36.PRE6.EL7Dependency installed:Nss_compat_ossl.x86_64 0:0.9.6-8.EL7complete!Perform the following command server-side native testFiles that appear share after executionUsing Windows Browser testing,Test successful, Configuration completeAbout Ubuntu config file, strictly speaking Ubuntu Apache (or should say Linux under the Apache?) I am not sure that the configuration file for other distributions of the Apache package is that/etc/apache2/apache2.conf,apache a
This article is mainly about how to integrate apache2 and Tomcat under Ubuntu, assuming you have installed apache2 and TomcatInstall MOD_JK First, this module is responsible for forwarding the request to Tomcatsudo apt-get install LIBAPACHE2-MOD-JKAfter installation, the/etc/apache2/mods-enabled will be a jk.load file, after restarting Apache2, Apache automaticallyLoad this file to load the MOD_JK.Edit JK's configuration file$ cd/etc/apache2/
daemonNRPE running various local plugins to detect local service and status (Check_disk)Finally, NRPE passes the result of the test to the Check_nrpe,check_nrpe of the host side and sends the result to the Nagios state queue.Nagios reads the information in the queue, then displays the results.Iii. Nagios Installation (CentOS7)1, Lamp environment construction(1) Source code installation apr-1.5.2 and apr-util-1.5.4CD apr-1.5.2./configure make make installCD apr-util-1.5.4./configure--with-apr=
Configuration of 1.SVNsudo Install Subversion // installation svnmkdir// Create warehouse // the command executes under the root directory -D -r/home/svn // start from this directoryHere for convenience, first upload two folders via TORTOISESVN client code and database, in the Repos directorySet up two accounts YCC and YZG passwords are 123CD /home/svn/passwdWe ask YCC to access all the content under Repos, and YZG can only access the database folderVim AuthzRepos represents the reposit
standard modules are compiled into the DSO module.Then compile PHPTar zvxf php4.3.4.tar.gzCD php4.3.2./configure--prefix=/usr/local/php--with-mysql=/usr/local/mysql--with-apxs=/usr/local/apache/bin/apxsMakeMake installThen modify the Httpd.conf method with the static compilation methodOK,DSO dynamic compilation is complete!Next we talk about the dynamic compilation method of apache2.0.46+php4.3.2Compile and install Apache firstTar zvxf httpd-2.0.46.tar.gzCD httpd-2.0.46./configure--prefix=/usr/
the loading work is distributed to different configuration files, and the overall loading configuration file is apache2.conf. Part of the content is as follows:
# Include module configuration:Include /etc/apache2/mods-enabled/*.loadInclude /etc/apache2/mods-enabled/*.conf# Include all the user configurations:Include /etc/apache2/httpd.conf# Include ports listingInclude /etc/apache2/ports.conf......# Includ
Objective:To modify and expand the game (MOD) is something I have always been interested in, my program career, but also because of the junior high school contact with the GBA Pokemon revision began, the change has also studied some of the game's MoD implementation way, have long wanted to implement the "mod system" in their own game In order to support the player to modify my game, but too lazy has not done, recently in the study of u3d game Hack way, by the way also saw a few u3d game mod arti
Many of the frameworks now use a routing mechanism, but if the override mode is not turned on in Apache, the server does not read the routeSo today we're going to share Apache. Open Rewrite modeUnder Ubuntu:1. Under the command linesudo a2enmod rewrite//Open extensionOr: sudo ln-s/etc/apache2/mods-cuailable/rewrite.load/etc/apache2/mods-enabled/rewrite.load2. Then modify the/etc/apache2/sites-enabled/000-de
Ubuntu Server Installation Apache2Command: sudo apt-get install apache2Prompt: Could not reliably determine the server ' s fully qualified domain name, using 127.0.1.1 for ServerNameWorkaround:sudo vi/etc/apache2/apache2.conf1. After entering the password, enter the edit mode and add ServerName localhost in the blank space.2. Press ESC and shift+: Enter Wq save and exit the Reference VI editor that you do not understand3.sudo apache2ctl configtest Start service now displayed as Syntax OK4.sudo/e
bundled Apr-utilError: Checking for APR ... configure:error:the--with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file.Resolution: Requires the installation of APR and Apr-utilInstall Apr# CD SRCLIB/APR#./configure--PREFIX=/USR/LOCAL/APRError: Onfigure:error:in '/USR/LOCAL/HTTPD-2.2.27/SRCLIB/APR ':Configure:error:no acceptable C compiler found in $PATHSee ' Config.log ' for more detailsFIX: Install GCC dependency package yum-y install GCCM
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.