From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_NEUTRAL autolearn=no version=3.2.5 Date: Wed, 03 Mar 2010 06:24:37 -0600 From: Virtual Sky In-reply-to: <20100303113120.GB18182@osdn.org.ua> To: "ALT Linux users (in English only)" , shigorin@gmail.com Message-id: <4B8E5505.707@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <4B8DB627.7080304@gmail.com> <20100303113120.GB18182@osdn.org.ua> User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.8.1.23) Gecko/20090910 SeaMonkey/1.1.18 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2010-03-03_06:2010-02-06, 2010-03-03, 2010-03-03 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1003030063 Subject: Re: [Comm-en] configuring php5 support on Alt Server 4.0 X-BeenThere: community-en@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Virtual Sky , "ALT Linux users \(in English only\)" List-Id: "ALT Linux users \(in English only\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2010 12:26:34 -0000 Archived-At: List-Archive: Thanks, Michael! I'm wondering... since this server box I'm setting up is a new one, perhaps I'd be better just to start using the latest Server 5.0 (Ark). Am I correct in assuming that little issues like this are improved in 5.0? I wasn't aware of the issue with populating the root directory with content. Thankfully I haven't experienced this overwriting of files during updates on other 4.0 boxes I've set-up. But, it's certainly nice to be aware of it now. Thanks again! David. Michael Shigorin wrote: > On Tue, Mar 02, 2010 at 07:06:47PM -0600, Virtual Sky wrote: > >> Okay, I'm stuck. I've apt-get'ed the apache PHP5 module from Sisyphus >> > > Ohnoes! You'd better either stick with 4.0/branch for Server 4.0, > or install apache-mod_php5 from 4.1/branch and immediately point > apt back to 4.0/branch (I've used this a few times when php-5.2.5 > was working better for me than 5.2.2) -- OR move the whole system > to Sisyphus, which I shouldn't recommend before probably summer. > > >> and I see "apache-mod_php5" and "php5-cli" in the Alterator >> System Objects list (I set them both to "public" state). >> However, when I navigate to a directory on my server that >> should run the index.php script, all I see is the folder >> directory. Obviously, the php module is not intercepting the >> .php script. >> > > Which directory? By default /var/www/html is configured as a web > root BUT that default location isn't exactly good for your own > content since it might interfere with packaged one and things > like package upgrades overwriting index.html did happen before > (even if rarely). So it's recommended to set up a separate > virtual sk... er, server even for default virtual (g)host. > > >> Now, I've done what I know what to do (on other servers), like >> adding a line to httpd.conf to load the php5 module, but I >> can't seem to get it working. >> > > Should get auto-added, see also > /etc/httpd/conf/addon-modules.d/apache-mod_php5.conf > >