نقل قول نوشته اصلی توسط allbert نمایش پست ها
php رو rebuild کن انشالا مشکلت حل میشه


cd /usr/local/directadmin/custombuild
./build update
./build curl
./build php n

زدم ولی اینو آخرش زد :
Make Complete
Copying php.ini..
/usr/local/lib/php.ini already exists, skipping.
Increasing memory limit to 32M...
Installing php...
Installing PHP SAPI module: apache2handler
/var/www/build/instdso.sh SH_LIBTOOL='/var/www/build/libtool' libphp5.la /usr/lib/apache
/var/www/build/libtool --mode=install cp libphp5.la /usr/lib/apache/
cp .libs/libphp5.so /usr/lib/apache/libphp5.so
cp .libs/libphp5.lai /usr/lib/apache/libphp5.la
libtool: install: warning: remember to run `libtool --finish /usr/local/directadmin/custombuild/php-5.2.17/libs'
chmod 755 /usr/lib/apache/libphp5.so
apxs:Error: Activation failed for custom /etc/httpd/conf/httpd.conf file..
apxs:Error: At least one `LoadModule' directive already has to exist..
make: *** [install-sapi] Error 1


---------- Post added at 07:13 PM ---------- Previous post was at 07:12 PM ----------

نقل قول نوشته اصلی توسط milade نمایش پست ها
والله چه مشکلی ؟!
میتونی از فایل یه کپی بگیری ! برا اطمینان .

اما این خطا رو قبلاً ها داشتم .
یه بارش کاستم بیلد کردم مشکل حل شد !! یه بار هم دیگه هر کاری کردم ، از نصب php و ... دیدم نشد ، اینو که جایگزین کردم ok شد .

مشکلی نداره

---------- Post added at 06:41 PM ---------- Previous post was at 06:39 PM ----------


اینو نمیزنه :؟؟؟؟
کد:
Stopping httpd: [FAILED]
 Starting httpd: Syntax error on line 31 of /etc/httpd/conf/httpd.conf:
 Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration
 [FAILED]
البته همچین چیزی !
اینو زد :
service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 47 of /usr/local/directadmin/data/users/hosti/httpd.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration


---------- Post added at 07:26 PM ---------- Previous post was at 07:13 PM ----------

فایل های کانفینگ آپاچی رو از یه وی پی اس که اونم دایرکت ادمین بود انجام دادم ولی بازم مشکل حل نشد . و اصلا آپاچی ران نمی شه