| Rudi Ahlers on Fri, 2 Feb 2001 08:40:37 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: GLUG: PhP pages displaying Page source |
Hey, Thanx for all the replies, although it didn't help me much. It was actually a bug on slackware, and I had to manually copy libphp.a to /usr/src/apache/src/modules/oho4, and recompile & make & make install, and now it works. :) Rudi Ahlers Unix specialist & Web Developer Bonzai Web Design http://www.bonzai.org.za ----- Original Message ----- From: "Ashley Kleynhans" <ashleyk@xxxxxxxxxxxxx> To: "Rudi ahlers" <kopspier@xxxxxxxxxxx> Cc: "G.L.U.G." <glug@xxxxxxxxxxxx> Sent: Wednesday, January 31, 2001 1:06 PM Subject: Re: GLUG: PhP pages displaying Page source You do not have to set the permissions of PHP files to execute. They only have to have the write permission set. You need to specify the following line in your Apache config: AddType application/x-httpd-php .php And then restart your Apache daemon in order for it to be able to work without showing you the PHP source. Regards Ashley ----------- REPLY SEPARATOR ----------- On 2001/01/29 at 12:46 Rudi ahlers wrote: >Hi > >I'm sure some one has figured this one out before. If I have >permissions --wx--x--x index.php, I get permission denied error in the >browser, so I add +r, and then it displays the php source, and it doesn't >execute the page. I got apache+php installed. The only thing is: for some >reason it doesn't write anything to /var/log/http-error.log / access.log, >although it is specified. Can someone shed some light over here please? --- To unsubscribe from this list: send the line "unsubscribe glug" in the body of a message to majordomo@xxxxxxxxxxxxx If you have a problem unsubscribing, please mail owner-glug@xxxxxxxxxxxx ******************************************************************** This message may contain information which is confidential and subject to legal privilege. If you are not the intended recipient, you may not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please notify the sender immediately by email, facsimile or telephone and return and/or destroy the original message. *******************************************************************