I don’t even know where to start. Two days over 14 bloody hours I am trying to install Apache2, MySQL, PHP and PhpMyAdmin. First I had a problem with Apache 2.0.48 but when I downloaded 2.0.53 and it installed fine. Next step Installing MySQL Servers and Clients 4.0.16 was the easiest part. Then I go for PHP and that’s the place where I feel sudden urge to swear uncontrollably.
My installation file is php-4.3.4-installer.exe I select standard install and of course it goes to C:\PHP
Oh yes, I forgot to mention that I am using Windows XP and I am doing tutorials on dynamic web sites from a book I just bought so I’m really following the steps from that book.
So I select:
Address for SMTP server: localhost
(From) address: me@localhost
Select the type of http server: Apache (I set Microsoft IIS 4 of higher on my laptop and it worked)
Now most of you probably know what happens next. Exactly! It throws at me Apache configuration window “ sorry, the software to automatically configure the Apache httpd.conf file has not yet been written. You will have to configure it manually”
But that’s not a problem
In Apache httpd.conf I change and save.
From -DirectoryIndex index.html index.html.var
Into - DirectoryIndex index.html index.html.var index.php
PhP.net says PHP can be installed as a CGI binary or Apache module … in my case it would be inserting into httpd.conf
ScriptAlias /php/ “c:/php/”
AddType application/x-httpd-php .php
Action application/x-httpd-php “/php/php.exe” – for the CGI connection, or
LoadModule php4_module “c:/php/sapi/php4apache2.dll”
AddType application/x-httpd-php .php – for the Apache module connection.
I tried both with no avail.
What should I do now? I installed and uninstalled hundred times tried using php-4.3.9 too.
So I have PHP installed but not configured to work with Apache2.
Skipping that I extract PhpMyAdmin into Apache’s myadmin folder inside htdocs then I open config.inc.php file in dreamweaver and edit
$cfg[‘PmaAbsoluteUri’]= ‘http:127.0.0.1/myadmin1’:
….
$cfg[‘blowfish_secret’]=’cookie’:
….
$cfg[‘Servers’][$I][‘auth_type’]=’cookie’: //Authentication method(config,http or cookie based)?
Save it and hoping to see login page for myadmin when I type htt://127.0.0.1/myadmin but I get something that looks like Unix code instead.
Am I right to believe that is because my PHP isn’t set-up properly? Must be … I tried PhpMyAdmin 2.5.4 and 2.6.0 versions
HELP!