I'm working for a client who installed WordPress on his server. But it doesn't have upload writes because of some settings that need to be changed via command-line.
I'm trying to follow the instructions from Media Temple (where he's hosted) to enable PHP to run as FastCGI in order to give WordPress the ability to upload files to a server. Unfortunately I have to do this via command line and I have no experience with command line. Instructions are found here:
http://wiki.mediatemple.net/w/(dv)_3.5:Run_PHP_as_FastCGI_and_resolve_Apache_permission_errors
I can get as far as step 5/6
vim /var/www/vhosts/example.com/conf/vhost.conf
Add the following lines to the file:
File:vhost.conf
AddHandler fcgid-script .php
SuexecUserGroup domainuser psacln
<Directory /var/www/vhosts/example.com/httpdocs>
FCGIWrapper /var/www/vhosts/example.com/bin/php-cgi .php
Options +ExecCGI +FollowSymLinks
allow from all
</Directory>
But I have no idea how to save.
I'm very new to command line so any help would be great. I'd like to be able to give WordPress the ability to upload files soon.
Thanks in advance for helping me.