Hi Guys
I am a newbie at this and need some help.
I have installed Apache 1.3.33 on my XP service pack 3 machine, and I am trying to get php 5.0.1 and MySQL 4.01 to function together.
Apache appears to be running, can start and stop it using cmd.exe and it shows up in service.msc.
have copied php5ts.dll to C:\Program Files\Apache Group\Apache\bin and php.ini to C:\WINDOWS
have edited Apache httpd.conf file
LoadModule php5_module "c:/php/php5apache.dll"
Add AddModule mod_php5.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
DirectoryIndex index.html index.php
see attached http.txt.
I have set up root admin password with MySQL and this works get the mysql> cursor
tried the basis php info test,
<?php phpinfo(); ?>
save this as phpinfo.php (ensured it was not a txt file) to C:\Program Files\Apache Group\Apache\htdocs
tried running this on IE8 http://localhost/phpinfo.php
no luck blank page and just ask if i want to print the file?
" Do you want to save this file, or find a program online to open it?"
tried testing mysql connection.
<?php
echo mysql_connect ('localhost', 'username', 'password'); ?>
same result.
tried to enable support for MySQL in php.ini file located in c:/windows
extension=php_mysql.dll
removed ;
extension_dir = C:\\\\php\\\\ext
have also tried "c:/php/ext" c:\\php\\ext\\ "c:\\\\php\\\ext" with starts and stops of apache with each attempt.
have even tried adding the libmysql.dll file directly to the System32 directory (C:\\WINDOWS\\system32)
to no avail, every time i try to load the php file in any browser on line or off line, it doesnt load the file it just asks if i want to download it. If i do then it reads it as though it is off the HD and therefore does not parse the file as PHP.
does anyone have any ideas what is happening here.
httpd.txt