using zend framework with the existing apache server that is without using zend server - zend-framework

I want to learn zend framework.
I followed a tutorial which showed a folder structure and i created like that with index.php in web_root folder.
http://www.phpeveryday.com/articles/Zend-Framework-Intro-Creating-Controller-P474.html
I have copied the Zend folder into the library folder of my application as mentioned in the tutorial. i downloaded the minimal version of zend.
Here is my folder structure
in the htaccess the redirection is set to index.php
Do i have to use zend server to run this app?
Can i use the apache which comes with xampp bundle?

Do i have to use zend server to run this app?
No.
Can i use the apache which comes with xampp bundle?
Yes.
See https://encrypted.google.com/search?q=setup+xampp+zend+framework

No you do not have to use zend server to use zend framework, you can run your application using apache web server.

Related

Installation and setup issue in YII2 framework

I am trying to install yii2 basic application and deployed it in weblogic wls10.3.6 server but i am getting the following error i can see in app.log
2017-09-04 11:34:06
[192.168.1.5][-][-][warning][yii\log\Dispatcher::dispatch] Unable to
send log via yii\debug\LogTarget: Exception 'Exception' with message
''yii\web\session_status' is an unknown function.'
in Env.java:6904
Stack trace:
As a result web page is coming blank.
Kindly help me in setting up the yii2 base application in wls server.what parameters do i need to set up and pointer or instructure will reply help me.
I have followed the steps given in installation doc through yii framework site.
Thanks in Advance
To deploy PHP application on Weblogic , you need to use any PHP java bridge.
1.PHP Java Bridge
http://php-java-bridge.sourceforge.net/pjb/
Quercus
http://quercus.caucho.com/quercus-3.1/index.xtp
steps to run the Yii project in weblogic with PHP 5.6 and latest Quercus
Download and Install WAMP or PHP 5.6 independently and add the PHP installed location in PATH environmental variables in windows, so php will work in command prompt
Open command prompt and navigate to your project folder then Run the following command to create Yii application using PHP 5.6
yiic webapp path/to/directory
reference :
http://www.larryullman.com/2009/10/31/getting-started-with-the-yii-framework/
Copying the existing Yii project files to your new project folder as per folder structure.
Download Quercus 4.0.38 war file from http://quercus.caucho.com/
Unzip the Quercus war
Move the META-INF , WEB-INF folders and web.xml file from Quercus to your project root folder location
Download and install latest Java run time environment (Java JDK 1.8)
Create new domain in Weblogic server with referencing Java JDK 1.8
Deploy the application in Weblogic under newly created domain using weblogic console

Scala and play 2 framework hosting what are the requirements

I am new to scala and play 2 framework and would like to know if they can be hosted on a webhost that has Tomcat, JSP, and Java Servlet hosting. I would obviously include the scala files.
Per the documentation, all you need on your server is JRE6 or later. Play does not use Tomcat, JSP or Java Servlets. Play will create a standalone distribution for you with the play dist command. Copy that to a server with Java installed and you're ready to go.
https://www.playframework.com/documentation/2.3.x/ProductionDist

Failed to deploy zend application on Elastic Beanstalk

I need help for deploy my aplication into Elastic Beanstalk.
So far, I only want deploy the sample provided by Zend, without BD, services, etc. (base squeleton aplication).
I have followed these steps:
Enter into Elastic Beanstalk console (without application).
Create a PHP 5.4 enviroment.
Change in (Edit/Load Configuration -> Container Tab): Document Root= \public
Clicked "Upload New Version" and configure for deploy to existing enviroment (Default).
Important:
The File uploaded is a .Zip File of the base skeleton path.
My project has been developed under Windows and use xampp with PHP Version 5.4.7.
I used Eclipse for develop, I don't have Zend Studio.
After uploading, a event error is showed (Failed to deploy application version).
What am I being wrong? or what steps missing for do it well?
I put zend folder on LIBRARY inside project
/projectfolder/library/
works for me

How to install zend framwork on Xampp version 1.7.1 in windows7 eternity

I have downloaded ZendFramework-1.11.11 and it has been extracted and then there is zend folder inside library folder of ZendFramework-1.11.11.And then it is copied and paste in the htdocs of xampp. My Xampp version Xampp win32 1.7.1 or Xampp win32 1.7.7
And Then what to do.To check in browser how to check,like localhost/myzendproject/test1.php
I need step by step guide.And also in test.php what to write for checking and in browser what will be URL.
I need your hand. Pls, guied me step by step
Thank you
The Zend Framework Quickstart walks you through downloading Zend Framework, setting up the include_path in PHP, creating a ZF project, and creating a virtual host in Apache to map to your newly created Zend Framework project.
I'd start there and if you get stuck in a particular spot, we're happy to help.
Installing Zend framework does not depend on the system where it will run. Follow the following article for the correct walk-through. It denotes every actions needed to get started.
Installing Zend Framework On Windows

Is there a tutorial out there to demonstrate developing web services using metro and tomcat

I've been given an assignment on working with web services using metro and tomcat. I'm aware that other JAX-WS implementations and containers exists, but I'm required to use those technologies.
I'm trying to find a straightforward tutorial on developing web services with metro and tomcat using eclipse. I found this, http://metro.java.net/guide/Developing_with_Eclipse.html. I changed the glassfish steps to use Tomcat instead, but when I run it, I get a 404. I'm guessing my issue has to do with Step 2. I create a new class, but is there something different I should be doing? Thanks!
This requires you to
copy webservices-api.jar from the metro lib to the endorsed folder in your jre/lib
copy webservices-api.jar from the metro lib to the endorsed folder in your tomcat directory
modify catalina properties' shared.loader=%METRO_HOME%/lib/*.jar
This should take care of your issue.
Thanks
Ramesh