php on vergil not working?

Greg Stark gdstark at atnet.net
Mon Dec 16 10:08:42 PST 2002


Iv been loosely reading this thread for a bit.. I wrote a crude howto  
several years ago.. I dont know how current it is, but it may or may  
not help.. It currently lives at

http://staff.washington.edu/brankoel/installing-php-on-your-ua- 
account.php

I was under the impression that UW was going to provide a working PHP  
binary on UA machines eventually.  Not sure if that ever happened...

- Greg
gdstark at mac.com
http://www.lument.com

On Monday, December 16, 2002, at 09:49  AM, Kolbe Kegel wrote:

> yeah the test page i made definitely wasn't executable! something is  
> amiss in your setup, i'm guessing. i was going to suggest that perhaps  
> your file wasn't world readable at first, but this apparently doesn't  
> make any difference on the dante web server becuase their httpd runs  
> requests as the user to whom the served files belong. pretty clever.
>
> so anyway.... yeah i don't know what's up, but you oughtn't need to  
> make your file executable, and i guess to keep you encouraged, it  
> worked for me with permissions of 600.
>
> maybe soemthing is wrong with your php syntax? try a really simple  
> file like this:
>
> <html><body><? php echo "TEST"; ?></body></html>
>
> and place it in your public_html directory.
>
> --Kolbe
>
> Jesse Keating wrote:
>
>> On Monday 16 December 2002 08:12, Adam Monsen uttered:
>>
>>> ...and chmod it to 0755. After I changed the permissions thusly, the
>>> script magically started working. I'm suggesting to C&C that they put
>>> this in a FAQ.
>>>
>>
>> Hrm, a webserver that requires .php files to be 755 before they will  
>> operate correctly is a broken webserver.  PHP is just a parsable  
>> document.  It does not get executed like .cgi (perl), it is parsed,  
>> much like html.  In fact, you mix html with php.  If your web server  
>> requires 755 permissions, then something is broken, and it should be  
>> brought to the webadmin's attention.  _NOTHING_ should have  
>> executable bits set in the public web directory.  Thats what cgi-bins  
>> were made for, so that users can't get a listing or access them in  
>> indirect fashions.
>>
>>
>
>
- Greg
gdstark at mac.com
http://www.lument.com



More information about the Linux mailing list