Zend Studio problem - zend-studio

I installed Zend Studio on Windows 7. When i Start the Program one example project is automatically created. But When i run in browser i get this error :-
Cannot connect to the configuration database.
I think there is no Web server configured for it. Then i downloaded Apache web server and extracted the zip folder. Now how do i link this apache web server to Zend Studio? How do i start Apache Web Server from within Zend Studio? Please let me know anything is not clear.
Thanks in advance :)

Installing Zend Server (there is also a Community Edition) should simplify your work

I think that database is used for the sample project. so not setting it makes no sense.
Just for your need, try installing zend debugger made for apache and configure that.

Do you have a backtrace of where that error is occurring or does it pop up in a Window?

You can start Apache Web Server from Zend Studio by doing below steps.
Open Zend Studio.
Go to Window | Show View | PHP | Server.
Click on New button and Select Local Apache HTTP Server.
Click Next and fill the requested server details.
For details, you can refer: http://files.zend.com/help/Zend-Studio/content/adding_a_php_server.htm
Once the configuration process is successful you can create a PHP project (File | New | Local PHP project) with Apache web server as you PHP Server.

Related

Published .Net Core Web Application to Apache2 Web Server only Showing up as Directory Search

I am currently working on setting up a QA server at my home in order to test applications, and I have run into a bit of an issue. I have attempted to publish my .Net Core 6 website to the server by the following steps:
Publishing the website via Visual Studio, to a local folder. Visual Studio Publishing
Copy the published website over to the server via Filzilla. Filezilla Copy
Unfortunately, when I go to the url I only wind up with a directory search of the published files: Directory Search
The webserver is Apache2, running on Ubuntu Server 22.04. How can I get my website up and running on this QA server, rather than just a directory search?
Thanks in advance for your help!
4L4M1N's comment is correct. The publish files you generated just for windows IIS. not Apache2.
So you need check the official to create .htaccess file, and the webserver will be working.
Reference Video:
How to Deploy .Net Core Web Application to Ubuntu Linux

How to publish Asp.Net core MVC web application on Godaddy's shared web hosting

I have developed an asp.net core 2.1 web application with entity framework core. Now I would like to host the application on my Godaddy's shared web hosting account. I am trying this with FTP but it is not working. Does anyone has solution for this?
Is there any error message that you see? The following is steps to publish your application:
Please open your project with Visual Studio tool
On the Solution Explorer windows (which is normally located on the top right hand corner of the VS tool), right click your project and select Publish
Please kindly publish it to a local folder, such as C:\Project
Please just upload whatever files/folders you see on C:\Project to the server via FTP and your site will work fine.
Important NOTE:
If you are using Visual Studio 2015 or later version, the publishing step may look a bit different.
Please open your website project with Visual Studio 2015. They may have been a pre-set .NET version on your project.
Then, please go to the Solution Explorer, Right Click the project and select "Publish Web App" website. Please select "FTP" as the deployment method
Please hit Publish
You can also read this documentation http://windows2008hosting.asphostportal.com/post/Cheap-ASPNET-MVC-3-Hosting-ASPHostPortal-How-to-Deploy-an-ASPNET-MVC-3-App-to-Web-Hosting-with-5cbin-Deployment.aspx. I use this tutorial to deploy my previous MVC. :)
From what I found on GoDaddy forums, do correct me if I'm wrong, GoDaddy doesn't support .NET Core on shared hosting yet. I believe Plesk Onyx will support this (mine is still on Odin) and after a conversation with GoDaddy customer service, they don't have a date for the upgrade yet.

Login into my deployed Umbraco back office is causing "An error has occurred.". How do I find out what is wrong?

I have deployed my Umbraco installation by using Visual Studio and the regarding nuget package version 7.4.1 and I am using Azure DB as a back-end. When I try to login I get the following message:
The logs in the folder "/site/wwwroot/App_Data/Logs/" do not show anything. Using http or https does not make any difference.
When I start Umbraco from within Visual Studio (connected to my Azure DB back-end) in debug mode the login works perfectly:
How can I find out what the issue is?
Connecting to the backend with Open Live Writer helped me to unveil a detailed error message. By mistake I have deleted one of the caching folders (App_Data\TEMP\PluginCache).

How to Publish an Umbraco Intranet?

I have just completed an Umbraco intranet using WebMatrix. Now I want to publish it to our server so that everybody can see and use it. WebMatrix can only do Web Deploy or FTP, so I opened the project in Visual Studio 2013 to publish it there. I was able to publish it to my desktop, where I have attempted to get it running here before uploading to the server. So in IIS I 'Add a Website' and set up the project, using port 101. I tried it both on my desktop and then moved it to wwwroot and in both cases IE says 'This page can't be displayed'. I am using the CE database with Umbraco 7.2.4.
Help please. I've been at this for days now.... I've tried the umbraco forum and google and got nowhere. :(
Tony
If you have remote desktop access to your web server, you don't actually need to rely on web publishing. You can just build the website in release mode, and then copy all the folders from the web project onto the webserver.
On the web server you can manually set up an IIS website and set up host names etc. You shouldn't need to deploy it using visual studio, this way is much safer
In IIS, you should set up a new website, using port 80 on your HTTP binding.
From the sounds of the error, IIS is not looking at the right physical path.
You should use the Microsoft guide on How to set up your first IIS Web Site as a starting point.

What's the easiest way to deploy an ASP.NET MVC 3 project to Windows Server 2003?

Is there some kind of deployment wizard I can run and have it install just the things it needs to run right onto the server end point? Do I have to build the project using VS2010 on the server? If I can't get this thing deployed today I am really going to be screwed.
IIS 6 is there and I think .NET 4 is installed (I tried installing it from Microsoft and they had me install a million things like VS2010 express and SQL Server and all this other crap, the install failed but .NET 4 does show up in IIS).
I achieved this by enabling an FTP site for the IIS server website and using this to deploy the web application within visual studio 2010 which will build and deploy just the changed files for each build. Works very well. You can even add a Publish toolbar to help deploy regularly more easily.
All you have to do is install the .NET Framework 4.0 (32 / 64 depending on build) and run aspnet_regiis.exe in the Framework folder.
For me this is located here:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe
Hope this helps!
You can also use the publish command from VS 2010 to save it to the filesystem and then copy the files into an IIS site on the target server. Just map a network drive to X: or something (for your sites root) and publish directly to the share.
You can take a look at Web Deployment projects or even the VS "Publish" feature
From the Build menu in VS2010, just click Publish [name of your web project] and enter the location on your web server where the site is going to be hosted.
VS2010 will publish the files required there.
It shouldn't be necessary to install VS2010 Express, just to deploy a site. But if .Net 4 and ASP.NET MVC 3 is installed, you should be able to deploy. Right click the web app in VS2010, and hit Publish.
Remember to set the configuration to Release!
But, with IIS 6 you could be in for a fight in regard to HTTP Modules, Handlers and other server configuration. Anything inside your Web.config's system.webServer section will always be ignored by IIS 6.

Resources