Solved

setup zend project in shared hosting

Posted on 2010-11-22
6
614 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 13

Expert Comment

by:LinuxGuru
ID: 34201591
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
ID: 34201598
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
ID: 34224071
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 13

Expert Comment

by:LinuxGuru
ID: 34231378
Hi,

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

Accepted Solution

by:
Rev22only earned 0 total points
ID: 34307182
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
ID: 34333109
I figured it out myself
0

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

732 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