View Single Post
Old October 21st, 2006, 9:22 PM   #1 (permalink)
jaeSun
Registered User
Comfy Contributor
 
Joined in Jun 2004
Hosted on Sync
231 posts
Gave thanks: 3
Thanked 0 times
php5 only servers?

does surpass have servers with only php5?

apparently, when you use php on the servers (at least mine) that has both php5 and php4, if you run php5, you cannot change local settings (register globals, etc etc). thi sis because with php5, it runs as CGI compiled, and you cannot use php.ini to change the settings. you can either live without it, or use php4

Looks like the phpsuexec implementation is a little premature, as it has already presented problems.

running php5, I cannot even start a session. it tries to write the session file to /tmp , but running as phpsuexec, I am running under my own user name, and it is forbidding me write access to that directory. I cannot change where sessions write their files because I am unable to change any settings with thephp.ini file (phpsuexec already disables changing settings using .htaccess)

I suggest surpass disable the use and advertisement of php5 +php4. its implementation is premature. I'd be scared to run php5 right now, as register_globals is on, and I am unable to change any settings. I cant even start a session.

Quote:
Originally Posted by Amal SH Server Admin
Unfortunately, when a server is compiled with php 4 + 5, you cannot edit the local setting of php5 when it is compiled as CGI. Only option you have is to switch to php5 only server or to switch to php compiled as module.
__________________
www.whiteAzn.com

Server: VPSsomething
IP: 66.7.200.42
jaeSun is offline   Reply With Quote