[Pmwiki-users] pmwiki, suexec and php as cgi

Patrick R. Michaud pmichaud
Sun Apr 11 14:08:49 CDT 2004


Looks like your system won't accept PATH_INFO links.  Try adding
   $EnablePathInfo = 0;
to your local/config.php and see if it works.

Pm

On Sat, Apr 10, 2004 at 11:24:46PM -0500, Trevis Martin wrote:
> I tried the install again.  It created the homepage seemingly okay 
> (thought it looks a little different than it does on my Mac running on 
> the internal server.)  But whenever I'm trying the links  including 
> edit the page. I get . 
> 
> Warning: Unexpected character in input: ' 
> ' (ASCII=12) state=1 in /usr/local/dh/cgi-system/php.cgi on line 2578 
> 
> Parse error: parse error in /usr/local/dh/cgi-system/php.cgi on line 
> 2578 
>  
> which seems to indicate some sort of problem with the php.cgi script on 
> dreamhost.  Unless there is a mod on the pmwiki end I can do to get 
> around this somehow?  There aren't many references to php as cgi on the 
> pmwiki home.   
> 
> any ideas? 
> 
> best, 
> 
> Trevis 
> 
> 
> On Apr 10, 2004, at 10:11 AM, Patrick R. Michaud wrote: 
> 
> 
> > On Sat, Apr 10, 2004 at 02:03:17AM -0500, Trevis Martin wrote: 
> > 
> > > Hi, new to the list. 
> > > 
> > > I've been trying to intall pmwiki on my dreamhost account.  
> > > Dreamhost,  
> > > for security, uses suexec on it server which I understand causes 
> > > all  
> > > scripts to run as the clients account name rather than noone and  
> > > nogroup.  I essentially cannot do a chmod 2777 or a chmod 777 to 
> > > let  
> > > pmwiki install properly.   
> > > 
> >  
> > If you have suexec or some other system that causes the PHP scripts 
> > to run as the client, then you shouldn't need to do the chmod 2777 
> > or  
> > chmod 777 step -- you can just skip it.  However, if PmWiki won't 
> > create 
> > the wiki.d directory, that probably means that your ISP has the 
> > mkdir 
> > function disabled in PHP.  In this case, you can just create the 
> > wiki.d 
> > directory manually and things should work from there. 
> > 
> > Pm 
> > 
> > --  
> > Pmwiki-users mailing list 
> > Pmwiki-users at pmichaud.com 
> > http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com 
> > 
> > 
> 
> 



More information about the pmwiki-users mailing list