Using the book “Build Your Own Database Driven Web Site Using PHP & MySQL” I have been trying to get my own php, msql webserver.
The install worked fine. The Apache server works. If I type http://localhost I get the “It works” webpage. The php works too. But In have failed to install phpmyadmin, and I can’t figure out what I am doing wrong. Error message: phpmyadmin can’t load msql extension.
I have followed the description in the book carefully.
PHP
extension_dir = “C:\php\ext”
extension=php_mysqli.dll
doc_root =“C:\Program (x86)\Apache Software Foundation\Apache2.2\htdocs”
session.save_path = “C:\Windows\Temp”
APACHE
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
LoadModule php5_module “C:/php/php5apache2_2.dll”
AddType application/x-httpd-php .php
PHPIniDir “C:/php”
I created a config.inc.php and put this in it:
<?php
$cfg[‘blowfish_secret’] = ‘bhvhbv3577h3qguw83qdh37b2fnqelinbq38qhg’;
$cfg[‘Servers’][1][‘auth_type’] = ‘cookie’;
?>
But the phpmyadmin will not start. Since the webserver is a localhost only, its not password protected.
Any clue to what to to?