Not able to open website on localhost, handler mapping is missing - php

When ever I try to open wordpress website on my localhost I get below error.
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
I have tried enabling HTTP activation but that did not work.
I have installed PHP for IIS from microsoft web PI, that did not work.
I think there is handler mapping missing, I am not able to map handle.

install wamp or xaamp and start php and mysql Service.
create a folder for example "site".
Copy all worpress folder and file in to www/site in wamp server
and enter the "localhost/site" in the browser and install wordpress quiqly.
soon wordpress goto run

Go and download the WAMP http://www.wampserver.com/en/
Its a set for web developers, that includes php, apache and mysql.
You can se localhost to act as a real webserver, you can find online many tutorials and how to

Related

SOS! How do I deploy multiple Laravel apps on a windows IIS server in a LAN

I am setting up an IIS server in readiness to host multiple PHP web apps. These will be used within our local network so no need internet access. I have read a lot of stuff on how to go about it but am getting lost even more. someone please help.
You can refer to this document for detailed steps about deploy php application on IIS.
Here are some main important points:
Install IIS in control pannel(windows) or server manager(windows server).
Configure php. Youcan download it from php official website or Web PI(more recommand). The version over php8 may not work on IIS.
Make the physical path of site points to root folder of application. It will auto generate web.config. Set the permission of root folder to avoid 500 error.
If you have multiples version of php, you can isntall php manager to configure them.

Issue loading remote PHP app via Virtual Directories in IIS

I’m currently running a wordpress IIS server for site hosting (lets call it Web01), then running a separate IIS server for web application hosting. (Apps01)
I’m trying to utilize virtual directories on Web01 to dish out the content provided by Apps01 on my website.
So Apps01 hosts an IIS application called FileRun in an IIS site simply called “FTP”. going to http://localhost shows the application launches properly and I can login and use it just fine.
On Web01, I created a virtual directory under my main web IIS site called “ftp” as well as provided it with proper "connect as" account permissions, performed test to verify successful connections and I can expand and see the virtual directory contents etc.... When I attempt to go to http://www.example.com/ftp from Web01. It loads a page stating “ION Loader is required” however, I already have this ION Loader, loaded on Apps01 and it is functional. (as it is part of the FileRun, install). So at this point I used PHP Manager to redirect Web01 on FTP Virtual Directory to point to PHP content on Apps01 since that is where the program is located. Now I'm receiving an internal 500 error when trying to load http://www.example.com/ftp from Web01.
I check the remote PHP servers logs (Apps01) and see the following errors:
[11-Jan-2018 11:46:58 America/New_York] PHP Warning: PHP Startup: Unable to load dynamic library '\apps01\PHP\v5.6\ext\php_sqlsrv.dll' - The specified module could not be found.
in Unknown on line 0
It appears to repeat this same error but with all php modules that are trying to be accessed from the remote Web01 server.
Any thoughts? Issues appear to be happening when running php based applications via virtual directories in IIS only. I tested by creating a test.php page with simple text. If I go to example.com/ftp/test.php, content loads fine. So it appears to be spefically an issue with PHP (either something about the UNC path in the VD settings or php.ini settings that need to be changed to allow this type of access etc...) I just can't find a clear answer for this issue with online searches.
P.S.
I searched on this site and found someone with a similar issue as me. However, their solution is not a real solution and will not work for me. He stated he simply copied the contents from the remote server onto the local Web server... I need the two servers separate so each can process its own roles independently (aka I need app server to process resources for app usage and web server to process web requests etc...)
How to enable the Virtual Directory Support php?

phpmyadmin Index page loading but not displaying any info

My phpmyadmin was accessible prior to installing ssl on my abyss web server using http://.
Since I have set up my ssl config when I try to access phpmyadmin on https:// the page loads but nothing is displayed.
I have installed ssl across my whole domain.
Do I need to edit the config.inc file to enable phpmyadmin on ssl and if so what changes need to be made?
Must have been a corrupt file somehow.
Solution was to remove all old phpmyadmin files and reinstall with latest version from the phpmyadmin website.
All okay now.

How do I execute PHP on a cPanel server?

I have a LAMP application that works. I can deploy this in 15 minutes on a Linux server. I was handed a VPS to deploy it. All I get is WHM. I created an account and that got me a login to cPanel and to the box. cPanel ran some wizard that told me to put my "web source files" in /public_html There is an /cgi-bin inside of that. I cannot get any web assets to be visible from any of those folders. All I get is 404 not found. chmod 777. 404 not found.
My simple question is this: how could I get a simple hello world PHP script to run on a cPanel server? I've been building web pages since before we called them web pages. I do not need to know anything about PHP itself I want to know how to get the cPanel managed server to run PHP scripts. All the documentation I can find on cPanel assumes you've been using it forever. I just need some basic information. Where do I put my PHP code ?????
This is the way cPanel works. If you host your website on shared IP address (main IP address of your server), you cannot access your website using IP address directly. You will always redirect to "http://IP/cgi-sys/defaultwebpage.cgi URL.
To access your website without pointing our domain to your server, you can use temporary URL. By default, it is enabled on the cPanel server. You can access the temporary URL using the following URL:
http://IP/~cpanel_user
Please note that the temporary URL does not work under the following configuration:
If you have enabled mod_userdir tweak and didn't exclude default host
If your server is configured to use mod_ruid2
Hope this information will help you with future use.

phplist installation files copy issue

I want to use phpList when user signs up in my website.
Currently i am working in local. To install phpList should i only copy to content of public_html/lists/ folder or whole public_html/lists folder into my local folder.
I tried this.
1)
I am bit confused here. Because i tried both in documentation it says you need to copy the content of the public_html/lists/. When i am doing this it successfully installed but when i try to create new subscriber page and try to save changes it give me this error "The requested URL /lists/admin/ was not found on this server."
2) When i copied lists/ folder into local server and when i tried open admin page it displays this. it hasn't even shown installation process which it normally does(database initialization).
To install phpList into local what should be copied into local folder?
I had this same issue after installing a second instance of PHPlist. The way I was able to fix it was by rebooting my server entirely. Upon logging in, I got the standard installation page. (Otherwise, I continued to receive the missing tables and invalid login page, even when rebooting XAMMP on a Windows Server.)

Categories