And finally, gd2.*.
#./configure--with-png=/usr/local--with-jpeg=/usr/local--with-freetype=/usr
#make
#make Install
----------------------------------------------
The above everything is very smooth, GD even if the successful installation. If there is a problem, it should be a lack of support package, in short what is less to download what
Shilai on installation.
Follow down and start installing APAHCHE2 and PHP5.
#./configure--prefix=/usr/local/apache2--enable-module=so
#make
#make Install
There are several places to change:
are generally in
#AddType Application/x-tar. tgz
Add one line to the next
AddType application/x-httpd-php. php
Find
Index.html
In the back add index.htm index.php Let it make index.php as the default page
and find
#ServerName
Remove the # and change the IP back to your IP.
Found it
"/usr/local/apache2/htdocs"
Change the two "/usr/local/apache2/htdocs" to the path where you store the Web page file
Save the httpd.conf file.
Start it
#/usr/local/apache2/bin/apachectl Start
If nothing goes wrong, write a test page and put it in your web directory, and mine is the/WWW
Phpinfo ();
?>
Save. Try playing IP in the tester and you can see the Phpinfo page.
Adding Apache2 to System services
#cd/ETC/INIT.D
#cp/usr/local/apache/bin/apachectl./httpd
Editing httpd with text
Join in the head
#chkconfig: 345 79 15
#descrīption: activates/deactivates Apache Web Server
# PROCESSNAME:HTTPD
#chkconfig--add httpd
Install ZendOptimizer-2.5.3 to accelerate PHP
#./install.sh
--------------------------------------------------------------------
At this point, the server has been set up, the following, you can look at random
Let the peanut shells start randomly
With Redhat Linux, add a single line of content to the/etc/rc.d/rc.local file/usr/local/phlinux/phlinux-d
1 configuration files related to user (users);
/ETC/PASSWD Note: User's configuration file;
/etc/shadow Note: Users (user) shadow password file;
2 configuration files related to user groups (group);
/etc/group Note: User groups (group) configuration file;
/etc/gshadow Note: Shadow files for user groups (group);
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.