PDA

View Full Version : Is PHP working for anyone?


jbenalluch
1-3-02, 04:53 AM
I have been looking a bit around the posts that are in this PHP/MySQL forum.

I have seen that there are a lot of people that have the same 500 Internal Server Error problem that i have.

That makes me ask if anyone has succeeded in using php with powweb...

If some one did, please tell me how to do, as i can't find how to make my scripts work....

Thanks

wwuud
1-4-02, 05:30 AM
Virtually *all* of my pages are php-driven. I am on saturn.powweb.com where php_mod is installed (as opposed to the CGI implementation). I have *great* php execution & quite good mySQL access. I haev a copy of PostNuke temporarily housed on my site, running like a champ.

Oddly enough for all of the problems experienced here, i also have a copy of PHP running on my in-home web server (Garrison - an old Dell XPS Pentium-150 w/80meg.ram & 1.2gig HD, serving up pages through Xitami server, PHP, MySQL, sharing a PCI aDSL modem to the rest of the house & running SETI@home all at the same time!). Except for a bug in Xitami that prevents $PHP_SELF from being set properly, i can develop scripts on that server & transfer to other sites that i develop on PowWeb, OLM, Superb & the university's server with very little modification.

None of the open source scripts that i have used have required much tweaking to get them to run here. So, if you aren't on one of the servers with php_mod installed, contact tech support and ask to be moved or to have the same level of support as those of us on saturn! (oops, is that rabble-rousing???)

Peace,
- Earl

jbenalluch
1-4-02, 08:47 AM
I also have a testing web server for my pages, with php ( ./configure --with-apxs --with-mysql ) and mysql installed. I have not had any problems with them so far...

I am actually on terra.powweb.com, and i think they are running the cgi-php....

should i ask Powweb to move me from terra to saturn or some server that has php mod installed?

Starr
1-4-02, 10:58 PM
We won’t move you.

In the very near future, those on Saturn will have to convert their PHP to the CGI version.

jbenalluch
1-5-02, 09:24 AM
starr, i find very problematic having to add everytime the top line #!/usr/local/bin/php on each of my php files, as i have a bunch of them.

I have read around the boards that it was possible to add directives to the .htaccess file to avoid doing so.

For those who are already on a php/cgi mod, what would be the directive to add in the .htaccess files for us to avoid to have to put the top lines in each file?

If that is possible, then i think it would be very useful publishing it in the FAQs, which would avoid the endless trouble to get the most scripts working (i spent two days before i could get this script to work:

<?php
echo "this is a test to see if it is working";
?>
)

I think it would also be interesting to post in the FAQs the fact that you have to upload your php files in ASCII mode.

Thanks for your attention

jtucker135
1-17-02, 01:19 AM
Even more of a problem than adding and trouble shooting !#usr/local/bin/php is chmodding every time you upload a file. Has anyone been successful with a kind of .ftprc that sets default file permissions?