Reseller Hosting, Shared Hosting, Dedicated Hosting by Vortech Inc.

Go Back   Reseller Hosting, Shared Hosting, Dedicated Hosting by Vortech Inc. > >> General Public > Chit Chat Public
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Chit Chat Public Talk about any thing you want! This forum is public.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-13-2002, 06:43 PM
admin's Avatar
admin admin is offline
Vortech Inc. Owner
Owner
 
Location: Orlando FL
Send a message via ICQ to admin
Custom PHP.INI here

--- EDITED BY: Bladesnitz on June 5, 2003 ---
The custom php.ini file is no longer required for mail on Windows servers. They are now set to use the default SMTP of 'localhost' when using the mail() function in PHP. You are still able to use your own custom php.ini, but it is not necessary to set it up yourself to allow sending mail.
---------------------------------------------------------


If you have some settings you would like in php.ini and we will not do it server wide for some reason.. You can put a php.ini file in your web root and the server will use that one.

Here is a copy of a simple php.ini file.

NOTE: If your on windows use this php.ini and place it in your domain.com dir. also edit the smtp to mail.yourdomain.com or mail1.yourdomain.com and mail will work fine.

I have updated the PHP.ini to 4.3.1 now 3/31/2003
Attached Files
File Type: txt php4.3.1.txt (27.5 KB, 155 views)

Last edited by Bladesnitz : 06-05-2003 at 02:22 AM.
Reply With Quote
  #2  
Old 09-23-2002, 03:43 PM
another_one
Guest
 
Server Root

I have totally understand the PHP.INI thing.

But can you please tell me where should I put that .ini file?

You have said "in the web root".

If I have the following:

/hsphere/local/home/domain1.com
/hsphere/local/home/sub1.domain1.com
/hsphere/local/home/sub2.domain1.com
/hsphere/local/home/domain2.com

Then where should put the file??


Please HELP!!
Reply With Quote
  #3  
Old 09-23-2002, 03:49 PM
admin's Avatar
admin admin is offline
Vortech Inc. Owner
Owner
 
Location: Orlando FL
Send a message via ICQ to admin
In each of them in the domain.com dir. You need to put the php.ini in each dir as each site is run with the php.ini file.
Reply With Quote
  #4  
Old 09-23-2002, 04:03 PM
another_one
Guest
 
Next Question

Pleas let me clear, ...have mean to say I should put it on every main domain?? Or every main domain, as well as any sub-domains.

Please HELP!!


Note## I have send you an email regarding Vortech redesign. Please check it out. Sorry to say about it here.
Reply With Quote
  #5  
Old 10-01-2002, 10:26 AM
gadget
Guest
 
[never mind]

[deleted]

Last edited by gadget : 10-01-2002 at 11:05 AM.
Reply With Quote
  #6  
Old 02-03-2003, 04:36 AM
dwhite dwhite is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
Admin, Thank you for posting this. Doing it this way is really the safest way to do it and still allow some flexibility in a shared hosting environment. Kudos!
__________________
Regards,

Dan W.

Sign over a SysAdmin's desk: "Just because you are paranoid, doesn't mean they are not out to get you!!"
Reply With Quote
  #7  
Old 03-12-2003, 02:22 PM
awishstar's Avatar
awishstar awishstar is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
Location: Irvine, CA
I'm copy this file into my web root and uncomment GD extension in there, but now I can't access any php pages. Can anyone help?

Few more questions:
1. What version of GD is install on Windows?
2. Do we need to change the extension_dir?
3. GD is standard on php 4.3.1, do we still need to download the dll and change the extension_dir?
4. Shouldn't it be gd2.dll not gd.dll?

I'm very new at these stuff so any help would be appreciated.
__________________
AwishStar
Reply With Quote
  #8  
Old 03-31-2003, 12:11 AM
usher usher is offline
Inactive user
Junior Member
 
Location: Nashua, NH
Had the same issue. I removed the file and everything worked.

Do you think you could post a copy of the one that is actually running on the server so we have a good baseline that we know everythings runs well on then we can edit the mail and other specific features?

Thanks
Reply With Quote
  #9  
Old 03-31-2003, 12:33 AM
admin's Avatar
admin admin is offline
Vortech Inc. Owner
Owner
 
Location: Orlando FL
Send a message via ICQ to admin
Updated the php.ini file to 4.3.1
__________________
Brad Pugh
http://www.vortechhosting.com
------

Local System/Network Monitor
http://nagios.hsphere.cc/
Login:guest Pass:guest
XML FEED http://nagios.hsphere.cc/feed.xml
------

My Other Life:
Reply With Quote
  #10  
Old 03-31-2003, 05:59 PM
Theoddity Theoddity is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
We are on Unix and we are trying to put this file in both the "/" root directory as well as the "domain" directory and neither work for us. Do we need to place this in another directory. (We ask because you've switched magic quotes again and all our scripts are funky.)
Reply With Quote
  #11  
Old 03-31-2003, 07:36 PM
landiserve
Guest
 
Unix accounts do not work with custom php.ini, what do you need modified?
Reply With Quote
  #12  
Old 03-31-2003, 07:43 PM
Theoddity Theoddity is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
Magic Quotes used to be "off". All our scripts for our sites are based on this. Recently, magic quotes turned "on". We actually like that them being on, but now we have to go through all our sites changing our scripts. Please keep it one way or the other, because we've gone through this several times now since hosting with you (since the beginning). If it's going to be "on" make sure it will always stay "on" so that we don't have to keep changing all our scripts with each upgrade.
Reply With Quote
  #13  
Old 03-31-2003, 07:58 PM
admin's Avatar
admin admin is offline
Vortech Inc. Owner
Owner
 
Location: Orlando FL
Send a message via ICQ to admin
Theoddity, not trying to be a smart as but have you ever put in a ticket for the server with it off.. It should be on all of our systems as far as I know.
__________________
Brad Pugh
http://www.vortechhosting.com
------

Local System/Network Monitor
http://nagios.hsphere.cc/
Login:guest Pass:guest
XML FEED http://nagios.hsphere.cc/feed.xml
------

My Other Life:
Reply With Quote
  #14  
Old 03-31-2003, 08:13 PM
Theoddity Theoddity is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
Back in October, we placed a ticket about GD, but only posted the magic quote problem. Admin, you told me to run a custom php.ini file in http://www.matrixwebhosting.net/foru...&threadid=525. We tried that, it didn't work and didn't have the time to mess with it, so we just changed our script to reflect magic quotes off. We just adapted to your system at that time and it all laid dormant until a client recently used our backend system again only to discover that magic quotes are back on. I just want to make sure that we don't run into this again if we have no way of customizing php.ini files on unix systems. Thanks.
Reply With Quote
  #15  
Old 03-31-2003, 08:15 PM
Theoddity Theoddity is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
BTW, I don't want magicquotes off. We can change our scripts for it being "on" since that's preferrable. I only want to make sure it stays on.
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
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
All Windows Servers johnk Network / Server Status 6 11-23-2003 03:44 PM


All times are GMT -5. The time now is 04:33 AM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Vortech Inc. ©2005
Page generated in 0.64067 seconds with 20 queries
[Output: 105.68 Kb. compressed to 96.58 Kb. by saving 9.10 Kb. (8.61%)]