php install question
Posted: Tue Jun 16, 2009 9:49 am
I running apache 2.2 on vista home preium along side php5.2.9 with mysql 5.1.3 and things seemed to go OK with the install except for two problems. When I run http://localhost/ what I get is the " It Works! " from apache, but I have set up an index.php scrip which runs the phpinfo() function. If I add http://localhost/index.php, I see the php information page. I set the documentroot and directory to point to my htdocs directory where the index.php script resides. I added the addtype line AddType application/x-httpd-php .php .php5 .php4 .php3 .phtml as well. Can anyone give me any other avenues to look at to see why the php info page doesn't run with the http://localhost/?
The second problem has to do with mysql and the fact the phpinfo page doesn't see mysql. I did un-comment the extension=php_mysql line and I can open and see my mysql database via phpmyadmin. Again if anyone has any insight into this problem I would appreciate any help.
Thanks,
Tom
The second problem has to do with mysql and the fact the phpinfo page doesn't see mysql. I did un-comment the extension=php_mysql line and I can open and see my mysql database via phpmyadmin. Again if anyone has any insight into this problem I would appreciate any help.
Thanks,
Tom