Zend Framework and Apache - apache

Most of the Zend framework books talk about using the framework with the Zend Server.
Is it possible to use Apache instead and if so is there any major drawback?

Yes it is possible. I suppose the drawback could be that the Web Server is not automatically configured for you, if you don't use a WAMP/LAMP stack like Zend Server.

Of course you can use it with Apache, the only drawback is that you have to configure your environment in order to make ZF work and also to clarify things out Zend Server is an application server not a web server you can think of it as a LAMP stack but you can also choose IIS if your on windows.

Related

Is there any way that I can host .net core API's or .net core web APP on "on premises" server

I wanted to host my .net core API in Go Daddy Linux Server and also .net Core Web APP is there any possibility to do that. Also I have seen lots of tutorials to make that happen in Linux server which is for cloud but doesnt work the same scenario for any another on premises server.
If anyone have this experience or can only suggest that if there is possibility for hosting in the go daddy linux server it will be really helpful
It seems that you need to ask them whether they have support .net core on their Linux hosting package. I ever worked with them in the past 8 years ago, I didn't like their support, but I don't know now, maybe they improve better. If you want to use .net core on Linux, Digital Ocean can be good option. I also .net user here but I always use Windows to deploy my .net. From Classic ASP until newest .net core project, I always use Windows Server.

How to Run my Asp.net Core application on Apache server on Windows?

Asp.net core is open source and run on any os like Linux, Windows and Mac.
my question is. is it possible to run asp.net core application run on apache server publish on not on IIS server on Windows operating system.
thanks in advance.
There is no Apache mod to run ASP.NET Core application, however you can setup Apache or Nginx to be a reverse proxy for ASP.NET Core application running on Kestrel web server. This is actually what Microsoft recommends to do in production environment primarily for security reasons. For more details take a look at this article. To see how exactly configure Apache reverse proxy take a look here.

Web Server to Host my MVC4 Web Application

Hi i'm trying to host an mvc4 web application on a web server and it is not working. Do i need to install something in particular so that it works? And what type of web server is the best for this type of situation?
You will need:
IIS, preferably IIS 7+
.Net installed on the server
make sure the framework is set correctly
Take a look here
if you have all this set up, let us know the error you are seeing.
1)IIS 7.5
2) MVC4 and Framework 4.5 should be installed
3) Also check that in ApplicationPools you set framawork 4.0 for your site (default is 2.0)
It would be better if you show a certain error you receive.
See the following Question... How to deploy an MVC 4 application to a Windows Web Server based dedicated hosting?
It seems incredabily relevant to what you are asking.
Also for future reference read https://stackoverflow.com/questions/how-to-ask before asking questions

Installing Trac as a Windows Service on Windows Server 2008

As the title suggests, I'm trying to install Trac as a Windows Service on Windows Server 2008. I've looked into the instructions at Installing Trac as a Windows Service. Out of the different options given there, I would prefer an Option 1 like approach which uses some Windows utilities instead of installing additional software but the instructions seem a bit outdated for Windows Server 2008 as instsrv.exe and srvany.exe are not available for Server 2008. There is a suggestion to use winserv.exe but I can't find it anywhere and the suggested Google search does not provide any credible results.
Is there a way to use the sc Windows utility to install Trac as a service? Has anyone tried this?
Update: I tried using sc but that does not work. sc only interacts with programs developed as Windows Service Applications so they have hooks to interact with sc.
I could solve this problem using winserv.exe, that can be downloaded from this tutorial page: http://wiki.go-redrock.com/wiki/TechAsService
Once you get the binary file run:
"C:\path\to\winserv.exe" install tracd -displayname "tracd" -start auto "C:\path\to\python.exe" c:\path\to\python\scripts\tracd-script.py <your tracd parameters>
net start tracd
Hope you can solve your problem like I did!
If you just want to easily install Trac on a Windows server, I can recommend Bitnami Trac Stack to you. It comes as 2 services, one for Apache web server running Trac as python module and one for SVN.
Are you restricted to using tracd to host your Trac installation? If you use a real web server, this is typically a bit easier. Web servers like IIS and Apache typically install themselves as a service. If you set up something other than tracd to serve up your Trac site, it will most likely run as a service by default. In general, you'll have a better experience using a full-featured web server like Apache instead of the minimalistic tracd.

Can I use NHibernate SysCache with Non-Web-Application?

I have a Windows Service which is using NHibernate (3) and SQL Server 2008. WPF-Clients are connecting over WCF to this Service for using DataAccess.
My question is now: Can I use SysCache or SysCache2 in this Scenario - or are they only usable in Web-/ASP.NET-Applications?
Yes, it works just fine.
You can use it even in a console app if you want to (provided the computer has the full .NET Framework installed and not just the Client Profile).