Click Fraud Protection
PHP related blog, freelancer to hire!

Posts Tagged php5

FastCGI and PHP Auth (HTTP_AUTH) problem solved

There is a problem with Authorisation headers and php running as FastCGI. To solve it you need to tell FastCGI to pass authorisation headers and then translate it back to PHP So in your vhost file or .htaccess file do: RewriteEngine on RewriteCond %{HTTP:Authorization} ^(.+) RewriteRule ^(.*)$

Read more

Use PHP and PDO to connect to MS SQL Server (Zend Framework)

Problems connecting to MS SQL server from Zend Framework? Message: The mssql driver is not currently installed Solution is simple Install pdo_mssql driver: (Ubuntu) #sudo apt-get install php5-sybase #sudo /etc/init.d/apache2 restart On Centos you need to install pdo_dblib (any problems check here) It will not reflect in

Read more

PHP Mail problem on Ubuntu

I’ve installed fresh version of Ubuntu 9.04 with Lamp, but I couldn’t send emails outside. Problem was SMTP auth of outgoing server, spending time found who made my day. Thanks

Read more