Jump to content

[SOLVED] ZendFramework - How do i install?


sayedsohail

Recommended Posts

hi everyone,

 

I am new to programming world, started using phpmailer but this doesn’t support ssl with php, so someone advised me to use zendframe. I downloaded the latest ZF zip file, it has got loads of libraries including to create pdf documents. But i am not sure how to install zendframe work on my server and use some of its libraries ie., pdf generation and zendmail.

Link to comment
Share on other sites

OK. Ive never used or even looked at the framework, but just from your last comment I can guess that you need to unpack the zip file somewhere, then edit the include_path directive within your php.ini to cover the directory you just unpacked the framework into.

Link to comment
Share on other sites

Ok. Firstly, did you restart Apache once you changed the php.ini?

 

What is the full path to the libraries belonging to the ZendFramework? Where di you unpack it?

 

Also, can I see your include_path setting from your php.ini.

Link to comment
Share on other sites

million thanks,

 

I am on a windows platform, apache and php5, and here is the part of my php.ini.

 

I have unpacked the zendframework under htdocs/library/zend/, well did the restart aswell.

 

; Paths and Directories ;

;;;;;;;;;;;;;;;;;;;;;;;;;

 

; UNIX: "/path1:/path2"

;include_path = ".:/php/includes"

;

; Windows: "\path1;\path2"

;include_path = ".;c:\php\includes"

 

; The root of the PHP pages, used only if nonempty.

; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root

; if you are running php as a CGI under any web server (other than IIS)

; see documentation for security issues. The alternate is to use the

; cgi.force_redirect configuration below

doc_root =

 

; The directory under which PHP opens the script using /~username used only

; if nonempty.

user_dir =

 

; Directory in which the loadable extensions (modules) reside.

extension_dir ="C:\Program Files\PHP\ext"

Link to comment
Share on other sites

I have unpacked the zendframework under htdocs/library/zend/

 

That doesn't help, especially considering your on windows. The path you posted is a *nix path, windows uses \.

 

I also need the FULL path. Something like....

 

C:\www\htdocs\library\zend

Link to comment
Share on other sites

hi genius, if you see closely both unix and windows default include paths are stated in my php.ini  above

 

Are you having a go at me or what? The examples in your ini file are just that, examples. See how they are commented out?

 

Add the following line to your php.ini then restart your server.

 

include_path = ".;C:\apache\htdocs\library\zend"

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.