Jump to content

Martin-Perera-sweetman

Members
  • Posts

    3
  • Joined

  • Last visited

Martin-Perera-sweetman's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. thanks for the reply> how do I go about adding to the windows path? config files/maybe as i said very knew to this.
  2. sadly ..yes... the course I am doing is almost completed, in order to officially complete the course and get the bit of paper saying i can do the darn thing. I have this module to complete... for some obscure reason this part of the course uses these antiquated programs on an old XP OS. I tried getting them to work on my Win 7 to no avail so dusted off my old XP laptop as the program also specifies this OS. it is ridiculous I know, but as i have spent nearly a year doing this darn course i would like to finish it off. failing this....... which NEW version of these programs integrate effectively on a Win 7 OS. I would rather use manual installation as i tend to learn more that way.
  3. 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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.