Linux Apache Server Web development – note

February 24, 2010 § Leave a comment

Couple things to note.

1.What is the UID of the files that generate by server side  script?

It is ‘apache’

2. Why I cannot use chmod 777 on that file, but I can chmod the file I just created using FTP software?

Because the ftp login UID is not apache.

3. Why my script is not working on deployment server, but work in localhost in windows enviroment?

Many reasons, if it related to above issues, then it would be a UID named ‘user’ script want to write something on that     folder with UID named ‘apache’ (this folder probably you use mkdir command to generate ).

It will happens to be a issue once if the PHP < 6.0  safe mode is turn on .

Advertisements

Tagged: , , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading Linux Apache Server Web development – note at Nick Wan L.K..

meta

%d bloggers like this: