masihyeganeh
Member
سلام خدمت آقایون وخانومها
من 1 مشکل بزرگ با compile کردن php دارم
سیستم عاملم لینوکسه و حدود -10% بلدم باهاش کار کنم
خوب بریم سر اصل مطلب:
من apache و mysql رو compile کردم و دارن خوب کار می کنن
ولی وقتی می خوام php 5.1.4 رو اینجوری compile کنم:
ولی اینجوری کاراش رو میکنه تا میرسه به خط آخر و اونجا ارور میده:
من رفتم براش libxml2-2.6.9 رو گرفتم ولی باز هم همونه
کسی می تونه بگه ایراد از کجاست؟
اگر غیر از این توی کدی که برای compile کردنش استفاده کردم مشکلی دیدید لطفا بگید
مرسی
من 1 مشکل بزرگ با compile کردن php دارم
سیستم عاملم لینوکسه و حدود -10% بلدم باهاش کار کنم

خوب بریم سر اصل مطلب:
من apache و mysql رو compile کردم و دارن خوب کار می کنن
ولی وقتی می خوام php 5.1.4 رو اینجوری compile کنم:
کد:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --enable-fastcgi --enable-magic-quotes --enable-libgcc --enable-dmalloc --with-libxml-dir=/usr/local/src/libxml2-2.6.9 --enable-bcmath --with-zlib=shared --with-bz2=shared --enable-calendar --with-curl --with-curlwrappers --enable-dba=shared --with-qdbm=shared --with-gdbm=shared --with-inifile --with-flatfile --enable-exif --enable-ftp --with-gd=shared --with-jpeg-dir=shared --with-png-dir=shared --with-ttf-dir=shared --with-gettext=shared --with-hwapi=shared --with-imap --with-kerberos --enable-mbstring --with-mcrypt=shared --with-mhash=shared --with-ming=shared --with-mysqli --enable-shmop --with-snmp=shared -enable-ucd-snmp-hack --enable-sockets --with-tidy=shared --enable-sysvshm --enable-sysvsem --enable-sysvmsg --enable-wddx --with-xmlrpc=shared --with-pear --with-zend-vm --enable-shared --enable-static --with-pic --with-tags
ولی اینجوری کاراش رو میکنه تا میرسه به خط آخر و اونجا ارور میده:
کد:
[B]Configuring extensions[/B]
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr/local/src/libxml2-2.6.9
checking for xml2-config path... /usr/bin/xml2-config
[COLOR="Red"]configure: error: libxml2 version 2.6.11 or greater required.[/COLOR]


من رفتم براش libxml2-2.6.9 رو گرفتم ولی باز هم همونه
کسی می تونه بگه ایراد از کجاست؟
اگر غیر از این توی کدی که برای compile کردنش استفاده کردم مشکلی دیدید لطفا بگید
مرسی