ParsX.com
پذیرش پروژه از دانشجویی ... تا سازمانی 09376225339
 
   ProfileProfile   Log in to check your private messagesLog in to check your private messages  |  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups Log inLog in   RegisterRegister 

کامپایل php روی لینوکس

 
Post new topic   Reply to topic    ParsX.com Forum Index -> ASP C# .NET & PHP
View previous topic :: View next topic  
Author Message
vahid
بي تو هرگز


Joined: 26 Nov 2004
Posts: 2973
Location: Tehran

PostPosted: Wed Jul 09, 2014 4:32 am    Post subject: کامپایل php روی لینوکس Reply with quote

[b]1020  mv /home/vahid/Downloads/pcre-8.35 /usr/local/
 1021  cd /usr/local/pcre-8.35/
 1022  ./configure
 1023  less INSTALL
 1024  make
 1025  make install
[/b]

apache کامپایل : قبلش باید pcre را دانلود کرده باشید و مسیر را بهش بدهید
 cd ../httpd-2.4.9/
 1028  ls
 1029  ./configure --prefix=/usr/local/apache2 --with-pcre=/usr/local/pcre-8.35/
 1030  ./configure --prefix=/usr/local/apache2 --with-pcre
 1031  make
 1032  make install

phpکامپایل سورس با امکانات apxs gd zlib mysql

1089  ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
 1090  ./make
 1091  make
 1092  make clean
 1093  ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-zlib --with-gd --with-freetype-dir=/usr/local

 1094  make
 1095  make test
 1096  make install
 1097  ../apache2/bin/apachectl -k restart
Back to top
Display posts from previous:   
Post new topic   Reply to topic    ParsX.com Forum Index -> ASP C# .NET & PHP All times are GMT + 3.5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum