Solved

setup zend project in shared hosting

Posted on 2010-11-22
6
609 Views
Last Modified: 2012-06-21
Hello,

I have a project developed using zend framework, I want to put that into a shared hosting where zend framework is not installed.

Can you please share step by step instructions on setting this up in a shared hosting environment.

Thank you.
0
Comment
Question by:Rev22only
  • 3
  • 3
6 Comments
 
LVL 13

Expert Comment

by:LinuxGuru
Comment Utility
Hi,

Do you want to install zend frame work for a particular shared account or for the whole server? If you wish to install for the whole server please refer the following url.

http://framework.zend.com/wiki/display/ZFDEV/Installing+Zend+Framework+on+a+Web+Hosting+Provider

http://framework.zend.com/wiki/display/ZFDEV/Installing+Zend+Framework+on+Unix+and+Linux



0
 
LVL 13

Expert Comment

by:LinuxGuru
Comment Utility
If you are using any particular control panels like cPanel to manage the server, please let me know.

Cheers !
0
 

Assisted Solution

by:Rev22only
Rev22only earned 0 total points
Comment Utility
Hi testez,

I want to deploy a zend project in a shared hosting environment. For that I need instructions on how to setup zend framework, like where to place zend libraries and whats the .htaccess file and where to place it and so forth..

Please let me know any other instructions for deploying my zend project.

Thanks
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 13

Expert Comment

by:LinuxGuru
Comment Utility
Hi,

have you checked the urls in my first reply? are you facing any difficulties?
0
 

Accepted Solution

by:
Rev22only earned 0 total points
Comment Utility
Hi

I have Plesk8.1
Links you have provided did not help me.

By trial and error I have made it to work..

Placed the following .htaccess file in my project directory
RewriteEngine On
 
RewriteRule ^\.htaccess$ - [F]
 
RewriteCond %{REQUEST_URI} =""
RewriteRule ^.*$ /public/index.php [NC,L]
 
RewriteCond %{REQUEST_URI} !^/public/.*$
RewriteRule ^(.*)$ /public/$1
 
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^.*$ - [NC,L]
 
RewriteRule ^public/.*$ /public/index.php [NC,L]

Open in new window


2]. Copied zend libraries into my project directory
3]. Added the following lines in the application.ini
includePaths.library = APPLICATION_PATH "/../library"

Open in new window


This worked...
0
 

Author Closing Comment

by:Rev22only
Comment Utility
I figured it out myself
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now