• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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