Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6558
40180 credits Members referred : 374
It's time to use PHP5!
« on: Mar 30, 2006, 12:07:00 PM »
Hello,
I hope you people can help me out...
I need a small budget webhost with windows and apache to run a special dll inside my php scripts.
One option is to use my home pc, is this safe enough while using pache 2.0 and win XP prof? Please tell me what I have to check first. I thinkI use this server location only from some ip adresses (this configuration is done inside the apchache config)
A firewall would be better, because the apache restrictions will work only on port 80, and windows have lots of vurnerabilities.
A quick tip. Use the CURL library for this. It is the fastest way to connect to a remote host.
Of course there is a firewall, actually I have to configure my router to let this pc through this firewall. Right Curl is an option but I'm afraid this lib is not available on my shared hosting
If it is not you can try the dl() function, but propably it will not be available too.
The only thing i have to do is to get some dynamic images using file functions, nothing special, that why my budget is so small. It's more important that no one can crack my home network.
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 8362
43159 credits Members referred : 3
« Reply #9 on: Mar 30, 2006, 01:01:57 PM »
No not at all.
I have made some benchmarks to test apache/php/mysql on windows and linux, and believe linux is much faster.
But for the thing you want to do (that you have to use windows also) you can install a linux machine with a virtual machine with windows. That works great, but you must have a lot of memory to support it(2Gb+).
I have made some benchmarks to test apache/php/mysql on windows and linux, and believe linux is much faster.
But for the thing you want to do (that you have to use windows also) you can install a linux machine with a virtual machine with windows. That works great, but you must have a lot of memory to support it(2Gb+).
Ye,s I know it's faster to use a Linux, about this benchmark test you made, what is the performance difference between LAMP and WAMP?
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 8362
43159 credits Members referred : 3
« Reply #11 on: Mar 30, 2006, 01:11:15 PM »
The big difference is with mysql.
I can't tell exact numbers, but I try the same queries on windows and linux (with the linux pc lower specs than the windows one) and I get more than 20% difference.
I guess this is because of the file system. Even with NTFS windows still s**k