Php - Does Disabling Unused Languages [Python CGI Perl] In PLESK8 Speed Up PHP5 On Apache Server?
Mar 27, 2011
Inspecting om my PLESK 8.2 on APACHE2 with PHP 5.2.3 I saw this. Being a person who loves peed, would I gain anything by disabling all the stuff except PHP? which is the only thing I use really? I'll do anything to speed up my site.
View 1 Replies
Similar Messages:
Feb 15, 2011
Recently, I added a massive amount of new languages (as RESX files) to an ASP.NET Web Site project in VS.NET 2010.
The project has approximately 50 ASPX pages and did build rather fast, before I added the languages.
Since the languages were added the compiler takes several minutes (well, at least 1-2) until the browser sees a page.
Now I'm currently investigating, whether I could speed up compilation time inside my development environment. I can think of:
Leaving out the RESX files in VS.NET and copy them from another, external folder, when deploying to the web server, only.
Change the project type from Web Site to Web Application.
My question:
how you would improve development speed of a large multi-language website in ASP.NET 4.0?
View 1 Replies
Feb 24, 2011
i want to run asp.net website on apache server instead of IIS.i googled a lot, but din get satisfactory answers.i only came to know that we can use something called 'mono' - third party api for doing this.i want to knw some basic things like do we need to install .net framework on that server?what if its a unix server?
View 3 Replies
Mar 9, 2011
I understood, that I need to use mod_aspdotnet, but I can't find this module for ASP.Net(4.0) - only for 2.0.
View 3 Replies
Jun 27, 2010
I have heard of the pains of setting up IIS. On a windows box, can I simply drop a ASP.NET application into Apache server and have it work? Or are there any other server alternatives? I am relatively new to web server concepts. I have heard suggestions for the server in mono but it doesn't seem practical using mono on a windows box, I could use a Linux box with mono, which wouldn't surprise me if it worked better then a windows solution, but for arguments sake this question is directed towards a windows box.
View 2 Replies
Oct 11, 2010
i am using mod_aspdotnet.so module to hosting my ASP.NET application. all was ok until i use ajax control tool kit in my aplication. I am using ajaxToolkit:CascadingDropDown to conect 2 dropdownlist in cascade. In IIS every thing works fine, but in apache there are some problems. When load the page, i got the next javascript error: 'Sys' undefined. the object signed are :
Sys.WebForms.PageRequestManager._initialize('ScriptManager1', document.getElementById('MAIN_FORM'));
Sys.Application.initialize();
How can i solve this problem?
View 2 Replies
Aug 28, 2013
How to host asp.net website on server when I am using mysql database i have turned off iis services so how can i used http in start of creation of new website i have database mysql...
View 1 Replies
Nov 20, 2010
Does SQL Server Express supports othere non english languages?
View 2 Replies
Aug 12, 2010
I have this web based project written in Perl and I have to migrate it to ASP.NET. I'm a complete noob at this. Is there a way to reduce the manual labor for it? What would be your approach? Can you also provide a short example of something that works, maybe how to port a small HelloWorld file?
View 4 Replies
Mar 11, 2010
We are rewriting a CGI Perl website to .NET and need to have site search capability. In the former site, we use the open source "Perlfect". Does anyone know if there is something similar for .NET or could make any recommendations?
View 4 Replies
Feb 1, 2011
I have a web application running on ASP.NET 3.5 which basically stores, retrieves, and allows users to manipulate data from a SQL Server 2005 database. One of the features allows users to search through the records in the database. When the system was first launched last year, there were no records, so searches were lightning fast. However, over the past year, about 100,000 records have been entered, so most searches now take over 15 seconds to perform. I'd like to speed up searches, but there are problems with both of the conventional approaches I can think of:
Caching - The database does all the heavy lifting in this application - the ASP.NET web application is little more than a UI that passes user input to the correct stored procedure, and displays the returned output. The stored procedures are responsible for interpreting user input, applying the business rules, and transforming the underlying tables and views into a context-sensitive result set which the application just displays as is. Unless if there's a way to apply a stored procedure to a C# object/collection (the cached records), and get another C# object/collection back, effectively bypassing the database, I don't think this will work.Stored procedure optimization - There's some optimization potential here, but even a simple SELECT * FROM TheView statement on the underlying view currently takes 11 seconds according to SSMS, and I expect that the amount of time taken will continue to increase as more records are entered.Are there are techniques out there that I'm not aware of, which could be used to bring searching down to a reasonable amount of time (5 seconds or less per search)?
View 4 Replies
Mar 4, 2011
I have two datetime2(1) fields in my db. I will calculate the time in hours and minutes between them. That I have done this way:
[Code]....
This works. But how can I calculate the avgerage speed if I have drived 665 kilometers in this time? I know how to do it with only houurs but not with the minutes to. I have tried this and I think it works. Is it correct?
[Code]....
View 2 Replies
Feb 9, 2011
My web server and database server are currently both in the same room. However, the web server might be changed to a different server in another building about a mile down the street. I want to make sure this doesn't have a negative impact on the connection speed between the database and web server. Is there a way to test the connection speed from both web servers to the database?
View 3 Replies
Apr 1, 2010
I thought disabling ViewState for a server control would cause this control not to keep its state after a postback. I thought the same would happen if I disable ViewState for the whole page.
However, I tried to create an example to show this to a colleague and was puzzled when a textbox on a page would keep is state (in this case its Text property) after one or more postbacks, even when ViewState is disabled everywhere (both at Page level and Server Control level). Please see the code below:
[Code]....
I can keep pressing the Post back! button and every value typed on the textbox is still there after the postback(s). I'm using VS 2008.
After this example I now assume I don't understand ViewState as I thought I was.
View 2 Replies
Aug 12, 2010
When debugging my website project I usually go to start options in the web project's properties and select 'Don't open a page' and 'Use custom server' with a url that's in my host file pointing to my local IIS.
Even when I do this though visual studio still spawns it's own Development Server instance every time I hit f5.
Also for web application projects that have shared ascx files for instance Visual Studio will also launch an instance of Development Server each time I debug the solutions for each for these projects. This results in a million instances of Development Server running on my machine at any given moment.
Is there any way to disable development server for a given project completely? Without pointing it to a localhost sub application?
View 3 Replies
Mar 27, 2010
in other words, what happens when I enable/disable FrontPage Server Extensions 2002? knowing that I have asp.net web apps using .NET framework 1.1 and 2.0
View 1 Replies
Apr 1, 2010
I have a web page which is using PasswordRecovery control.Its working fine but I have a scenario in which I have to disable Viewstate for the whole application.Now after disabling viewstate when I visit the webpage I have noticed that PasswordRecovery controls is not working (Every times when I submit the default button to go to step 2, the postback occur but not moving to step 2).
View 3 Replies
Dec 2, 2010
Before I go the route of using hidden fields or something similar, is there any way to send back to the server changes to the disabled state of an ASP.net Button control? I have a Button that is initially enabled and I disable it via jQuery on the client. Works great. The only problem is when I do a PostBack the server still thinks the Button is enabled and sends back a response that changes it back to enabled. Why doesn't the ViewState send back the current disabled status of the Button? Is there a way to force it to postback the changes? Other ASP.net controls, like the CheckBox, do send back the state changes to the server. Seems odd to me.
View 3 Replies
Jan 21, 2010
Is it possible to run Python & Django on IIS? I am going to be a Lead Developer in some web design company and right now they are using classic ASP and ASP.NET.
As far as I can see ASP.NET MVC is not mature. Should I recommend Python & Django stack? If it's not possible to run Python on IIS what do you think I should do?
Can I run IIS and Apache in parallel?
View 2 Replies
Nov 8, 2010
I have a GetList.py file which consumes Web Service and saves the output in XML on the server.
How do I invoke GetList.py so it saves the output in XML on the server before displaying the XML output in .ASPX page?
View 3 Replies
May 21, 2010
break up the pros and cons of using python django vs asp.net mvc besides the maturity level of its framework. I have intermediate experience with JAVA. As of right now, i'm leaning towards python but i just wanted to make sure i am making the right choice.
I find myself limited with books available on asp.net web developments. I am aware that there is the storefront example on the official asp.net site. However, that tutorial was a little hard for me to follow. I've done a research around and was python could be my next available choice. There are more tutorials available online for python anyways.
View 1 Replies
Jun 9, 2010
I'm building an ASP.NET MVC (C#) site where I want to implement STV (Single Transferable Vote) voting. I've used OpenSTV for voting scenarios before, with great success, but I've never used it programmatically.
The OpenSTV Google Code project offers a Python script that allows usage of OpenSTV from other applications:
import sys sys.path.append("path to openstv package")
from openstv.ballots import Ballots
from openstv.ReportPlugins.TextReport import TextReport
from openstv.plugins import getMethodPlugins
(ballotFname, method, reportFname) = sys.argv[1:]
methods = getMethodPlugins("byName")
f = open(reportFname, "w")
try:
b = Ballots()
b.loadUnknown(ballotFname)
except Exception, msg:
print >> f, ("Unable to read ballots from %s" % ballotFname)
print >> f, msg
sys.exit(-1)
try:
e = methods[method](b)
e.runElection()
except Exception, msg:
print >> f, ("Unable to count votes using %s" % method)
print >> f, msg
sys.exit(-1).......
Is there a way for me to make such a Python call from my C# ASP.NET MVC site?
View 2 Replies
Apr 7, 2010
I would like to use some code written in python (it uses built in modules) in a regular ASP.NET/C# web application. I am a newbie in python and have heard of IronPython and how ASP.NET now allows us to create IronPython apps.
Any thoughts on which way I should proceed? The python code is the on here
View 1 Replies
Feb 25, 2011
I am building an application in ASP.NET(C#). In certain forms I have many unused Varibales (declared as global variables).
I want to know whether these variables takes any memory space when i build the application.
For instance
public string _ID;
public string _Name;
View 3 Replies
Apr 29, 2010
I'm having difficulties scraping dynamically generated table in ASPX. Trying to scrape the gas prices from a site like this GasPrices. I can extract all the information in the gas price table (address, time submitted etc.), except for the actual gas price.
Is there a way I could scrape the gas prices? i.e. somehow get a text representation of it. I'm not very familiar with ASP/ASPX - but what's being generated now is not showing up in the final HTML. I'm using Python to do the scraping, but that's irrelevant unless there's a specific library...
View 1 Replies