简体   繁体   English

更改mod_perl的perl

[英]Change perl for mod_perl

I've just installed a new version of perl on my linux webserver(upgrading from 5.10.1 to 5.12.4), and I'd hoped that everything will go smoothly but it seems that it didn't. 我刚刚在我的linux网络服务器上安装了新版本的perl(从5.10.1升级到5.12.4),我希望一切顺利,但似乎没有。 The default perl version now in the system is the new one, but mod_perl is still stuck on the older version. 系统中现在的默认perl版本是新版本,但mod_perl仍然停留在旧版本上。 My question is: can i just tell mod_perl to use the new version of perl, or do i have to reinstall it? 我的问题是:我可以告诉mod_perl使用新版本的perl,还是我必须重新安装它? From what i think there should be a way of just changing the interpreter and not reinstalling, but I wasn't able to find it yet. 从我认为应该有一种方式只是改变解释器而不是重新安装,但我还没有找到它。

mod_perl needs to be built against whatever version of Perl it is using (it has the perl compiled wrapped up inside it). mod_perl需要针对它正在使用的任何Perl版本构建(它将perl编译在其中)。 You will need to install a 5.12.4 version. 您需要安装5.12.4版本。

In the long term, you might want to considered moving off mod_perl and onto Plack/PSGI. 从长远来看,您可能需要考虑将mod_perl移到Plack / PSGI上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM