• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

I need 2 commands to fix my problem with Plesk 11.5

christiano1203

Basic Pleskian
Hello everybody,

My System: Cent OS 6.5 with Plesk Panel 11.5.3

i need to commands to fix my problem. Maybe somebody can help me.

At the moment all Domains of me use php_handle "apache, mod_php", but i want all Domains have to use "fast_cgi". How is the comand for changing alle Domains to "fast_cgi"?

The next problem is, that all Folder and files are own by "apache". Is there a command to change it to the right person, like system user?


Thank you all for helping....



best regards,


christiano
 
1.

# for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/subscription -u $i -php_handler_id fastcgi; done

2.

# plesk bin repair --restore-vhosts-permissions
 
Hi,

thank you for your helping.

Can you say me how i how i can use the command # plesk bin repair --restore-vhosts-permissions for an another Directory, because my default directory is not httpdocs, but public_html

When I perfom the command i become errors, because the script say, it can't find httpdocs....
 
because my default directory is not httpdocs, but public_html

When I perfom the command i become errors, because the script say, it can't find httpdocs....
I don't know why you have this strange customization, but looks like that in psa database in hosting table you have www_root field defined as /httpdocs for sites instead of /public_html
Note that this inconsistency can lead to unpredictable consequences.
 
Back
Top