sayedsohail Posted August 29, 2007 Share Posted August 29, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/67248-solved-zendframework-how-do-i-install/ Share on other sites More sharing options...
trq Posted August 29, 2007 Share Posted August 29, 2007 Surely it comes with instructions? Quote Link to comment https://forums.phpfreaks.com/topic/67248-solved-zendframework-how-do-i-install/#findComment-337351 Share on other sites More sharing options...
sayedsohail Posted August 29, 2007 Author Share Posted August 29, 2007 I knew the instructions said something to do with php.ini include path etc and if its so simple for me, than i never would have asked here? Quote Link to comment https://forums.phpfreaks.com/topic/67248-solved-zendframework-how-do-i-install/#findComment-337377 Share on other sites More sharing options...
trq Posted August 29, 2007 Share Posted August 29, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/67248-solved-zendframework-how-do-i-install/#findComment-337383 Share on other sites More sharing options...
sayedsohail Posted August 29, 2007 Author Share Posted August 29, 2007 i tried that and it doesn't work for me and scared to do any further changes and also googled for an hour but there is no clear or simple instructions, thus i came to this forum for some help. Quote Link to comment https://forums.phpfreaks.com/topic/67248-solved-zendframework-how-do-i-install/#findComment-337401 Share on other sites More sharing options...
trq Posted August 29, 2007 Share Posted August 29, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/67248-solved-zendframework-how-do-i-install/#findComment-337405 Share on other sites More sharing options...
sayedsohail Posted August 29, 2007 Author Share Posted August 29, 2007 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" Quote Link to comment https://forums.phpfreaks.com/topic/67248-solved-zendframework-how-do-i-install/#findComment-337409 Share on other sites More sharing options...
trq Posted August 29, 2007 Share Posted August 29, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/67248-solved-zendframework-how-do-i-install/#findComment-337415 Share on other sites More sharing options...
sayedsohail Posted August 29, 2007 Author Share Posted August 29, 2007 hi genius, if you see closely both unix and windows default include paths are stated in my php.ini above and in regards to the second question, the path to the zend libraries is, sorry for my typo errors. C:\apache\htdocs\library\zend\ Quote Link to comment https://forums.phpfreaks.com/topic/67248-solved-zendframework-how-do-i-install/#findComment-337420 Share on other sites More sharing options...
trq Posted August 29, 2007 Share Posted August 29, 2007 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" Quote Link to comment https://forums.phpfreaks.com/topic/67248-solved-zendframework-how-do-i-install/#findComment-337424 Share on other sites More sharing options...
sayedsohail Posted August 29, 2007 Author Share Posted August 29, 2007 Sorry i don't mean that, apologize for my typos, thanks for your help. Quote Link to comment https://forums.phpfreaks.com/topic/67248-solved-zendframework-how-do-i-install/#findComment-337427 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.