IIS - IIS5.1 + PHP IE downloads the php page instead of executing it
Asked By Andy M
18-Jan-08 07:25 PM
GDay All,
When I go to localhost/joomla instead of the index.php page executing it
wants to be downloaded. I know this is something simple to fix but what
gets me is that I have other installations of php based cms packages
that are all working fine.
What am I missing here?
Can someone point me in the right direction please.
Regards
Andy M
IIS
(1)
GDay
(1)
Doh
(1)
Insists
(1)
Mothers
(1)
Drupal
(1)
Joomla
(1)
Hehe
(1)
David Wang replied...
You did not setup application mapping of .php to your PHP
installation. Thus, .php is treated as static file by IIS and
downloaded by IE.
You have a bug in the installer or installation process of PHP.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Andy M replied...
GDay All,
David, thanks for the reply. However, I don't think that is the problem.
My application mapping points to \php\php5isapi.dll.
I do have php installed and working!! but for some reason I cannot get
this installation of joomla to work. Every time I navigate to this
particular folder it insists on wanting to download the file rather than
display it as normally would happen.
The other installations of joomla, drupal etc. I have on this machine
display and run as they should.
I think this is a file permissions issue but I really don't know what.
I've been going through IIS services and now I seem to have screwed it
up even more. Logging on to localhost I now get a 403 error instead of
the standard welcome to IIS page.
What am I doing wrong here??
Andy M replied...
GDay All,
Ok, I have fixed the localhost welcome page problem but I am still
having the problem where the index.php wants to be downloaded instead of
being executed/displayed.
I could really use some help on this.
Andy M replied...
GDay All,
Ok I have managed to solve the problem of the index.php page wanting to
download instead of executing/displaying.
It turns out that my shortcut to this folder had an address pointing to
the actual folder instead of the proper http: address ... Doh!!!
Some mothers do have 'em .....
Martin Vaupell replied...
Care to share, i have same issue regardless if its Asp, php, or htm.
and i got asp, php working before, but after a reboot all the crap does is
download.
;p hehe tx
Installing IIS IIS I copied index.html file to the following server and URL: http: / / 74.208.153 same services are running on both servers. The only difference I saw was that in IIS Manager, 34 has a folder called to create a new folder, just a new virtual and the settings were the same. What else do I need to check to setup IIS Manager properly for hostin my app on 240? IIS Discussions ASP.NET (1) WPF (1) IIS (1) XP (1) EventID (1) DLLs (1) X64 (1) WpfApplication1 (1) 3.34 / 110.240still to allow incoming connections on port 80, and for them to be routed to your IIS server? Did you add the exclusion to allow this in the Windows 2003 firewall too You cannot just create the folder manually and expect it to be the same. Does IIS work from a browser on the server itself? If so, then it is not an
LogFileDirectory and log file write error handling IIS I am contemplating changing our IIS standard config to use Centralw3CLoggingEnabled and LogFileDirectory (ie. Write a single IIS log file to a remote UNC) to overcome IIS filling up C: drive and crashing Windows, but I have a concern about how to trap possible writing errors to this remote UNC? Knowing IIS doesn’t populate the Eventlog with any IIS log file writing errors, how can I resolve my problem? Regards, Cosmo IIS Discussions IIS (1) LogFileDirectory (1) IIS’s (1) Eventvwr (1) Windows (1) I’ll (1) Cosmo (1
Custom 404 page in mixed ASP / aspx environment IIS It seems to me that IIS is over thinking things. I've inherited a several servers of various ages (IIS 5 / 6 / 7), with up to 30 web sites per server. Each site has a in classic ASP. The sites are mixed asp / aspx content right now. I noticed that IIS ignores the custom handler if the requested page is .aspx. This results in requests that master pages for all of our sites, since each has a different layout. Why does IIS behave this way? Is there some way for me to get IIS to respect the custom 404 setting as it is currently set, or am I stuck cost of $500 per message. Use of this email address implies consent to these terms. IIS Discussions System.Web.HttpServerUtility.Execute (1) Ruby (1) Perl (1) ASP.NET (1) IIS (1) Server.Transfer (1) Server.Execute (1) Database (1) On Jan 21, 8:55 = A0am
Database logging with IIS 7.0 IIS Hi I am trying to setup database logging with IIS 7. I am following these instructions: http: / / weblogs.asp.net / steveschofield / archive / 2007 / 12 / 20 / iis7-post-57-how-to-setup-odbc-logging-in-iis-7-0.aspx This is not working and I am receiving the following error in the error number." This is the same problem that has been experienced here: http: / / forums.iis.net / t / 1154908.aspx This is a x64 W2K8 environment. SQL Server is 2008 I is enabled on the SQL Servers) - Cross referenced my configuration with this article: http: / / blogs.iis.net / rakkimk / archive / 2008 / 04 / 16 / how-to-configure-iis-7-0-for-odbc-logging.aspx and checked my appcmd parameters a hundred times. Still no difference. - UAC is turned off. I believe this is a problem in IIS. This Event Viewer error message always appears during the Start phase of an IISRESET, even
Dummy Needs Help with IIS Configuration IIS I have a simple .Net app which uses FtpWebRequest / Response. It used to work when it connected to an IIS FTP Server which I had running on a WinXP system which bit the dust a Even when the client is running on the same Vista system as the server. Configuring IIS is probably way over my head, but I need an FTP server so that I have a chance of doing whatever needs to be done. My specific questions is: does IIS need to be told which drives and directories it can access or does it use should be having no problem. So I am thinking / hoping that I must also tell IIS which dirves and directories it can make available to clients. If this might be helpful . . . Under ComputerManagement(Local) under Services and Applications I have two IIS entries: "InternetInformationServices(IIS) Manager" and "InternetInformationServices(IIS) 6.0 Manager". When I double click on the first entry