• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

php4 and php5 at the same time

T

Tony79

Guest
hi,
its my firt post here. My english its no good bu i try to explain the problem.

in my plesk server i have:
php4 module
php5 cgi

for set php5, i have to do this:
1)go to"/var/www/vhost/dominio.com/conf"

2)write"vhost.conf"

with this content:

ScriptAlias /php5-cgi-custom /home/httpd/vhosts/dominio.com/httpdocs

Action application/x-httpd-php5-custom "/php5-cgi-custom/php5"

3)run this command"/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=dominio.com"

4)edit this file "var/www/vhosts/dominio.com/conf/httpd.include"

5)put the comment to "SuexecUserGroup" es: # SuexecUserGroup php5 psacln

6)go to "/var/www/vhosts/dominio.com/httpdocs"

7)create ".htaccess"

with this content:

"AddType application/x-httpd-php5 .php"

8)go to "/var/www/vhosts/dominio.com/bin"

9)run the command "cp /usr/local/php5/bin/php5 ./php5"

10)run the command "service httpd restart"

now PHP5 work fine. i set on file httpd.include this attribute "-r--r--r--" but avery time that the client modify the ftp password on PLESK, PLESK overwrite the file httpd.include and reset the php4.

there are a definitely solution for this problem?
 
Back
Top