Howdy all,

I have been using PHP, MySQL and Apache on Win2K for about a year now and 
have recently begun the process of switching development to Linux -- 
Yesterday (by using the excellent reference by Patrick Harper, ) I 
finally successfully installed from source MySQL-4.0.16, PHP-4.3.4, and 
Apache-2.0.48 on Linux, and a test phpinfo() page worked as expected. 

Now I need to migrate several multi-file (db_connect files, function 
include files, C executables) apps from windows to linux, so I was 

1.  How *nix users organize their 'include' and 'session' directories 
(e.g., outside the web root? how deep in the directory structure?).
2.  Whether all files (including C executables) should be owned by root, 
and what permissions should be set. For example, I was logged in as root 
when I made
     the phpinfo() file, so it  _is_ owned by root. Permissions were set 
automatically to 0644. Is this customary? And who/what will own the 
session files as they are created?
Perhaps I'm over-thinking these issues, but I've not much experience on 
*nix compared to windows, and it's Friday afternoon in my spot of the 

Thanks in advance for any suggestions / tips, etc... 


Reply via email to