vi /etc/sysconfig/httpd
Раскомментируем строку:
HTTPD=/usr/sbin/httpd.worker
Перезапускаем Апача:
/etc/init.d/httpd restart
Если в итоге получаем нечто в стиле:
Starting httpd: [Tue Dec 15 04:02:43 2009] [crit] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
Pre-configuration failed
Что лечится отключением зловредного PHP:
mv /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/php.old
/etc/init.d/httpd restart
No comments :
Post a Comment
Note: only a member of this blog may post a comment.