Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > PHP FAQs
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
PHP FAQs This moderated forum is where our PHP experts answer some of the questions they see asked most frequently in the other PHP forums. You cannot post other messages here, use the other PHP forums for that.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP FAQs section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old November 5th, 2010, 11:27 AM
Registered User
 
Join Date: Oct 2008
Location: Kilmarnock, Ayrshire, United Kingdom.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default PHP / IIS error

Hi I have recently installed PHP on to a 64bit computer with a Vista Business OS. I am trying to run a php page on the local IIS server which came with the OS. I get a 500 error when I launch the page which gives no clue as to what is causing the fatal error. I have loaded the MS tool 'PHP Manager for IIS' to ensure that my PHP is properly configured, this also writes a log of errors running IIS, this log tells me that there was a problem loading the dynamic library file 'C:\Program Files (x86)\PHP\ext\php_mssql.dll' which could not be found!
This is where I need some help! When I downloaded the PHP files I placed them in a directory called 'PHP' with a copy of php.ini moved to the windows directory and php5ts.dll & libmysql.dll moved to C:\WINDOWS\system32 directory. The php.ini file was edited by removal of the semicolon to activate the extension directory and session.save_path. (the extensions php_mysql.dll & php_mysqli.dll were initially activated however since the exercise I am following does not connect to a DB I have restored the semicolon to edit them out) The IIS error log has drawn my attention to the files in 'C:\Program Files (x86)\PHP\' which have been added by a process which I was not aware of and in particular in the \ext directory I note that the file 'php' which is a configuration file, is a rearrangement of the php.ini file which I copied to the WINDOWS directory. Also that all of the extension files have been activated in this version unlike the original copy (They are in a different location in the 'php' file, at the end).
I have tried editing these extensions out to see if the webpage would run but without success! The missing file reported in the IIS error log can be seen in the directory listed and incase I was going doolally I copied the file name from the report and pasted it into the search box in the directory in question, and sure enough it was found! Any suggestions on what is going on here?
Can anyone help me find where I have gone wrong with the configuration of PHP or IIS?
Many thanks in anticipation.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to conigure IIS for php aneesh_sunu@yahoo.co.in PHP How-To 1 November 1st, 2006 03:04 AM
IIS and PHP phphphp BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 5 December 1st, 2005 05:00 PM
which is best :php with iis or php with apache? fromheavenz Beginning PHP 4 September 7th, 2005 01:47 AM
PHP and IIS 5.0 isheikh PHP Databases 2 June 18th, 2004 07:07 AM
CreateObject error on IIS 4 but not IIS 5 timtom Classic ASP XML 1 December 5th, 2003 12:26 PM



All times are GMT -4. The time now is 05:07 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.