Okay, got that straightened out, but now I restart apache I get the following message:
0: /usr/local/psa/admin/plib/common_func.php3:158
psaerror(string 'Unable to make action: Unable to manage service by websrvmng: websrvmng: Service /etc/init.d/httpd failed to restart')
1: /usr/local/psa/admin/htdocs/server/restart_services.php:28
If I comment all of the lines having to do with suPHP in my vhost.conf then it will restart fine, but of cousrse suPHP does not work. Here is the contents of my vhost.conf file:
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot /var/www/vhosts/usable-devel.com/httpdocs/joomla
< IfModule mod_suphp.c >
< Directory "/var/www/vhosts/usable-devel.com/httpdocs/" >
php_admin_flag engine on
suPHP_Engine On
suPHP_ConfigPath "/var/www/vhosts/usable-devel.com/httpdocs/"
AddHandler x-httpd-php .php
AddHandler php5-script .php
AddHandler x-httpd-php .php .php5 .php4 .php3 .phtml
suPHP_AddHandler x-httpd-php
suPHP_AddHandler php5-script .php
php_value open_basedir "/tmp/"
php_value upload_tmp_dir "/var/www/vhosts/usable-devel.com/httpdocs/tmp/"
< Files php.ini >
order allow,deny
deny from all
< /Files >
< /Directory >
< /IfModule >
I have already created the "tmp" folder. It has the domain user as the owner and "psacln" as the group, and 0755 permissions. I have also tried with the owner and group being "root".