PDA

View Full Version : Change the PHP to the normal mode. As it working now it is problematic to us.


lgui2000
3-8-02, 07:06 AM
Dear PowWeb admins,
Change the PHP to the normal mode. As it working now it is problematic to us.

We do have to edit many many many pages, including the hated line "#!/usr/local/bin/php" , we do have to change permissions ONE by ONE for all files uploaded, and after this strong enforces, all that we have is a ERROR 500 PAGE !

Due to high quantity of messages that relates the SAME problem -( i.. e. ERROR 500, "I can't do my page work..." etc, etc), I think that you have to urgently review your policies about the mode (CGI-BIN) that PHP works in your servers.

Please forgive me for this, but when many people protest against this, or have problems about this, or have doubts about this, or have questions about this, it's signal that something is whrong, ya?

PowWeb its a tremendous FAST webhosting, the signup is easy, the plan its very atractive... but PHP do not work very well.

If you cannot change this (I don't know why not ) at least give us the opportunity to make the choice to the Normal mode or to the CGI mode (for the masochists).

An idea is to make a research to see what the user want. You will be surprised with the collective claim: "We need PHP working in normal mode, without have to include the
&#!#$*%@#!/usr/local/bin/php, without have to manually change permissions to all files and have working fine !!!"

Thanks and again, and forgive me if this message sounds rude.

Regards,
Luiz G. Bomfim :(

sophiespo
3-8-02, 08:04 AM
Luiz,

1) If you want to address a post to an admin, its better to EMAIL it to them. All their addresses are on the site. They won't come here specifically looking for posts for them. These are community forums.

2) Read the FAQs before you sign up. Read these forums before you sign up. If you see lots of people with problems that aren't being solved then DONT sign up. But, if you read these forums carefully then youll see that most of the problems do get solved.

we do have to change permissions ONE by ONE for all files uploaded

You have to do this with cgi scripts too. No one complains about that!

but PHP do not work very well

PHP works fine for me and many others. All my scripts work (fast).

PowWeb runs their PHP in this particular mode for their own reasons and they have stated many times that they aren't going to change. Its not actually hard to find the files that need the "hated" #!/usr/local/bin/php line. I get all my scripts going within 10 minutes of uploading them.

People having problems with their scripts usually come to these forums and get advice on fixing them very quickly. Its mostly always a problem with not uploading in ascii, not setting permissions right or not putting the line in the correct place. Not that hard to solve.

Im sorry if you don't like my response. Maybe you should send your post to powweb customer service/tech support/whatever and see if you get one you like better.

sophie

lgui2000
3-9-02, 03:42 PM
Dear Sophie,

I am very sorry for my unfortunatelly first letter. I was unsleeped and very anxious to see my pages running in your system.

About your reply, on the contrary what you think, I loved you !
You are the right person and here are the right place to resolve our doubts and problems.

About my problem, of course that I was doing something wrong.
After review your messages for other users I could run my test.php page.

Again, please forgive me about the wrong way I aboard my problem here. Know that you have my total admiration and respects.


Yours,
Luiz

kriviere
3-9-02, 08:24 PM
As far as chmoding multiple files at once:

in ws_ftp you can select multiple files using ctrl-click or shift-click and then chmod them all (actually, I tried selecting then right clicking and it included chmod in the options, I am assuming it would work, ws_ftp has been consistent that way in my experience).

you can set up a cgi script that can chmod multiple files at once. This can be either a generic cgi that executes as a shell whatever you fill in on your form or a special purpose cgi for just that usage.

There are options!

-JoKeR

lgui2000
3-10-02, 11:42 AM
Thank you, JoKeR !
I tried what you told me. Its works fine!
[]s
Luiz

MannInc
3-10-02, 02:23 PM
Originally posted by kriviere
As far as chmoding multiple files at once:

in ws_ftp you can select multiple files using ctrl-click or shift-click and then chmod them all (actually, I tried selecting then right clicking and it included chmod in the options, I am assuming it would work, ws_ftp has been consistent that way in my experience).

-JoKeR

This technique should work in every FTP client, as it also works in LeechFTP.

deanloh
3-13-02, 03:50 AM
This is my situation.

I use Greymatter to manage my journal pages.Greymatter (http://noahgrey.com/greysoft). Each journal page generated are automatically saved as .php file. As php codes are used in each page for various tasks.

The question now is... as each page are generated dynamically whenever new content is added. How am I suppose to CHMOD them each time a new file is created? I'm sure there must be a way to program the server to CHMOD the file automatically.

Can someone show me a way?

Thanks if you can help.