<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.christophchamp.com/index.php?action=history&amp;feed=atom&amp;title=LAMP_on_Mandriva</id>
		<title>LAMP on Mandriva - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.christophchamp.com/index.php?action=history&amp;feed=atom&amp;title=LAMP_on_Mandriva"/>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=LAMP_on_Mandriva&amp;action=history"/>
		<updated>2026-04-30T12:23:21Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://wiki.christophchamp.com/index.php?title=LAMP_on_Mandriva&amp;diff=3876&amp;oldid=prev</id>
		<title>Christoph at 01:52, 3 May 2007</title>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=LAMP_on_Mandriva&amp;diff=3876&amp;oldid=prev"/>
				<updated>2007-05-03T01:52:46Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 01:52, 3 May 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot; &gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==MySQL (5.0)==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==MySQL (5.0)==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To install MySQL 5.0, we simply run:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To install &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[&lt;/ins&gt;MySQL&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]] &lt;/ins&gt;5.0, we simply run:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; urpmi MySQL MySQL-client libmysql15-devel&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; urpmi MySQL MySQL-client libmysql15-devel&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(See: Notes for details.)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(See: Notes for details.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Christoph</name></author>	</entry>

	<entry>
		<id>http://wiki.christophchamp.com/index.php?title=LAMP_on_Mandriva&amp;diff=3875&amp;oldid=prev</id>
		<title>Christoph: /* Disable PHP Globally */</title>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=LAMP_on_Mandriva&amp;diff=3875&amp;oldid=prev"/>
				<updated>2007-05-03T01:39:21Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Disable PHP Globally&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 01:39, 3 May 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l115&quot; &gt;Line 115:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 115:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Edit &amp;lt;code&amp;gt;/etc/httpd/conf/httpd.conf&amp;lt;/code&amp;gt; and add the following line to the &amp;lt;code&amp;gt;LoadModule&amp;lt;/code&amp;gt; section:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Edit &amp;lt;code&amp;gt;/etc/httpd/conf/httpd.conf&amp;lt;/code&amp;gt; and add the following line to the &amp;lt;code&amp;gt;LoadModule&amp;lt;/code&amp;gt; section:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; LoadModule php5_module&amp;#160; &amp;#160; extramodules/mod_php5.so&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; LoadModule php5_module&amp;#160; &amp;#160; extramodules/mod_php5.so&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(''Note: For a fresh list of available modules for apache2, please visit [http://nux.se/apache/ nux.se].'')&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Although this line is already in &amp;lt;code&amp;gt;/etc/httpd/modules.d/70_mod_php.conf&amp;lt;/code&amp;gt; this is very important because otherwise the command&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Although this line is already in &amp;lt;code&amp;gt;/etc/httpd/modules.d/70_mod_php.conf&amp;lt;/code&amp;gt; this is very important because otherwise the command&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Christoph</name></author>	</entry>

	<entry>
		<id>http://wiki.christophchamp.com/index.php?title=LAMP_on_Mandriva&amp;diff=3874&amp;oldid=prev</id>
		<title>Christoph at 01:24, 3 May 2007</title>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=LAMP_on_Mandriva&amp;diff=3874&amp;oldid=prev"/>
				<updated>2007-05-03T01:24:37Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In this article, I will describe how to setup a [[LAMP]] environment on [[Mandriva Linux]] (version 2007.1).&lt;br /&gt;
&lt;br /&gt;
==MySQL (5.0)==&lt;br /&gt;
To install MySQL 5.0, we simply run:&lt;br /&gt;
 urpmi MySQL MySQL-client libmysql15-devel&lt;br /&gt;
(See: Notes for details.)&lt;br /&gt;
By default, networking is not enabled in Mandriva 2007's MySQL package, but networking is required by [[ISPConfig]]. We can change this by commenting out the line skip-networking in &amp;lt;code&amp;gt;/etc/my.cnf&amp;lt;/code&amp;gt;:&lt;br /&gt;
 % vi /etc/my.cnf&lt;br /&gt;
   [...]&lt;br /&gt;
   # Don't listen on a TCP/IP port at all. This can be a security enhancement,&lt;br /&gt;
   # if all processes that need to connect to mysqld run on the same host.&lt;br /&gt;
   # All interaction with mysqld must be made via Unix sockets or named pipes.&lt;br /&gt;
   # Note that using this option without enabling named pipes on Windows&lt;br /&gt;
   # (via the &amp;quot;enable-named-pipe&amp;quot; option) will render mysqld useless!&lt;br /&gt;
   #&lt;br /&gt;
   #skip-networking&lt;br /&gt;
   [...]&lt;br /&gt;
&lt;br /&gt;
Afterwards, we start MySQL:&lt;br /&gt;
 /etc/init.d/mysqld start&lt;br /&gt;
&lt;br /&gt;
Now check that networking is enabled:&lt;br /&gt;
 netstat -tap&lt;br /&gt;
&lt;br /&gt;
It should show a line like this:&lt;br /&gt;
   Active Internet connections (servers and established)&lt;br /&gt;
   Proto Recv-Q Send-Q Local Address   Foreign Address   State   PID/Program name&lt;br /&gt;
   [...]&lt;br /&gt;
   tcp        0      0 *:mysql-im      *:*               LISTEN  22188/mysqlmanager&lt;br /&gt;
   tcp        0      0 *:mysql         *:*               LISTEN  22196/mysqld&lt;br /&gt;
   [...]&lt;br /&gt;
&lt;br /&gt;
Next, run&lt;br /&gt;
 mysqladmin -u root password yourrootsqlpassword&lt;br /&gt;
 mysqladmin -h localhost -u root password yourrootsqlpassword&lt;br /&gt;
to set a password for the user &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; (''Note: It is strongly recommended that you do '''not''' set your MySQL root password to be the same as your system root password!'').&lt;br /&gt;
&lt;br /&gt;
===Notes===&lt;br /&gt;
*More information on package MySQL-5+&lt;br /&gt;
The initscript used to start mysql has been reverted to use the one shipped by MySQL AB. This means the following changes:&lt;br /&gt;
:*The &amp;lt;code&amp;gt;MYSQLD_OPTIONS=&amp;quot;--skip-networking&amp;quot;&amp;lt;/code&amp;gt; option in the &amp;lt;code&amp;gt;/etc/sysconfig/mysqld&amp;lt;/code&amp;gt; file has been removed, this is now set in the &amp;lt;code&amp;gt;/etc/my.cnf&amp;lt;/code&amp;gt; file.&lt;br /&gt;
:*The MySQL Instance Manager is used by default, set &amp;lt;code&amp;gt;use_mysqld_safe=&amp;quot;1&amp;quot;&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;/etc/sysconfig/mysqld&amp;lt;/code&amp;gt; file to use the old &amp;lt;tt&amp;gt;mysqld_safe&amp;lt;/tt&amp;gt; script.&lt;br /&gt;
&lt;br /&gt;
The extra MySQL-NDB server package has been merged into the MySQL-Max package and ndb related pieces has been split into different sub packages as done by MySQL AB. The MySQL libraries and the MySQL-common sub package uses the MySQL-Max build so that no functionality required by for example the NDB parts are lost.&lt;br /&gt;
&lt;br /&gt;
The MySQL-common package now ships with a default &amp;lt;code&amp;gt;/etc/my.cnf&amp;lt;/code&amp;gt; file that is based on the &amp;lt;code&amp;gt;my-medium.cnf&amp;lt;/code&amp;gt; file that comes with the source code. The &amp;lt;code&amp;gt;/etc/my.cnf&amp;lt;/code&amp;gt; file is constructed at build time of this package.&lt;br /&gt;
&lt;br /&gt;
To connect to the Instance Manager you need to pass the correct command line options like in the following examples:&lt;br /&gt;
 mysql -u root --password=my_password --port=2273 --protocol=TCP&lt;br /&gt;
 mysql -u root --password=my_password --socket=/var/lib/mysql/mysqlmanager.sock&lt;br /&gt;
&lt;br /&gt;
Please note you also need to add a user in the &amp;lt;code&amp;gt;/etc/mysqlmanager.passwd&amp;lt;/code&amp;gt; file and make sure the file is owned by the user under which the Instance Manager service is running under.&lt;br /&gt;
&lt;br /&gt;
You might need to&lt;br /&gt;
 chkconfig mysqld&lt;br /&gt;
&lt;br /&gt;
===Moving the MySQL's datadir directory===&lt;br /&gt;
By default, MySQL's datadir is placed in the /var/lib/mysql directory. However, if you are planning on using MySQL tables to store a lot of data and your /var partition is small, it might cause you problem at a later stage. In such a scenario, it is better to move the MySQL's datadir to another partition (like /home.&lt;br /&gt;
&lt;br /&gt;
The steps are:&lt;br /&gt;
#Stop your mysql server before starting this operation&lt;br /&gt;
#Create the directories that will be new datadir&lt;br /&gt;
#chown the directory to the mysql:mysql user&lt;br /&gt;
#copy the files from the old datadir to the new location. However, make sure that the files named ib_arch_log_0000000000, ib_logfile0 etc. are not copied to the newer location.&lt;br /&gt;
#Make sure that the files and directories are owned by mysql user&lt;br /&gt;
#Make changes in the my.cnf to point the new datadir.&lt;br /&gt;
#Restart the MySQL database&lt;br /&gt;
#You might need to do varying degree of troubleshooting to get the server working if there is some problem&lt;br /&gt;
#Create a new database and verify that the files for this database are getting created in the new datadir&lt;br /&gt;
#After the server is running for a few days properly, get rid of the old data.&lt;br /&gt;
&lt;br /&gt;
==Apache2 with PHP5==&lt;br /&gt;
To install [[Apache|Apache2]] and [[PHP|PHP5]], run the following command (in one line):&lt;br /&gt;
 urpmi apache-mod_php libphp5_common5 php-bz2 php-calendar php-ctype php-curl php-devel \&lt;br /&gt;
 php-dio php-dom php-eaccelerator php-enchant php-esmtp php-event php-exif php-fam php-ffmpeg \&lt;br /&gt;
 php-fileinfo php-filepro php-ftp php-gd php-gettext php-gmp php-iconv php-id3 php-idn php-imap \&lt;br /&gt;
 php-imlib2 php-mailparse php-mbstring php-mcache php-mcrypt php-mhash php-ming php-mysql \&lt;br /&gt;
 php-mysqli php-ncurses php-newt php-odbc php-oggvorbis php-pam_auth php-pcntl php-pcre \&lt;br /&gt;
 php-pear-Net_IDNA php-posix php-pspell php-readline php-recode php-session php-shmop \&lt;br /&gt;
 php-simplexml php-snmp php-soap php-sockets php-sqlite php-ssh2 php-sysvmsg php-sysvsem \&lt;br /&gt;
 php-sysvshm php-tclink php-tcpwrap php-tidy php-xml php-xmlrpc php-zip php5-ini curl \&lt;br /&gt;
 libcurl4-devel perl-libwww-perl ImageMagick&lt;br /&gt;
&lt;br /&gt;
Start Apache:&lt;br /&gt;
 /etc/init.d/httpd restart&lt;br /&gt;
&lt;br /&gt;
===Disable PHP Globally===&lt;br /&gt;
(''Note: If you do not plan to install [[ISPConfig]] on this server, please skip this section.'')&lt;br /&gt;
&lt;br /&gt;
In ISPConfig you will configure PHP on a per-website basis, i.e. you can specify which website can run PHP scripts and which one cannot. This can only work if PHP is disabled globally because otherwise all websites would be able to run PHP scripts, no matter what you specify in ISPConfig.&lt;br /&gt;
&lt;br /&gt;
Edit &amp;lt;code&amp;gt;/etc/httpd/modules.d/70_mod_php.conf&amp;lt;/code&amp;gt; and comment out the &amp;lt;code&amp;gt;AddType&amp;lt;/code&amp;gt; lines:&lt;br /&gt;
 &amp;lt;IfDefine HAVE_PHP5&amp;gt;&lt;br /&gt;
     &amp;lt;IfModule !mod_php5.c&amp;gt;&lt;br /&gt;
         LoadModule php5_module    extramodules/mod_php5.so&lt;br /&gt;
     &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/IfDefine&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;IfModule mod_mime.c&amp;gt;&lt;br /&gt;
 #    AddType application/x-httpd-php .php&lt;br /&gt;
 #    AddType application/x-httpd-php .phtml&lt;br /&gt;
 #    AddType application/x-httpd-php-source .phps&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;IfModule mod_php5.c&amp;gt;&lt;br /&gt;
     &amp;lt;IfModule mod_dir.c&amp;gt;&lt;br /&gt;
         DirectoryIndex index.php index.phtml&lt;br /&gt;
     &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit &amp;lt;code&amp;gt;/etc/httpd/conf/mime.types&amp;lt;/code&amp;gt; and comment out the following lines:&lt;br /&gt;
 #application/x-perl             perl pl&lt;br /&gt;
 #application/x-php              php php3 php4&lt;br /&gt;
&lt;br /&gt;
Edit &amp;lt;code&amp;gt;/etc/httpd/conf/httpd.conf&amp;lt;/code&amp;gt; and add the following line to the &amp;lt;code&amp;gt;LoadModule&amp;lt;/code&amp;gt; section:&lt;br /&gt;
 LoadModule php5_module    extramodules/mod_php5.so&lt;br /&gt;
&lt;br /&gt;
Although this line is already in &amp;lt;code&amp;gt;/etc/httpd/modules.d/70_mod_php.conf&amp;lt;/code&amp;gt; this is very important because otherwise the command&lt;br /&gt;
 httpd -t&lt;br /&gt;
will report errors instead of &amp;lt;code&amp;gt;Syntax OK&amp;lt;/code&amp;gt; when the virtual hosts created by ISPConfig contain lines like &amp;lt;code&amp;gt;php_admin_flag safe_mode On&amp;lt;/code&amp;gt; or the like.)&lt;br /&gt;
&lt;br /&gt;
Restart Apache:&lt;br /&gt;
 /etc/init.d/httpd restart&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux Command Line Tools]]&lt;/div&gt;</summary>
		<author><name>Christoph</name></author>	</entry>

	</feed>