This is a discussion on IIS/PHPToolkit??? within the Salesforce Coding Discussions forums, part of the Salesforce category; Hi:
Well finally got my IIS to work and also my PHP
-
IIS/PHPToolkit???
Hi:
Well finally got my IIS to work and also my PHP to work with IIS... but now I installed the PHP toolkit and am getting this error:
Error in my_thread_global_end(): 3 threads didn't exit PHP Warning: session_start() [cPanelŽ]: open(C:\DOCUME~1\razzaz\LOCALS~1\Temp\php\session\ sess_js0c0metjq8p2ia8sgt8fuqr63, O_RDWR) failed: Permission denied (13) in C:\Inetpub\wwwroot\sfdc_php\samples\login.php on line 27 PHP Warning: Unknown: open(C:\DOCUME~1\razzaz\LOCALS~1\Temp\php\session\ sess_js0c0metjq8p2ia8sgt8fuqr63, O_RDWR) failed: Permission denied (13) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\DOCUME~1\razzaz\LOCALS~1\Temp\php\session) in Unknown on line 0
I have no idea where to start with this one...
Please advise anyone
Thanks
Zishan
-
Hi,
The variable session.save_path in the php.ini file needs to point to a folder where the user under which IIS runs has write access. You can find out the user from IIS Admin.
More about session.save_path in PHP: Runtime Configuration - Manual.
Regards,
-
Thanks toivo for answering that, I would have had no idea that is what needs/needed to be done to correct that error
-
Awesome thanks for the tip... So I fixed the session path and now I get the following issue:
Error in my_thread_global_end(): 3 threads didn't exit
Any ideas... I really can not find a defined solution?
Thanks
Zishan
-
Hi:
Now I got everything to work and now I get this message:
POST /services/Soap/u/8.0 HTTP/1.1 Host: CRM Software On Demand, Online CRM Solutions - salesforce.com Connection: Keep-Alive User-Agent: PHP-SOAP/5.2.6-dev Accept-Encoding: gzip, deflate Content-Type: text/xml; charset=utf-8 SOAPAction: "" Content-Length: 316
-

Originally Posted by
zishan876
Hi:
Now I got everything to work and now I get this message:
POST /services/Soap/u/8.0 HTTP/1.1 Host:
CRM Software On Demand, Online CRM Solutions - salesforce.com Connection: Keep-Alive User-Agent: PHP-SOAP/5.2.6-dev Accept-Encoding: gzip, deflate Content-Type: text/xml; charset=utf-8 SOAPAction: "" Content-Length: 316
Zishan
This setup seems more like a pain that it is worth! Are you trying to setup PHP on a local computer running XP Professional?
If so man, I would not use IIS, I would use another server for windows or a WAMP
You can get a complete package at:
Install PHP 5 Apache MySQL on Windows : WampServer
OR
apache friends - xampp
I use XAMPP and it works perfectly for building applications against Salesforce's API on a localhost. I tried with IIS and it was just too much a pain in the ass to be honest. 
If it is windows server, then forget that I posted this
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Bookmarks