<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Mod perl - Revision history</title>
		<link>https://www.slackwiki.com/index.php?title=Mod_perl&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.40.0</generator>
		<lastBuildDate>Wed, 08 Apr 2026 02:55:17 GMT</lastBuildDate>
		<item>
			<title>Erik: Copy from old, had no category, placed in Tutorials</title>
			<link>https://www.slackwiki.com/index.php?title=Mod_perl&amp;diff=135&amp;oldid=prev</link>
			<guid isPermaLink="false">https://www.slackwiki.com/index.php?title=Mod_perl&amp;diff=135&amp;oldid=prev</guid>
			<description>&lt;p&gt;Copy from old, had no category, placed in Tutorials&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
This is an example of installing mod_perl on SlackWare 12.0 using the SlackBuild system.  I put everything in /root/SlackBuild_mod_perl and I did all the following commands as root.  I figured it out from this page: http://slackbuilds.org/howto/&lt;br /&gt;
&lt;br /&gt;
First, I downloaded everything.  I went to http://slackbuilds.org/repository/12.0/development/mod_perl/ and I downloaded the &amp;quot;slackbuild&amp;quot; file, mod_perl.tgz, and the source, mod_perl-2.0.3.tar.gz, into /root/SlackBuild_mod_perl&lt;br /&gt;
&lt;br /&gt;
I unpacked the SlackBuild package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@pecan:~# cd ~/SlackBuild_mod_perl/&lt;br /&gt;
root@pecan:~/SlackBuild_mod_perl# tar xzvf mod_perl.tgz &lt;br /&gt;
mod_perl/&lt;br /&gt;
mod_perl/README&lt;br /&gt;
mod_perl/doinst.sh&lt;br /&gt;
mod_perl/mod_perl.SlackBuild&lt;br /&gt;
mod_perl/mod_perl.conf&lt;br /&gt;
mod_perl/mod_perl.info&lt;br /&gt;
mod_perl/slack-desc&lt;br /&gt;
root@pecan:~/SlackBuild_mod_perl# &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I moved the mod_perl source into the mod_perl SlackBuild directory, and editted the SlackBuild script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mv mod_perl-2.0.3.tar.gz mod_perl&lt;br /&gt;
cd mod_perl&lt;br /&gt;
emacs mod_perl.SlackBuild&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When editting, I just checked that the VERSION= line matched the actual version of the source (2.0.3).&lt;br /&gt;
&lt;br /&gt;
Then I executed the SlackBuild script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./mod_perl.SlackBuild&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That command ran for quite a while and produced a lot of compiling output.&lt;br /&gt;
&lt;br /&gt;
When it was done, there was a package left in /tmp.  I moved it to /root so it would not be deleted later.&lt;br /&gt;
&lt;br /&gt;
I installed it with installpkg:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@pecan:~# installpkg mod_perl-2.0.3-i486-1_SBo.tgz &lt;br /&gt;
Installing package mod_perl-2.0.3-i486-1_SBo... &lt;br /&gt;
PACKAGE DESCRIPTION:&lt;br /&gt;
mod_perl: mod_perl (Perl Interpreter for Apache)&lt;br /&gt;
mod_perl:&lt;br /&gt;
mod_perl: Mod_perl incorporates a Perl interpreter into the Apache web server&lt;br /&gt;
mod_perl: so that the Apache web server can directly execute Perl code.&lt;br /&gt;
mod_perl: Mod_perl links the Perl runtime library into the Apache web server &lt;br /&gt;
mod_perl: and provides an object-oriented Perl interface for Apache's C&lt;br /&gt;
mod_perl: language API. The end result is a quicker CGI script turnaround &lt;br /&gt;
mod_perl: process, since no external Perl interpreter has to be started.&lt;br /&gt;
mod_perl:&lt;br /&gt;
mod_perl: Homepage: http://perl.apache.org/&lt;br /&gt;
mod_perl:&lt;br /&gt;
Executing install script for mod_perl-2.0.3-i486-1_SBo...&lt;br /&gt;
root@pecan:~# &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point I checked that the file /usr/lib/httpd/modules/mod_perl.so existed, and it did.  I editted /etc/httpd/httpd.conf and uncommented the line that included /etc/httpd/mod_perl.conf, and then ran httpd -t to make sure there were no syntax errors.&lt;br /&gt;
I ran &amp;quot;/etc/rc.d/rc.httpd restart&amp;quot; to restart the apache server, and it appeared to work.  The web page still worked, and perl scripts still ran. &lt;br /&gt;
&lt;br /&gt;
How can I tell if mod_perl or perl cgi is being used ?  I'm not sure, please add that info you know.&lt;/div&gt;</description>
			<pubDate>Thu, 04 Jun 2009 05:20:46 GMT</pubDate>
			<dc:creator>Erik</dc:creator>
			<comments>https://www.slackwiki.com/Talk:Mod_perl</comments>
		</item>
</channel></rss>