Stephan von Krawczynski wrote:
Dear all,
please let me draw your attention to some problems with and around PHP. 10.2 delivers only PHP5 on the isos. One might think that this is completely sufficient as PHP5 is thought to be mostly compatible to PHP4 and earlier. We tried that, namely an upgrade from former suse with PHP4 to 10.2 with PHP5. We had to find out that almost all php scripts and applications used by our customers do not work with the PHP4-version implemented in PHP5. It is obvious that you cannot start talking to hundreds of customers about lots of scripts that they themselves do not understand - just downloaded them from some place. The reason I'd like to share this dead-end experience with you is to revive PHP4 in 10.3, at least. I found PHP4 for 10.2 on software.opensuse.org, which is great - and brings up a much bigger problem. The PHP people unfortunately managed to screw things up. It seems impossible at this time to install both PHP4 and PHP5 as modules in apache 2. Of course one might say "so what, use cgi interface instead!", but unfortunately that tilts even the basic security configured with "open_basedir". The whole thing is quite a mess... It is obvious that the PHP maintainers know the problems, because they continue to maintain both versions right now. It would be a great thing if PHP4 for 10.2/10.3 could be made working/installable together with PHP5, which is not the case right now, they are conflicting. Anyone here experienced in this field?
While PHP4 is still widely used, I think it would be wrong to include both version on the iso's, especially considering you have the option to download and install PHP4 if that is your wish/requirement. On the topic of running both PHP4 and PHP5 as modules for apache, the only other option than CGI which comes to my mind, would be 2 instances of apache running, one with one version of PHP and mod_proxy, and one running the other version of PHP. I myself runs PHP4 as CGI. Since you mentioned the "basic security" configured by open_basedir, you should also be aware, that with PHP6, safemode will be removed. Best regards Sylvester Lykkehus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org