[Tfug] writing files from PHP
    Brian Murphy 
    murphy at coppershadow.com
       
    Wed Jun 18 17:36:30 MST 2008
    
    
  
Check your safe_mode and open_basedir settings.  They could restrict the
fopen function.
Most good webhosting services (like mine :) ) run php via suexec or suphp
so that your scripts run as your user ID, not the generic apache user.
Brian
On Tue, 17 Jun 2008 23:06:14 -0700, Paul Scott <waterhorse at ultrasw.com>
wrote:
> Dumb question:  With permissions 644 I can open and write files with
> version 4.4.8 of PHP on a web server.  With the same version of PHP
> and the same file permissions I can't open the files for writing on
> this Mac PPC or my home computer.   The code uses fopen().
> 
> I haven't found any obvious options with phpinfo() that give me a clue.
> 
> TIA for any help,
> 
> Paul Scott
> 
> 
> 
> 
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> https://www.tfug.org/mailman/listinfo/tfug
    
    
More information about the tfug
mailing list