Webmatrix - PHP - Wordpress (not working) - php

I have spent 2 days and have read multiple posts / articles re this subject with no resolution. I am running WebMatrix 2 on XP Pro with sp/3. WM works like a charm until I try to open Word Press through Web Gallery. Every time I get a message that the
"installation failed because php-cgi.exe is not available. Please rerun the Windows installer for PHP and enable either 'IIs FastCGI' or 'Other CGI'."
The PHP starter site also fails for the same reason.
Apparently all php files were installed by webmatrix (including php-cgi.exe) so I can't figure out why word press (and the PHP starter site) fails and keeps throwing this error.
I even tried a totally new install of WebMatrix on an unused laptop with no existing PHP or mySql files and got exactly the same result. Apparently, there is a flaw built in to the WebMatrix program regarding running PHP.
I have a hard time believing that MSFT would even release this with such a functionality problem. I am not knocking MSFT because I think WM is an awesome product. But, if there are known post installation steps which need to be taken, a heads up would have been nice. I hope WebMatrix 3 users are not encountering the same problem.
Has anyone been able to figure this out?
Any help to fix this would be greatly appreciated.
Thanks for your help.

Have you watched this video? and followed all the instructions?
Installing Wordpress on Webmatrix
php-cgi.exe is a file which IIS runs to emulate PHP. This error is todo with the configuration of you IIS server on Windows.
Also have a look at this, which shows you how to install fast cgi on IIS
Installing Fast CGI with IIS

Related

Migrate DB error, Unable to process payload

Recently I have switched on Macbook from Windows, and I had to re-do all my working processes.
I am working to set up a WordPress local website to look like the live one, and usually how I would have done that is through Git and then MigrateDB (pull) from the live.
I came across this error while pulling, at the Media stage:
Unable to process payload.
I was wondering if anyone has ever been through this and you might be able to help.
I am going to answer my own question as I found out why this was happening and leave it here with the hopes that if anyone ever encounters this issue, will know what to do.
The "Unable to process payload." happens due to Xampp, if you want to download the latest version on a Macbook M1 type processor, won't work, and you are forced to download an older version 7.2.3, this version does not work well with some of the WordPress Plugins so you will get all bunch of errors.
Solution
Get rid of XAMPP, if you are using a Macbook M1 type processor and install MAMPP, the free version, it will work fine and smoothly.

PHP Install on IIS 7, no test results

I am trying to install PHP on my IIS web server running version 7.0. I downloaded the php-7.1.8 Non Thread Safe for Windows 64. I then procceded to follow the steps found here: https://www.howtogeek.com/50432/how-to-install-php-on-iis-7-for-windows-server-2008/.
I had no issues with the install but when it came to the last step of creating the test PHP page and launching, instead of getting the results, i'm being asked to Open or save the file??
I've also tried putting this into a live website and accessing it outside the web server. When I try this I receive a 500 - Internal Server Error.
I had tried this about a year or two ago and got frustrated, so I gave up and have retried today but experiencing about the same result. Don't know what other information would help, but i'm willing to provide what's necessary. Thank you for any help.
After continuing research I ended up using the Windows Installer version (https://www.microsoft.com/web/platform/phponwindows.aspx) and then went back through the configuration steps of the php.ini file.

XAMPP on Mac OSX - Really slow page loads

I've recently been developing a Laravel app on my Mac OSX under an XAMPP/Apache server. And suddenly a couple days ago (no updates or anything) my server started resolving the pages at over a minute (roughly 80s on average). It obviously makes development really difficult and was wondering the possible issues could be? Please let me know what files/code snippets would be needed!
I'm running my app on a virtual host in the httpd.conf file if that's any help.
I've also reinstalled XAMPP with PHP 7.0 and reset my entire repo as well but to no avail. Other website load perfectly fine too. Other coders on the app don't see a change in the loading time, so this seems like a local issue and not one concerning the size of the app.
Would appreciate any help, thanks!

NewRelic install on centos and cpanel

I'm trying to install NewRelic on my website, I use PHP, cPanel(VPS/dedicated) and Centos (64bit) for my server, I've installed the server monitoring part right on my server but when I try to install the 'app' part on my server I can't get that to install, I followed the instruction links http://newrelic.com/docs/php/new-relic-for-php
but to no success, has anyone got any ideas as to why this maybe? I have restared httpd and appache multiple times and given it some time to propogate etc..
The problem of this is having WHM installed and many PHP services installed, you should try this guide I found:
New Relic for PHP w/cPanel
We have few dedicated servers on HostGator. Few months back we had installed "NewRelic" on our server for monitoring, later we started having issues and here is what HostGator Tech Team said
"While it's possible to configure a cPanel server to use a non-cPanel
PHP version, it's complicated to configure and we will not support it
or set it up. PHP gets compiled from source by cPanel normally and it
should be left this way, as it interacts with a number of other
components on the server in complicated ways, as you found out today.
We recommend completely removing the custom "Newrelic" repository as
well as the packages it installed in order to avoid further
compatibility problems."
and here is what "NewRelic" team said
"I wasn't trying to suggest that Hostgator's assertion was wrong. I
was just trying to figure out which instructions to go over with you."
Make sure to check compatibility before installing it. Installation instruction can be found at http://www.networkredux.com/answers/view/Hosting/Control_Panels/WHM/cPanel/162
New Relic Needs to document this cpanel compatibility better, I know it's my fault for not researching but while using a hostgator dedicated server with cpanel/whm I got new relic up and running. . then my server became a huge mess if improperly configured files and a few days of reading and learning to get it straightened out - I understand my fault entirely but a big ass CPANEL/WHM <- CAREFULL sign might have helped :P

Drupal 4.7 Unable to connect to database server

This is strange, in Drupal 4.7 (a new install) I can get it to come up with a page that says "Unable to connect to database server" when I have not put in the DB connect information. This comes up in the browser just fine.
So I go in an put in the correct connect info (which works fine with my Drupal 6 sites) and I suddenly get a white screen. If I run cron.php I see the same HTML spit out that created the DB error before this.
Any idea what is going on?
UPDATE: I made a mistake, my webserver is actually using PHP 5.2. This is due to the fact that I am running this on my Macbook Pro which comes with PHP and Apache, but I am using Zend Server CE for my local web dev environment.
Sys info:
Drupal 4.7.11
PHP 5.3.4
MySQL 5.1.54
Any thoughts or ideas are welcome. I am really not sure where to go with this and I need to be able to get Drupal 4 working on my system to do a content migration from some older sites. (Yep, I wasn't using Drupal 4.7 to punish myself. I have a good reason).
I managed to figure it out awhile ago. Unfortunately I don't remember what I did, but I got it to work at least to the extent that I could bootstrap Drupal and then load the nodes and export them.
I am going to set this as solved. I apologize for not having the answer in here. It may have been LDAP, which comes with XAMPP but not Zend. I know that was a major problem on the Drupal6 version of this site.

Categories