You are not logged in.
Pages: 1
I'm trying to get Wordpress installed via the Wordpress Wiki and with Apache and php-fm/mod_proxy_fcgi .
I installed Wordpress through pacman to "/usr/share/webapps/wordpress/"
When I try to run "systemctl start httpd" I get an error. Running "systemctl status httpd.service -l" outputs:
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" contains:
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>
Any suggestions would be greatly appreciated.
Offline
Why wordpress?
Anyway if you really want to run php crap then I suggest nginx + php-fpm
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
You may have globally disabled "open_basedir" elsewhere in your server/php config
Offline
Why not WordPress? Just curious. I don't have experience with any of the big 3. Is there something inherently wrong with PHP? Again, not a lot of background in it, so if something else is better, then I may look into that instead.
On mobile right now but I'll be logging back onto my laptop here in a few hours hopefully. Thanks for the feedback both of you.
Offline
OT from thread:
PHP is not exactly the "best" language to use, but it's not as evil as many people would make others think it is.
But using WordPress is just asking for trouble. It's very prone to (or seems to me to be from my 10 years of having to do "web stuff" to make a living) attack/hacking/used in hacking. If all you want is a simple website, but you want a CMS, there are hundreds. I personally use an obscure, slightly confusing one called CMS Made Simple.
Back on topic, satanselbow has a definite starting place for you to look at.
Last edited by mrunion (2014-11-19 13:44:05)
Matt
"It is very difficult to educate the educated."
Offline
Can you temporarily dissable wordpress on your server and see if you still have an apache problem?
ON THE SIDE ISSUE: It seems ppl are getting sick of wordpress as am I. Ive heard it called 'PHP Speghetti'. (Time consuming, for simple tasks, security target because of databases.) There is also jekyll if all you want is a static blog, among others.
Offline
I'm wondering if it might have something to do with this file in my "/etc/php/php.ini" file. I read
If your DocumentRoot is not /srv/http, add it to open_basedir in /etc/php/php.ini
from the LAMP wiki & misunderstood where my DocumentRoot was.
open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/etc/webapps/
If I comment out
Include conf/extra/httpd-wordpress.conf
from /etc/httpd/conf/httpd.conf then I can start httpd successfully.
Last edited by trvs (2014-11-19 23:27:34)
Offline
I recommend using preconfigured Docker images.
Offline
I'm not familiar with Docker. I did a little research, but I'm not sure how I would go about using it.
Offline
I'm not familiar with Docker. I did a little research, but I'm not sure how I would go about using it.
There are many video tutorials on how to run Wordpress in Docker using this image - https://registry.hub.docker.com/_/wordpress/
Offline
Pages: 1