Solved

setup zend project in shared hosting

Posted on 2010-11-22
6
612 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
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

919 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

16 Experts available now in Live!

Get 1:1 Help Now