icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Surpass Customers » The Sofa » Discuss [Big Changes] New servers installed with PHP5/MySQL5

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old January 18th, 2008, 4:12 PM   #1 (permalink)
Searcher
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Orlando
24,699 posts
Gave thanks: 943
Thanked 806 times
Discuss [Big Changes] New servers installed with PHP5/MySQL5

__________________
Follow Surpass on Twitter and Facebook
Check out interesting finds on the Surpass Blog
.... it's coming.


Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 18th, 2008, 4:28 PM   #2 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Lives in N,BC,CA
8,058 posts
Gave thanks: 48
Thanked 129 times
I'd like to say this happened like 2 years too late... but oh well.

Does the php.ini thing mean people actually have full control over the configuration of PHP on their account?
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 18th, 2008, 4:33 PM   #3 (permalink)
Searcher
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Orlando
24,699 posts
Gave thanks: 943
Thanked 806 times
Full, not as in go crazy and take over the server with your c0dez, but full as in: we previously controlled PHP configuration largely by files that orchestrated all accounts on the server at once. It looked a lot like this, you could say!



Now we are focusing more on the unique needs of each user and ready to help them with more customization. Could this cause problems on the new servers? That's ALWAYS a concern. So far everything looks ok!
__________________
Follow Surpass on Twitter and Facebook
Check out interesting finds on the Surpass Blog
.... it's coming.


Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 18th, 2008, 4:39 PM   #4 (permalink)
Searcher
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Orlando
24,699 posts
Gave thanks: 943
Thanked 806 times
There are some things I am still trying to figure out myself though.
I thought with PHP5 if you place the php.ini file in public_html, it sets those rules for all other folders. Apparently with the WordPress issue earlier, that isn't so. It seems any folder can have it's own version of the file.

But isn't that a GOOD thing?
__________________
Follow Surpass on Twitter and Facebook
Check out interesting finds on the Surpass Blog
.... it's coming.


Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 18th, 2008, 4:50 PM   #5 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Lives in N,BC,CA
8,058 posts
Gave thanks: 48
Thanked 129 times
Actually, I'm seeing the full configuration thing as something good. I'm sure by default it uses a Surpass provided one, correct? (mt) does this and it was pretty sweet that I could disable some of the nasty things like magic_quotes, register_globals, etc... And it's the worst when someone decides to change the configuration, totally messing up your site because it depended on a function that was disabled. Good news for those that still use PHP.
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 18th, 2008, 4:51 PM   #6 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Lives in N,BC,CA
8,058 posts
Gave thanks: 48
Thanked 129 times
Quote:
Originally Posted by Kayla View Post
There are some things I am still trying to figure out myself though.
I thought with PHP5 if you place the php.ini file in public_html, it sets those rules for all other folders. Apparently with the WordPress issue earlier, that isn't so. It seems any folder can have it's own version of the file.

But isn't that a GOOD thing?
It can be good yeah... Harden your php.ini globally and then open up other stuff as needed on a folder basis.
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 18th, 2008, 5:05 PM   #7 (permalink)
Surpass Developer
On a golden path...
 
Mark's Avatar
 
Joined in Jan 2004
Lives in Florida
Hosted on decc.surpasshosting.com
493 posts
Gave thanks: 17
Thanked 76 times
No more remote includes exploits by default yay!
__________________
Mark
Surpass Hosting Developer
sɹnoʎ uɐɥʇ ɹǝʇʇǝq sı bıs ʎɯ
Mark is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 19th, 2008, 3:00 AM   #8 (permalink)
Race Surpass
Super #1
 
MarkRH's Avatar
 
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,219 posts
Gave thanks: 18
Thanked 86 times
I had them change the behavior on my server some time ago to where I could use my own PHP.INI files for PHP5 stuff. Actually, I think my PHP.INI file settings are more secure/efficient than the server's default.. the PHP.INI in my public_html folder does control how php behaves for any php file in any folder of that domain. I have a separate PHP.INI for each one of my subdomains and add-on domains. If I didn't do that, it would use the default server config. One thing I like is being able to make the error_log file be the same physical file for all my domains that way I only have to check that one file for errors being generated from any script.
MarkRH is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 19th, 2008, 5:54 AM   #9 (permalink)
Surpass Fan
Comfy Contributor
 
jdcopelin's Avatar
 
Joined in Feb 2004
Lives in Norfolk, England
Hosted on Pass32
165 posts
Gave thanks: 22
Thanked 18 times
Quote:
Originally Posted by MarkRH View Post
I had them change the behavior on my server some time ago to where I could use my own PHP.INI files for PHP5 stuff. Actually, I think my PHP.INI file settings are more secure/efficient than the server's default.. the PHP.INI in my public_html folder does control how php behaves for any php file in any folder of that domain. I have a separate PHP.INI for each one of my subdomains and add-on domains. If I didn't do that, it would use the default server config. One thing I like is being able to make the error_log file be the same physical file for all my domains that way I only have to check that one file for errors being generated from any script.
Any idea how they accomplished these things?

I would really like a single php.ini file in the public_html folder to control the sub-folders of that domain. So far I haven't found a way to do that.

Also, having just the one error_log file sounds good, it would save so much time trawling through every users cpanel to check for errors... although in my current set-up I sometimes get error_log files created in the directory of the php file that got the error (rather than in the cpanel error_log) which can be a problem during development. Never found a way to stop this - from what I've read it is a drawback of using phpsuexec.

Any ideas?

Cheers
Jonathan
__________________
Server: Pass32 and dedicated server
jdcopelin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On