I know there have been some similar questions to this, but they haven't helped me.
I'm trying to install Wordpress 2.8.4 on my XP box, with IIS 5.1. I installed MySQL, and found that it was possible to install Wordpress through the Microsoft Web Platform Installer. After installing Wordpress (the install worked fine), I proceeded to the next step in the Wordpress installation documentation, which is to open wp-admin/install.php in your browser. IIS seemed to not be interpreting PHP, and when searching for the best way to install it, I saw that it is also available with Microsoft Web Platform Installer, so I installed it that way. However, my IIS isn't interpreting PHP still. I do not know what the problem is, but I'm going to reboot right now and see if that helps, as I didn't reboot after the install (even though it didn't say I have to). Any help would be greatly appreciated. Thanks!
Application mapping for .php extension to x:\php5\php-cgi.exe is needed.
Open properties dialog box of IIS's Default Website, and perform extension mapping.
Related
I am pretty new at this Mac OS thingy and I tried installing PHP54 on it. I know, there is a ton of tutorials out there and trust me, I have spend hours online reading. The problem is I am a newbie and I became impatient and just started installing from Brew, Port and compiling my own.
I really just want to start over, but I would like not to reinstall the OS and I really want to understand how to install into different folder, if I for example want different versions of PHP. (I saw that someone had that in a video tutorial, but he did not tell how to do it)
So the following is my questions to you experts:
How to remove all files from a HomeBrew-install (I think I removed some manually, so that the auto-remover don't work anymore)
How to remove all files from a MacPort-install (same as above)
How to remove the default PHP installation (I've managed to update it, but I don't think it was made correctly)
How to install a new version of PHP 5.3 along with 5.4 and 5.5
Installing MySQL and PhpMyAdmin so that it works with my PHP (I could not connect to the MySQL server the last time I installed it)
I don't think I have made any changes to the Apache-server (hopefully not)
I chose to do a reinstall of my OSX
I have a server which already host ASP.Net website. I am migrating from blogger to WordPress. So I need to install WordPress on our server. Can we host WordPress on windows server??
Yes you can install Wordpress (or any other php application) on a windows server IF php is installed on the server. There are many tutorials on google on how to install and setup PHP on IIS (the Windows web server), but Microsoft actually provides an easy PHP install from their website : Install PHP on IIS from Windows Web App Gallery
Wordpress also needs MySQL to work, so that would have to be installed on the server as well.
Your main concern here I guess is whether you have access to the server to install PHP & MySQL:
If this server is provided by a hosting service, it might not support
PHP, in which case there's nothing you can do. You'll need to check with the provider whether they support it or not, and if they can install it.
If you have complete access to the server, you just need to install PHP and MySQL (a bit of configuration will probably be needed - lots of tutorials on google to help you there); then install Wordpress normally as you would on any other kind of server.
PS: if you install PHP yourself, you should make sure to check which version of IIS you are running (IIS6 on windows 2003? IIS7+ on windows 2008?). IIS6 requires some extra configuration to make everything work, as pointed out in the article linked by Marty in his comment.
When I first started using Wordpress I used a Windows Server (granted it was shared space by a service provider) and it ran poorly. I switched to a Linux hosting account and it ran much better. Just my two cents based on my experience.
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
I have been trying to install PHP 5.3.6 on a clean install of Win2003, no dot net or anything else much installed. Unfortunately I have tried 'thread safe', 'non thread safe', installer file, zip file etc. but whatever I try PHP just doesn't seem to work. I have also installed Microsoft C++ 2008 redistributable as suggested on PHP site but still nothing.
Any suggestions on how I should actually be installing this properly. There seems to be vague and at times conflicting instructions on the PHPweb site.
Make sure that you have told IIS how to handle PHP files.
In IIS Manager, expand the tree and find web service extensions, then make sure you have a spot for PHP, pointing to the php dll.
then make sure that your MIME types are set up correctly. Right click your website under Web Sites, view properties, then the HTTP Headers Tab. Click the MIME Types button, and make sure you have an entry for PHP.
This is how we got it set up in IIS Manager. Hope it helps you too.
Further investigation suggests that PHP 5.3.x will only work with IIS using FastCGI; isapi is no longer supported hence the reason that PHP5isapi.dll is missing. Unfortunately FastCGI cannot be installed on IIS without first installing Microsoft Web Platform Installer which requires dot net to be installed first.
This is crazy, PHP are effectively insisting that dot net is a pre-requisite for PHP - madness!
And further investigation reveals I was wrong - it is now installed and working.
Download and install FastCGI from here:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=227219AA-6AEC-4B80-A9FA-76F811EE9E84&%3Bdisplaylang=en
This is a simple .msi install, no dot net required.
Restart IIS
Then download the NON Thread Safe PHP and install to IIS FastCGI Server option.
Now all working.
Here's how I installed PHP 5.3 on IIS 6 (running on Windows 2003 server):
http://www.howtoadvice.com/PHPIIS
This document is a little old and outdated but you should be able to use Web Platform Installer to install PHP on IIS6 for you.
In the past, I used WAMPserver on windows to parse PHP for me. This is a pre-configured package, focussed on working with MySQL.
When I tried to run PostgreSQL, I got error messages that said that my version of PHP wasn't compiled to work with PostgreSQL.
So, I've recently uninstalled WAMP and every associated with it. I've downloaded Apache 2.2.11 with openSSL, installed as admin(you know, run the command prompt as administrator, cd to the directory where the download was done and have it executed, so the install was done as admin).
That's that. I now have Apache installed, "it works" shows up, so I'm that far.
Now I'm wondering, do I download the exe and install, or the zip, or something else.
What is the best thing to do to make sure that the PHP on my system can handle everything I can ever throw at it?
Also, PHP first, or MySQL/Postgre first.
And lastly, what about PEAR? I need PEAR installed, which isn't standard on Windows. I'm guessing the pear.bat file in the PHP downloads will do that for me?
EDIT: I see one close vote, yet no comment as to why. It makes me wonder how people who are so lazy and rude got to have somany points.
I would recommend downloading the zip package, as configuring php is not really that difficult, and it allows you to add features as needed.
As for whether first to install php or MySQL/PostgreSQL, - it does not really matter. You can install them in any order.
Your guess regarding PEAR is quite correct
i haven't used wamp before, so i can't comment on that
i do however use xampp which sounds very similar
in xampp if i want to enable postgres support i edit the php.ini file and uncomment the postgres section of the ini file, same with any of the extensions that i need
perhaps this might be an alternative you can try if you get stuck
There are many ways to setup a HTTP server/PHP/database machine. Sometimes the behaviour of your development setup will differ from the live server's.
I would recommend finding out the setup your web host is using, then getting a vmware appliance image that fits that as close as possible and get any additional software using it's package manager (which is easier that installing stuff on Windows).
Setup a file sharing link between the VM and the host, make sure you can view the VM's port 80 in a browser running in your host OS and you're set.