! You are not logged in to Prodigits. Please register or login.

Php.ini . . .config - Page 1/3

Subject: Php.ini . . .config
Replies: 21 Views: 706
> »
tufaan13 25.06.10 - 11:23am
I instald php 5 wiv IIS 5 . . .bt its nt working 5n . . .hw 2 config dat! . . . * +

xsneakyx 25.06.10 - 11:36am
I was struggling with: IIS 5.1 w/ FastCGI the msi installed PHP 5.3.2. I had a simple php file (?php echo Hello World; ?) and kept getting the 500 error. In frustration I tried opening other php files I had around and Ta-Dah!, my php file with imagejpeg() worked - because it sent a Content-Type: image/jpeg header. * +

xsneakyx 25.06.10 - 11:37am
When I included a Content-Type: text/html header in the Hello World script, it worked. Maybe there's an IIS setting to loosen up on the expected input from the scripts. I'm just relieved to have uncovered the issue. * +

xsneakyx 25.06.10 - 11:38am
If you encounter the following error using PHP under IIS: Warning: session_start(): open .... failed, you need to grant read/write permissions to the IUSR on the directory listed in session.save_path (in php.ini). * +

xsneakyx 25.06.10 - 11:39am
In Vista, do the following: 1. Right-click on folder defined in session.save_path in php.ini file. (ex: C:WindowsTemp) 2. Select Properties 3. Click Security tab 4. Click Edit 5. Click Add 6. Click Advanced 7. Click Find Now 8. Select IUSR 9. Click OK 10. Click OK. * +

xsneakyx 25.06.10 - 11:40am
11. Under Permissions for IUSR, ensure the following are checked: - Read execute - List folder contents - Read - Write 12. Click OK 13. Click Yes to change the permissions 14. Click OK * +

xsneakyx 25.06.10 - 11:41am
If you want to run PHP 5.2.10 on a IIS 7 as an ISAPI. beside adding the ISAPI file as a script you MUST change the aplication pool, with the following configuration: (managedPipelineMode) = Integrated (enable32BitAppOnWin64) = true: Enable 32 bits applications (if you have a 64bits Windows). And I have disabled .NET.... * +

xsneakyx 25.06.10 - 11:41am
In the most recent release (currently 5.3.0) isapi is no longer compiled for distribution. You need to use FastCGI to get PHP to work with IIS. FastCGI is an MS development and can be gotten at the link below; http://www.iis.net/ * +

> »

Quick reply:

+ go to page 1-3
+ my page
+ functions
3 search
4 submit a reply
7 last page
+ bookmark
8 Tech&Computers Forum
9 Forum Index

Custom Search