My friend is using a webmaster and he says that the script need some special functions in the server Webmaster says trust me, i worked with them 5months they are good in what they do but because their hosting is clustered they run php,mysql and all in cgi mode which destroy some scripts working state there are 2 MAIN problems 1. php in cgi mode 2. htaccess file that also run in cgi that the mysql socket type of connection isn\'t possible The server said In your server your can access php5 as apache module and run .htaccess for it. Check http://c23.servage.net/phpinfo.php You can run php4 as cgi but cannot run .htaccess for it. Check http://c23.servage.net/phpinfo.php 4 My question Is there anyway to work around this kind of problem or it is a must to have this?
Servage always says that PHP is better thanb CGI so it advices its customers to mostly use php!( I am a servage customer)
PHP and CGI in this case is the same thing, they are both php. The difference is, when you use php as an apache module you can use apache specific features, such as .htaccess directives, when you build php as a CGI ( common gateway interface ), it runs as a standalone service and cannot interact with apache in the same was as an actual apache module. None of this helps if you cannot get the correct connection to mysql, however there is no reason to use the system socket to connect to mysql at all, he should change his code so it works in most environments and in most environments you cannot directly access mysql's socket. It's down to the webmaster to make his code compatible with the platform he intends it for.
krakjoe you are so wise i am going to make a small shrine next to my buddah here with your photo hahaha thanks Can you change the script so it will work on this server?
ok great i let my friend contact you tomorrow when the code is finshed and uploade. Also let me know if you could that scriptlance work i posted in your msn
I got lots of clients I'm catching up on where I had to take some time out to look after my mum last month, I'm getting round to it slowly .....