Dotable - the home of "No worries" hosting!  
 
Home About Products F.A.Q Network Status Affiliates Support Contact Search Terms
Welcome to Dotable. Dotable currently hosts more than 15,000 domains for clients in all corners of the globe, so we must be doing something right! Dotable is all about people, and without people Dotable would not be where it is today. We value our clients and work hard with them and for them, so they can achieve their online goals. Our client's success is our success. Dotable's staff has more than 40 years of combined experience in hosting. Our products range from single domain hosting, through to fully managed dedicated servers. We invite you to inspect our products from the links below. We're here to serve you so sing out if you need anything. Welcome to Dotable!
Host one domain Multiple domains Reseller accounts VPS accounts Dedicated servers Register domains Backup space
Go Back   Dotable - Dot your Domains > Dotable Knowledge Base > PHP Knowledge Base
Reply
 
LinkBack Thread Tools Display Modes
Old 12th December 2008, 10:03 AM   #1 (permalink)
Senior Member
 
Join Date: Oct 2008
Posts: 631
Default Creating your own php.ini

On our new suPHP servers (the ones without the planet names) every account can have its own php.ini file when using PHP5.

To do this create a php.ini file at /home/<username>/php.ini directory with the php.ini configurations you would like to use. Please note that this will not include any default php.ini's that we provide so you will need to load Zend/Ioncube/etc if you need them.

Once this is created you will need to put the following in your .htaccess file:
Code:
suPHP_ConfigPath /home/<username>/php.ini

If you need to add Zend Optimizer / IonCube add the following to the php.ini:
Code:
extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613"
zend_extension = "/usr/local/IonCube/ioncube_loader_lin_5.2.so"
zend_extension = "/usr/local/Zend/lib/ZendExtensionManager.so"
zend_extension_ts = "/usr/local/IonCube/ioncube_loader_lin_5.2_ts.so"
zend_extension_ts = "/usr/local/Zend/lib/ZendExtensionManager_TS.so"

[Zend]
zend_extension_manager.optimizer = "/usr/local/Zend/lib/Optimizer-3.3.3"
zend_extension_manager.optimizer_ts = "/usr/local/Zend/lib/Optimizer_TS-3.3.3"
zend_optimizer.version = "3.3.3"
Dotable Billy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Go Back   Dotable - Dot your Domains > Dotable Knowledge Base > PHP Knowledge Base


All times are GMT +10. The time now is 11:50 PM.


Home About Products F.A.Q Network Status Affiliates Support Contact Search Terms

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
©2009 Dotable. Part of the UK2 Group.