Hey guys,
Got a new vps, and in my phpinfo page i found that the server api is set to CGI, how do I change it to Apache?
Andy
Hey guys,
Got a new vps, and in my phpinfo page i found that the server api is set to CGI, how do I change it to Apache?
Andy
Server API just means that php is run as cgi nothing to do with the server type.Originally Posted by andyy
Can you help me with some problem as well
http://instanthosting.net/newsite -- the site looks fine in IE and firefox(on old server)
http://4mehosting.com -- if I copy it over to the new vps the site looks great on firefox, but the images go out of place in IE.
PHP Infos
http://instanthosting.net/phpinfo.php
http://4mehosting.com/info.php
Any suggestions? Or should I ask on some programmers forums.
Cheers,
Andy
Question 1: PHP can run under Apache as a module or as CGI. If it is running as CGI, PHPSuexec is enabled. This means that files that are rendered or created by the users web scripts are owned by the user. If it's run as a module, the files will be owned by the user 'nobody'. Running as a CGI, generally makes for a more secure sever setup.
Question 2: The sites look identical to me, using IE. That is to say; everything looks correct.
http://4mehosting.com looks fine for you n I.E? I've asked many people to check for me and the images are out of place.
Mind to take a screenshot for me?
I apologize. I was expecting something drastic. The info buttons are slightly out of alignment, as is a border at the top of the page. I'd say the most likely cause is faulty html coding. Try running it through a validator.
The files and codes are EXACTLY the same on both server.
Just wondering what might've caused it to happen on the new server.
Validator: I checked with the w3 validator and only has 1 error which I'll fix.
http://validator.w3.org/check?uri=ww...doctype=Inline
http://validator.w3.org/check?uri=ww...doctype=Inline
Both with the same results.
Any suggestions? Can it be caused by image software on the server?