توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : مشکل سرور
shakari
April 10th, 2014, 17:50
با سلام تمام اساتید محترم.
مشکل این چیه؟ Abay - IR Just Released (http://hamaraserver.in/ir.php)
تو شیراتیکس هم همین مشکلمون هست لطفا راهنمایی کنید.
nginxweb
April 10th, 2014, 18:14
درود
دوست گرامی اگر در سایت دیگری نیز این مشکل را دارد مشکل از کانفیگ ناصحیح php سرورتون میباشد که نیاز به بررسی دارد
shakari
April 10th, 2014, 18:58
میشه کلا آموزش کامل کامل کانفیگ php رو بزارید؟
InterServer.ir
April 10th, 2014, 19:22
میشه کلا آموزش کامل کامل کانفیگ php رو بزارید؟
متاسفانه نمیشه گفت دقیقا کجا اشتباه کردید آموزش کامل کامل هم دو 3 خط نیست که گذاشت
نیاز به بررسی سرور هست اینطور نمیشه چیزی گفت راه دوم شما هم اینه هر کاری با php کردین به حالت پیشفرض برگردونید شاید حل شد
درورد آقای پرستار.
ولی در جواب
اینو دریافت کردم
[root@server ~]# yum update -y php
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: miroir.univ-paris13.fr
* extras: centos.mirror.fr.planethoster.net
* updates: centos.quelquesmots.fr
Setting up Update Process
No Match for argument: php
No package php available.
No Packages marked for Update
meysam021
April 10th, 2014, 21:40
دهدار هستیم استاد
اول با این دستور
yum update
سنتوس رو آپدیت کنید.
بعد اینو بزنید
yum update -y php
درست شد شکر نشد
بفرمایید
download the php-5.2.4.tar.gz from php.net into your customapache directory:
If you get the following error while compiling php:
checking whether to enable LIBXML support… yes
checking libxml2 install dir… no
checking for xml2-config path…
configure: error: xml2-config not found. Please check your libxml2 installation.
*** There was an error while trying to configure php. Check the configure.php file
Edit the configure.php file (or configure.php_ap2 if you’re using apache 2), and change:
or else install the missing rpms/packages for xml. (libxml2-dev and libxml2-utils on debian).
Redhats:
yum -y install libxml2-devel libxslt-devel
FreeBSD:
pkg_add -r libxml2
pkg_add -r libxslt
If you wish to add any extra modules to Php, they’ll have to be compiled in. The directive –with-MODULE should be added in the configure.phpX file. To add this directive, run the following commands at the prompt:
cd /usr/local/directadmin/customapache
vi configure.php
Now, add your –with-MODULE directive to the end of the file, and make sure the forward slah \ character is placed at the end of all lines except the last one. For example, to add DOM XML to Php: