• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 620
  • Last Modified:

setup zend project in shared hosting

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
Rev22only
Asked:
Rev22only
  • 3
  • 3
2 Solutions
 
LinuxGuruLinux Server AdministratorCommented:
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
 
LinuxGuruLinux Server AdministratorCommented:
If you are using any particular control panels like cPanel to manage the server, please let me know.

Cheers !
0
 
Rev22onlyAuthor Commented:
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
Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

 
LinuxGuruLinux Server AdministratorCommented:
Hi,

have you checked the urls in my first reply? are you facing any difficulties?
0
 
Rev22onlyAuthor Commented:
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
 
Rev22onlyAuthor Commented:
I figured it out myself
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now