Sometimes I have dirctories must have w+x permision to other and may be anyone upload PHP script to these directories and run it via web browser so
I would like to disallowed run PHP scripts "via web browser" if it included directories have permision w+x to Other.
why would you allow people to upload php scripts in the first place? if you allow people to upload other types, you may want to check for the true types of those files. For instances, if users are allowed to upload images, you must check for the size of the script, if your script doesn't recognize the size, then this uploaded file can't be image type; similarly, if mp3 file uploaded, getid3 of the file.
it would be better to write it in your uploading script rather than editing httpd.conf. You don't want to go back in httpd.conf to edit everytime you create a folder in which you dont want to have php executed.