Go Back   Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum > Support > php issues.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-10-2007, 07:28 AM
kev woodman's Avatar
Premium Member
 
Join Date: Jul 2006
Location: Newport, Wales, UK.
Posts: 1,494
Default PHP Include Path

I'd like to have a play with the Zend Framework but the libraries need to be installed somewhere in the PHP include path. Is there any way I can get access to one of these locations on my reseller account? Or can I add a location?
__________________
homo sum: humani nil a me alienum puto ... ( just Google it )
Reply With Quote
  #2 (permalink)  
Old 07-10-2007, 10:56 AM
Administrator
 
Join Date: Mar 2006
Posts: 1,702
Default

If you need to do this for a limited period then I can provide you with a VPS for a month or two to implement what you are looking to do.
__________________
Web Hosting UK - ASP MSSQL Hosting - cPanel Linux Hosting
AIM : webredback || msn : andrew @ webhosting.uk.com
Toll Free : 0808 262 0855
Reply With Quote
  #3 (permalink)  
Old 07-10-2007, 11:03 AM
kev woodman's Avatar
Premium Member
 
Join Date: Jul 2006
Location: Newport, Wales, UK.
Posts: 1,494
Default

Thanks very much for the offer but that's a bit over the top really plus if I then developed some stuff with it I wouldn't want to be stuck with having to get a VPS.
__________________
homo sum: humani nil a me alienum puto ... ( just Google it )
Reply With Quote
  #4 (permalink)  
Old 07-10-2007, 02:08 PM
Administrator
 
Join Date: Mar 2006
Posts: 1,702
Default

Quote:
Originally Posted by kev woodman View Post
Thanks very much for the offer but that's a bit over the top really plus if I then developed some stuff with it I wouldn't want to be stuck with having to get a VPS.
We can work out something else. please check my PM.
__________________
Web Hosting UK - ASP MSSQL Hosting - cPanel Linux Hosting
AIM : webredback || msn : andrew @ webhosting.uk.com
Toll Free : 0808 262 0855
Reply With Quote
  #5 (permalink)  
Old 07-10-2007, 04:36 PM
Senior Member
 
Join Date: Feb 2007
Posts: 110
Default

If it is for a single site you could just stick the following in the bootstrap file:

Code:
set_include_path('..' . PATH_SEPARATOR . '../library'
                      . PATH_SEPARATOR . '../application/models'
                      . PATH_SEPARATOR . get_include_path());
Or do you want it in one location and all websites on your reseller account to have access to it? Personally I am installing it on each site as that way I can upgrade it on a site by site basis so I can test each to see if they are affected by the new version.
Reply With Quote
  #6 (permalink)  
Old 07-10-2007, 04:39 PM
Senior Member
 
Join Date: Feb 2007
Posts: 110
Default

I forgot to add that if you need a tutorial I found this very effective when I was learning it: http://akrabat.com/zend-framework-tutorial/
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
Forum Jump


All times are GMT. The time now is 04:33 AM.
Copyright 2002-2007 WebHosting.uk.com. All rights reserved.
Web Hosting UK Forum