• 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.

php5 debian parallel of php4

J

jspilon

Guest
Hello all,

I want to know if any one has been successful at having php5 in parallel of php4 with plesk ?

I know there is the control panel's php5 at /opt/psa/admin/bin/php

Can I use this one, should i install another?

How can I tell a specific domain it should be using php5 ?

how can i load the module with out screwing up php4 ?


Thanks for any input

Debian Sarge
Plesk 8.0.1
 
I have not yet done it. However I know it is currently impossible (without heavy modifications to PHP source code which is proboly unwise to mess with) to load both as a module. You will want to install one of them as a CGI. I did this on Gentoo, and I have it done on my Ubuntu Desktop, but not yet with any of my servers. Once I get a nice tutorial done, I'll be sure to post it.
 
Great.

Is there any way I can't start a second instance of apache which won't be messed up with ? I can have an ip dedicated to that one, but I think that plesk assigns it self to all ips... grrr
 
Yes, Plesk likes to take over all IPs. And even if you had a second Apache, it obviously wouldn't be able to control the second Apache.

If you're dead set on running a second apache, you can install mod_proxy on Plesk's apache. Then setup the second Apache on another port (such as 90) and put the following directives in your virtual host configuration:

ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass / http://yourdomain.com:90/
ProxyPassReverse / http://youdomain.com:90/
<Location />
Order allow,deny
Allow from all
</Location>
 
Sorry to post twice, but really your best bet would be to make either PHP4 or PHP5 CGI. This is sooo much easier than setting up a second Apache. The differences between PHP4 and PHP4 CGI or PHP5 and PHP5 CGI are miniscule. Almost all programs will run under both the CGI and mod_ versions.

Thanks,
Will
 
Back
Top