On 03/31/2010 01:41 PM, Henryk Cichy wrote:
Dear Sir,
I would like to start programming using PHP,Apatche and MySql but I
couldn't start PHP.
I installed Apache v.2.2.15 ( directory c:\apatche2.2). It works.
I installed PHP 5.2.13 for Windows to directory "c:/php" and add :
PHPIniDir = "c:/php/
What I have done is to "uninstall" PHP5 and "re-installed" PHP 4.4.4 so as
to find out if I can connect to the MYSQL Database.
In PHP 4 the MySQL extension was built-in so there was no need to enable
it after installing PHP. This changed with PHP 5. The installation of
this extension is shown
Get rid of this:
Options +ExecCGI AddHandler cgi-script .php
If you want to run php scripts in their own directory, use something like
Action application/x-httpd-php "c:/php/php.exe"
Otherwise, yes, Apache expects CGI scripts to begin with a shabang (#!) and full path to binary