I am new in symfony2.1. I am using wamp server (apache 2.2.22 and php
5.3.13). I have configured everything properly for symfony2.1. but
problem happen when I am trying to retrieve data from database or submit .
Sometimes its work properly but sometime it doesn’t work and hangup the server. Than I have to
restart the server.
To solve that I have installed apache, php and mysql separately. But
still I am facing the same problem.
Please give me a solution.
Related
I have a couple applications (PDG Stores) running on a Plesk server running Apache both of them use a CGI include to run a php script that builds their menus. Upon moving to a new server Plesk12 Odin + Nginx + Apache none of these includes work any longer.
Not sure where to start here, is it Nginx, Apache? or SeLinux?
there are no errors in any logs at all, includes fail silently.
the Apache include module is enabled
Not sure how to troubleshoot for Nginx or SeLinux
Has anyone else had this issue?
I am assigned a symfony project. It is my first project, so I transfered the symfony files from live server to local wamp (win 7) in order to do some tests. While the site works in live and demo server ( I transfered it by myself) in my local wamp it throws error 500. So I suppose there is a problem with my server and not the project itself. php log file shows nothing. Also I have enabled rewrite module, php accelerator and minimum requirements are met. How can I debug it? I would like to give more info but unfortunately I can't even find what causes error 500... Any help is much appreciated...
Try this :
composer run-script post-update-cmd
See this : Symfony2 updating bootstrap.php.cache
Your bootstrap.php.cache was build on UNIX and won't work in Windows + it contains absolute paths.
I have project developed with Symfony2.8. It works locally. I am trying to execute doctrine:fixtures:load but I get this error :
The problem is that your server (wampserver) is not working properly. Indeed the application (Symfony app) is not able to communicate to it via doctrine that is why it display:
connection could not be established with localhost... So you simple have to check what is wrong with your localhost server. I suggest:
Restart wamp
Restart your PC (if restarting wamp does not work)
Reinstall wamp (if restarting your PC does not work)
Search on web ...(if any of above does not work...)
I am trying to run a sample ASP.NET5 MVC application on a Windows Server 2016 instance hosted on Azure. All indicators show that the application runs fine on the server, but when i try to browse the URL (using the server's hostname or public IP) i get a 404. NOT FOUND error.
The ports are open in Azure and in the firewall.
The application runs on Microsoft.Net.Http.Server.Weblistener
The runtime is clr-1.0.0-beta5 x64. I have verified that the runtime is properly installed and is being used.
I have published the app from VS2015 and transferred to the server manually, i run it with the command "web.cmd" which is autogenerated, and i get a neat output saying:
info : [Microsoft.Net.Http.Server.WebListener] Start
info : [Microsoft.Net.Http.Server.WebListener] Listening on prefix: http://localhost:80/
Started
When i run the application in exacly the same way on my local developer machine i get exacly the same output, and it works to browse localhost:80 to get to the website.
This, to me, indicates that
The app runs properly
The ports are configured correctly (when i turn off the webserver i get a different error ERR_CONNECTION_TIMED_OUT instead of the 404)
My guess is that there's something wrong with the WebListener server, not properly routing incoming requests to my application, or perhaps something is wrong with my MVC code (although it works fine on localhost).
Sorry for a rather vague question, i am open to all ideas and input, and please feel free to ask further questions so i can provide more information.
Cheers,
Niko
As #Rob and #Amy pointed out, the problem was that the WebListener only had a binding for the http://localhost:80 address. When i tried to browse it using my server hostname, i got the 404 Not Found.
The solution was to change the --server.urls in hosting.ini from http://localhost:80 to my proper hostname. Also found more information on the answer here:
How to Change Server.Urls with Microsoft.AspNet.Server.WebListener (stackoverflow.com)
can I easily move my drupal installation from Apache to Microsoft server, or I do need to run the install.php script and reinstall all modules ?
I'm having troubles to connect it to the database, that's why I'm asking. (I get technical problems without specific error messages)
thanks
The technical differences you will encounter are the ones between Apache and IIS. For example, there is no mod_rewrite in IIS, you have to get ISAPIRewrite to play along. You also need the Windows Server to be running MySQL. You may also have .htaccess pathing issues.