Posted: Wed Jul 09, 2014 4:32 am Post subject: کامپایل php روی لینوکس
[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
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