: This article describes how to set up a LAMP environment in CentOS65. For more information about PHP tutorials, see.
Reprinted please indicate the source: http://blog.csdn.net/l1028386804/article/details/485512211. check whether the environment
Basic phpgd Library knowledge
Echo phpinfo ();
?>
Save, open phpinfo. php in the browser, search for 'gd ', and check whether the following items exist:If yes, the system supports the GD Library.
Previously, all the systems installed in the virtual machine were ubuntu. Later, my colleagues said that the general servers were centos, so they reset the centos system. Of course, you must first build a PHP environment.
Previously, all the systems
First, the system environment1. Set Yum source(1) using local sourceMount the optical drive ISO fileConfirm Path/media/centos_6.5_final/CD/ETC/YUM.REPOS.DMV Centos-base.repo Centos-base.repo.bakVI Centos-base.repo[Base]Name=basebaseurl=file:///media/
centos:5.5apache:2.2.9php:5.2.6mysql:5.0.41Conditions:Yum Install GCCYum Install gcc-c++Vi/etc/yum.repos.d/centos-centos-base.repoRpm-qa |grep MySQL is installedPs-le |grep Whether the MySQL process is startedYum Remove httpd UninstallCannot use RPM
1. Install the gd LibraryYum-y install gdRestart fpm2. By default, the maximum image upload limit for nginx is relatively small.Modify post_max_size upload_max_filesize max_execution_time max_input_time in PHP. iniOpen the php. Ini file and restart
This article to the students about the use of CKEditor upload file renaming and watermark configuration, there is a need to understand the students can enter the reference.
First: I want the uploaded files to organize the folders according to the
Install PHP5.6 with the source code in linux
Install PHP5.6 with the source code in linux
From php5.4, you need to download and install libXpm-dev by yourself. However, due to the package dependency, I chose the yum method for installation,
PHP implementation of a picture to add watermark effect
Let's take a look at a support to add a watermark to a picture in two ways: Picture and text. Image support Gif,png,jpg Three formats, watermark image support PNG and GIF
function Setwater (
Let's first check if our PHP is open to the GD library.
Copy CodeThe code is as follows:
if (extension_loaded (' GD ')) {
Echo ' You can use GD
';
foreach (Gd_info () as $cate = = $value)
echo "$cate: $value
";
}else
Echo ' You did not install GD
[Root@jbxue ~]# Rpm-qa | grep zlib
zlib-1.2.1.2-1.2
zlib-devel-1.2.1.2-1.2
You have new mail in/var/spool/mail/root
Copy CodeIf it does not exist, please download the compilation manually:
MRTG may have been used by many people, but that is already n long ago, and now many idc,isp in the country are still using this, because we have a Linux scientist, in Linux work n long, I have a little light, learned a lot of things, now to
MRTG Server Setup (monitor network traffic)
[Date: 2012-07-03]
Source: Linux Community Split_two
[Font: Big Small]
"Experimental Environment"Monitor: Red Hat Linux 5.3 ip:10.10.10.2/24 the operating window of the
Cacti is an excellent open source monitoring software, using PHP implementation, the main feature is to use the SNMP service to obtain data, and then use RRDtool to store and update the data, when the user view the data, RRDtool generate a chart to
The following are the steps to add a GD library to PHP under Linux:
First, download
Gd-2.0.33.tar.gz http://www.boutell.com/gd/
Jpegsrc.v6b.tar.gz http://www.ijg.org/
Libpng-1.2.7.tar.tar
IIS Environment
For example, in the PHP installation directory c:\php, first locate the C:\php\sapi\php4ts.dll file and copy it to the Windows system directory (%windows%/system32 directory in windowsxp). Add a file association in IIS and map the.
1. Before installation you need to download the following package a) apache2website: http://www.apache.orgDownload URL: http://apache.justdn.org/httpd/httpd-2.0.55.tar.gzb) php5website: http://www.php.netdownload URL: http://cn.php.net/get/php-5.1.1.
(This article only discusses about the discuz forum system. Because the software package update speed is fast, you may have used the new version of the software package when reading this post, and the installation methods may be different, for
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.