Your HostICan Community  


Go Back   Your HostICan Community > HostICan Web Hosting > Virtual Private Servers (VPS)

Virtual Private Servers (VPS) Need help with your VPS plan on HostICan? Please feel free to ask and we'll give you the answers!

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-07-2007, 05:05 PM
securitywonks securitywonks is offline
Junior Member
 
Join Date: Oct 2007
Posts: 7
Default about php.ini in every folder

Hello All

I like to have ioncube enabled in my website,

do I copy php.ini file in every folder?

currently, when I am using a ioncube tester, I found that, whichever folder, i keep the tester file and check, it is showing correctly (that ioncube is installed) only when php.ini file is in that folder.

is there, any way to have php.ini in single place for whole website instead of placing it in every folder?

--------------
I like to have SAFE_MODE turned OFF. I had turned off the setting in php.ini file, and copied in few folders. it shows as turned off in phpinfo (in the location where php.ini is located).

can we turn off SAFE_MODE under site to site or on server level configuration ?

-------------
I like to have session.save_path WRITABLE, please help

I had enabled the setting in php.ini file and uploaded to few locations, it's not working, please help,

thank you
Reply With Quote
  #2  
Old 10-07-2007, 05:17 PM
lnxcode's Avatar
lnxcode lnxcode is offline
The British Kid
 
Join Date: Sep 2007
Location: Richmond, VA
Posts: 1,906
Send a message via AIM to lnxcode Send a message via Skype™ to lnxcode
Default

Hello,

If you're running your apache as CGI, and you have a custom php.ini file, the file you need to have updated php in, yes, you will need to place a php.ini file.

This is one of the downsides of PHP as CGI, but the upside is you don't have to worry about nobody files.

If you update your /usr/local/Zend/etc/php.ini file that is the global php.ini for the entire server unless you have a custom php.ini in your file (the custom will overwrite the main file).
__________________
Thanks,

Denis Motova
Affiliate / Operations Manager

HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket.
Reply With Quote
  #3  
Old 10-07-2007, 05:24 PM
securitywonks securitywonks is offline
Junior Member
 
Join Date: Oct 2007
Posts: 7
Default

so, writing the settings in the main server side php.ini file, things work by default and incase if some option is not useful in that way (in particular website, we can use custom php.ini for that website right) ?

---------
please share your thoughts on SAFE_MODE and session.save_path (whether making this setting writable in global php.ini good for us? or setting it as local setting will do good, if it is local setting, is it ok to keep in root directory of website or in all directories?)

thank you
Reply With Quote
  #4  
Old 10-07-2007, 05:40 PM
lnxcode's Avatar
lnxcode lnxcode is offline
The British Kid
 
Join Date: Sep 2007
Location: Richmond, VA
Posts: 1,906
Send a message via AIM to lnxcode Send a message via Skype™ to lnxcode
Default

Well, thats a personal choice if you want to disable safe_mode on your VPS. Its off by default, so not sure. It just depends on what you want to do. Since you're the sys admin.

I would leave it like it is setup, since if its working and you try to fix it, you could end up breaking it which would cause more problems for you.

You can set the file thats fine to /tmp that should work no problems (for the session.path).

Overall, if the user doesn't need it, better only enable it when someone needs it. Less risk then.
__________________
Thanks,

Denis Motova
Affiliate / Operations Manager

HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket.
Reply With Quote
  #5  
Old 10-07-2007, 05:50 PM
securitywonks securitywonks is offline
Junior Member
 
Join Date: Oct 2007
Posts: 7
Default

thanks for the info

cheers
Reply With Quote
Reply

Tags
folder, phpini

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Purchased Domains to Folder Redirection in My Account Not Anthony Shared Hosting 2 04-07-2008 05:52 PM
Need to reset of Hosting Account ??? james Shared Hosting 2 01-03-2008 06:36 PM
php.ini in root folder? Dasani Shared Hosting 4 12-23-2007 05:21 PM
RMS Installation Help brown7477 Virtual Private Servers (VPS) 2 11-11-2007 04:52 PM
Overiding server wide php.ini whm_newbie Virtual Private Servers (VPS) 13 10-23-2007 11:49 PM


All times are GMT -4. The time now is 04:39 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

Copyright © 2003 - 2008 HostICan. All Rights Reserved.