저는 Wordpress를 Wordpress Wiki과 Apache and php-fm/mod_proxy_fcgi을 통해 아치 리눅스에 설치하려고합니다. 아파치 웹 서버를 시작하지 못했습니다
나는 "는/usr/share/웹 어플리케이션/워드 프레스 /"내가 실행하려고
내가 오류가 "아파치를 시작 systemctl"로 팩맨을 통해 워드 프레스를 설치했습니다. 이httpd.service - Apache Web Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)
Active: failed (Result: exit-code) since Wed 2014-11-19 03:48:11 EST; 26s ago
Process: 12633 ExecStop=/usr/bin/apachectl graceful-stop (code=exited, status=1/FAILURE)
Process: 13162 ExecStart=/usr/bin/apachectl start (code=exited, status=1/FAILURE)
Main PID: 12463 (code=exited, status=0/SUCCESS)
systemd[1]: Starting Apache Web Server...
apachectl[13162]: AH00526: Syntax error on line 6 of /etc/httpd/conf/extra/httpd-wordpress.conf:
apachectl[13162]: Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration
systemd[1]: httpd.service: control process exited, code=exited status=1
systemd[1]: Failed to start Apache Web Server.
systemd[1]: Unit httpd.service entered failed state.
systemd[1]: httpd.service failed.`
"/etc/httpd/conf/extra/httpd-wordpress.conf"가 포함되어 있습니다 :
Alias /testing "/usr/share/webapps/wordpress"
<Directory "/usr/share/webapps/wordpress">
AllowOverride All
Options FollowSymlinks
Require all granted
php_admin_value open_basedir "/srv/:/tmp/:/usr/share/webapps/:/etc/webapps:$"
</Directory>
어떤 제안을 크게 감상 할 수있다 "systemctl 상태 httpd.service -l"출력 실행 .
PHP를 설치 했습니까? 설명서에는 다음 내용이 나와 있습니다. _ 참고 : PHP로 실행되도록 Apache를 구성해야합니다. 지시 사항은 LAMP # PHP 페이지를 확인하십시오 ._ 다음 링크를 확인하십시오. https://wiki.archlinux.org/index.php/LAMP#PHP –
예, PHP 5.6.3-1, php-apache 5.6.3 -1, php-fpm 5.6.3-1, php-mcrypt 5.6.3-1 및 phpmyadmin 4.2.11-1이 설치되어 있습니다. Apache는 httpd-wordpress.conf에 정의 된 php_admin_value 명령을 실행하는 방법을 이해하지 못하는 것 같습니다. 필자는 [phpmyadmin] (https://wiki.archlinux.org/index.php/PhpMyAdmin)을 통해 지시 된대로 파일을 구성했지만 변경하지 않았습니다. – travisw
댓글을 달았 으면 : /etc/httpd/conf/httpd.conf의 conf/extra/httpd-wordpress.conf 을 포함하면 httpd를 성공적으로 시작할 수 있습니다. – travisw