Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Is PHP for windows a good idea?

Posted on 2006-07-20
14
Medium Priority
?
309 Views
Last Modified: 2013-12-13
I had a web site on a windows server that was working fine before re-tooling with PHP. Now every time a Credit Card is processed the customers get an hourglass. After a few are processed, IIS needs restarting. Should I move PHP off the windows server onto a UNIX server? I really don't care what platform it runs on. I'm not really looking for Microsoft/PHP evangelists to start preaching a sermon. I just want the best technical information available with quantifiable reasons to back up opinions.
0
Comment
Question by:cntdtech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +4
14 Comments
 
LVL 33

Expert Comment

by:snoyes_jw
ID: 17148408
Are you using the CGI binary or the ISAPI module?  It seems there are lots of bug reports about problems with ISAPI.
0
 

Author Comment

by:cntdtech
ID: 17149715
ISAPI
0
 
LVL 7

Expert Comment

by:maUru
ID: 17150921
use apache :p never had any problems, i think the problem lies with IIS rather than php.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 7

Accepted Solution

by:
maUru earned 200 total points
ID: 17150931
however, unix is a much better platform (in general) to host web servers, more reliable, lower memory/cpu footprints, less crashes etc.

IIS should only be used (imo) if you are going to be using ASP
0
 
LVL 40

Assisted Solution

by:Richard Quadling
Richard Quadling earned 200 total points
ID: 17152068
The hour glass is probably the web server holding the user up.

So, you can try swapping IIS for Sambar or Apache (both free). PHP is very well supported by both of these web servers on Windows.

Also, the Credit Card processing code could be flawed.

You say there was "re-tooling". How much code was written for PHP?

You would need to use some system analysis tools (System Internals Process Explorer for one!) to see what is holding things up.

There are many configuration options available within IIS, you may have some sort of limiting in place which is putting a cap on the amount of activity. You may be accessing a slow DB system. The CC validation service could be playing up or be busy.



What caused you to move from, I assume, ASP to PHP? Where there speed/hang issues there also?
0
 

Author Comment

by:cntdtech
ID: 17153874
new webmaster/designer wanted to program in PHP. Legacy still in use e-commerce site built in ASP. Leased Managed Server is Windows IIS.

So the front end of the site is Flash in PHP. The e-commerce section was re-skinned to look like the front end but the guts remain ASP.
0
 
LVL 2

Assisted Solution

by:battletech
battletech earned 200 total points
ID: 17154328
I have had problems in the past with IIS caching issues with asp and php.  Sounds though that your problem might be going between the apps.  If you were all asp or php it wuld be easier to troubleshoot.  What version og PHP are you using?  What DB are you using?  Is it feasable for you to convert legacy asp into php?  This might stream line things a bit.  Depending on how you are doing it, use of sessions accross both apps ect.  IIS is a resource hog when it comes to those things, along with ASP and you have memory management issues.  I have had good success with just php and IIS but I am not using multiple apps.  Just php/MySQL.    
0
 
LVL 9

Assisted Solution

by:Rob_Jeffrey
Rob_Jeffrey earned 200 total points
ID: 17155264
The problem you are faced with is finding out where the data lag is occuring.
Working in a mixed environment like you are is never fun - but is necessary at times.
How are your credit card payments being handled?  Are you passing the user from your server to another and it's hanging on the way back?
The page passing - is it PHP or ASP?  The process that is hanging (After a few are processed, IIS needs restarting) is it IIS or the PHP module?
I agree with battletech - converting all the pages to one or the other is a good idea.  If you are running all PHP then you will be free to run Apache on the window box or go with a Linux box or whatever.
0
 
LVL 7

Expert Comment

by:maUru
ID: 17168138
fire the new developer

get one that does asp

problem solved.
0
 
LVL 9

Expert Comment

by:Rob_Jeffrey
ID: 17168304
Note to self: Never work for maUru.  :)
0
 
LVL 5

Assisted Solution

by:floorman67
floorman67 earned 200 total points
ID: 17174230
the very best solution in my opinion is a unix OS/apache/php.

by far the most secure, most productive, and least resource consuming OS around, with the highest uptime.

after the set up, the rest is a breeze.

I have 3 unix servers that havent needed rebooting for months.

If you arent familiar with pure unix OS just do some research.

well worth it in the long run.

a nice by product is no MS exploits and constant upgrading/updating, as well as much better security.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question