Appserv Latest Version

0 views
Skip to first unread message

Domenec Reynolds

unread,
Aug 3, 2024, 4:51:06 PM8/3/24
to marnatsmagrio

The versions of software within AppServ appear to be old. Very old. MySQL 5.0.51b, PHP 5.2.6, Apache 5.2.8 are way behind with regards to security and features. The best thing you can do is to replace the whole stack with a newer one

If you do a quick Google search for WAMP installer, a plethora of available stacks are listed. The first one in the list uses MySQL 5.6.17, PHP 5.5.12, Apache 2.4.9. Again, not the newest, but much more recent and feature rich. It's also available in 32 and 64 bit versions

Spool up an instance of Windows (which is as close as possible to your live setup) and install your current version of AppServ and your applications which use it, take a snapshot (so you can roll back) and then work out slowly how to update to a new stack. Take lots of snapshots as you go.

Once you have worked out how to update your stack without data loss, try your applications on the virtual machine. There is no point in upgrading your stack if your software is going to bomb out the second it start to run.

Once you're satisfied what all the steps you need are, roll back to the snap shot you took at the start and go through all the steps again. Then again. And keep on restoring/upgrading it until you are confident that you can do the update with the minimum of fuss and panic on the live system

I would recommend doing your update over two sessions. For both sessions, choose a quiet time to do it. Essentially, out of office hours is the best, early morning (after a good sleep) is even better.

During the first session (SESSION-1) the server offline, backup everything, then return the server to live. And when I say "backup everything", I mean EVERYTHING! Take this backup and restore it to a virtual machine. Go through your steps that you worked out before on this restored version to make sure everything is going to work. Make a note of anything that is different to the steps you worked out earlier.

When you've done your testing, you can do session two (SESSION-2). Again, take the server offline, run a differential backup on the system and a full backup of the MySQL databases. Update your WAMP stack (using the steps you worked out in SESSION-1) and bring it back online. Check that all your URLs and code still works.

After you've completed your checks, send triumphant emails to whoever needs to know, put a smug smile on your face for a job well done, pour yourself a large glass of whiskey (other drinks are available) and relax - you've earned it

Sorry that I can't give you definitive steps but I use Linux for all my PHP stacks so these steps are what I would do if I was upgrading them. I spent 3 months practising upgrading my servers then did all of them in a single night (I have separate MySQL servers so it was only the Apache/PHP side I was updating - much easier and quicker)

EDIT1:Somewhere I've found this discussion in which the author explain that, because of a dependencies of Visual C++, the DLL can be not readable. I checked my system, I cleaned it from multiple installation of Microsoft Visual C++ redistributable and I tried to install x64 or x86 versions.

EDIT2:As suggested from @chugadie, I tried to use dependencywalker to trace dependencies.I found several missing files with prefix API-MS-WIN-CRT.Now I'm trying to fix but I have several problems with dll which are x86 and x64. I think the best way is to reinstall all components in x64 architecture.

On AppServ folder on Start Menu (or Win Key + S) you must sear for PHP Version Switch and it will request admin privileges (if you deny it, it won't work), then it will show a cmd console rquesting you the PHP version to set on Apache, press 7 to switch PHP 7 or press 5 to switch PHP5.

Starting June 1, 2024, all newly created App Service apps will have the option to generate a unique default hostname using the naming convention -..azurewebsites.net. Existing app names will remain unchanged.

Azure App Service is an HTTP-based service for hosting web applications, REST APIs, and mobile back ends. You can develop in your favorite language, be it .NET, .NET Core, Java, Node.js, PHP, and Python. Applications run and scale with ease on both Windows and Linux-based environments.

App Service adds the power of Microsoft Azure to your application, such as security, load balancing, autoscaling, and automated management. Additionally, you can take advantage of its DevOps capabilities, such as continuous deployment from Azure DevOps, GitHub, Docker Hub, and other sources, package management, staging environments, custom domain, and TLS/SSL certificates.

With App Service, you pay for the Azure compute resources you use. The compute resources you use are determined by the App Service plan that you run your apps on. For more information, see Azure App Service plans overview.

Besides App Service, Azure offers other services that can be used for hosting websites and web applications. For most scenarios, App Service is the best choice. For microservice architecture, consider Azure Spring Apps or Service Fabric. If you need more control over the VMs on which your code runs, consider Azure Virtual Machines. For more information about how to choose between these Azure services, see Azure App Service, Virtual Machines, Service Fabric, and Cloud Services comparison.

App Service on Linux supports a number of language specific built-in images. Just deploy your code. Supported languages include: Node.js, Java (Tomcat, JBoss, or with an embedded web server), PHP, Python, and .NET Core. Run az webapp list-runtimes --os linux to view the latest languages and supported versions. If the runtime your application requires is not supported in the built-in images, you can deploy it with a custom container.

Outdated runtimes are periodically removed from the Web Apps Create and Configuration blades in the Portal. These runtimes are hidden from the Portal when they are deprecated by the maintaining organization or found to have significant vulnerabilities. These options are hidden to guide customers to the latest runtimes where they will be the most successful.

When an outdated runtime is hidden from the Portal, any of your existing sites using that version will continue to run. If a runtime is fully removed from the App Service platform, your Azure subscription owner(s) will receive an email notice before the removal.

If you need to create another web app with an outdated runtime version that is no longer shown on the Portal see the language configuration guides for instructions on how to get the runtime version of your site. You can use the Azure CLI to create another site with the same runtime. Alternatively, you can use the Export Template button on the web app blade in the Portal to export an ARM template of the site. You can reuse this template to deploy a new site with the same runtime and configuration.

An App Service Environment is an Azure App Service feature that provides a fully isolated and dedicated environment for running App Service apps securely at high scale. Unlike the App Service offering where supporting infrastructure is shared, compute is dedicated to a single customer with App Service Environment. For more information on the differences between App Service Environment and App Service, see the comparison.

Emitted when the application has finished basic startup. On Windows and Linux,the will-finish-launching event is the same as the ready event; on macOS,this event represents the applicationWillFinishLaunching notification ofNSApplication.

Emitted once, when Electron has finished initializing. On macOS, launchInfoholds the userInfo of the NSUserNotificationor information from UNNotificationResponsethat was used to open the application, if it was launched from Notification Center.You can also call app.isReady() to check if this event has already fired and app.whenReady()to get a Promise that is fulfilled when Electron is initialized.

Note: The ready event is only fired after the main process has finished running the firsttick of the event loop. If an Electron API needs to be called before the ready event, ensurethat it is called synchronously in the top-level context of the main process.

If you do not subscribe to this event and all windows are closed, the defaultbehavior is to quit the app; however, if you subscribe, you control whether theapp quits or not. If the user pressed Cmd + Q, or the developer calledapp.quit(), Electron will first try to close all the windows and then emit thewill-quit event, and in this case the window-all-closed event would not beemitted.

Emitted when the user wants to open a file with the application. The open-fileevent is usually emitted when the application is already open and the OS wantsto reuse the application to open the file. open-file is also emitted when afile is dropped onto the dock and the application is not yet running. Make sureto listen for the open-file event very early in your application startup tohandle this case (even before the ready event is emitted).

Emitted when the user wants to open a URL with the application. Your application'sInfo.plist file must define the URL scheme within the CFBundleURLTypes key, andset NSPrincipalClass to AtomApplication.

As with the open-file event, be sure to register a listener for the open-urlevent early in your application startup to detect if the application is being opened to handle a URL.If you register the listener in response to a ready event, you'll miss URLs that trigger the launch of your application.

Emitted when the application is activated. Various actions can triggerthis event, such as launching the application for the first time, attemptingto re-launch the application when it's already running, or clicking on theapplication's dock or taskbar icon.

Emitted when the application becomes active. This differs from the activate event inthat did-become-active is emitted every time the app becomes active, not onlywhen Dock icon is clicked or application is re-launched. It is also emitted when a userswitches to the app via the macOS App Switcher.

c80f0f1006
Reply all
Reply to author
Forward
0 new messages