Jump to content


Photo

PHP beginer help


  • Please log in to reply
8 replies to this topic

#1 apolon10

apolon10
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 27 March 2004 - 02:17 AM

I can't make "Mysql connection" in dreamweaver error: "HTTP error code 405 method not allowed". I have install apache 1.3, PHP 4.xx and Mysql server, I put few lines(from PHP help file) in httpd.conf in apache to support PHP pages but I don't know what else to do to configure my dreamweaver workink whith PHP pages, I have ebook to learn PHP in dream. but a can't start working with recordsets until I create mysql connection.

Thanks and I'm sorry my bad English!

#2 morpheus.100

morpheus.100
  • Members
  • PipPipPip
  • Advanced Member
  • 145 posts

Posted 27 March 2004 - 07:45 AM

You would need to be more specific with details like operating system and what code you change in conf. Config of apache and php isnt really a beginers job and half the tutorials I seen on the net are bull. If you need the easy solution go to http://www.firepages.au and download the latest release of GTk. The site is often out of bandwidth so you may have to get it from www.sourceforge.com. Remove all of your old installation and run the installer. Apache will then install to C:/phpdev. Within shall be 2 folder for you to keep files.www and private. Private is above root and should be used for anything you do not wish others to see. www is open to public access via port via http://your ip addy:80 whilst online with server running. Oh and bung the guy a donation.

#3 apolon10

apolon10
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 27 March 2004 - 11:49 AM

My OP is win98se. I wrote this line to apache httpd.confg:

LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php

I think that's working, when I put PHP page into apache Htdocs directory I can open it in internet explorer over apache localhost. I think problem is in Mysql server, how to configure mysql that can work with apache.

I need 'only' to make "mysql connection" in dreamweaver and i have rest in my tutorial.

#4 apolon10

apolon10
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 27 March 2004 - 11:54 AM

I dont know what GTk is but I will download it now, you tell me to remove all old installation, did you meen 'apache and mysql and php' or some of them.

thanks

#5 morpheus.100

morpheus.100
  • Members
  • PipPipPip
  • Advanced Member
  • 145 posts

Posted 27 March 2004 - 06:06 PM

Remove all as GTk is a complete package and will self install to the directory i mentioned earlier.

#6 apolon10

apolon10
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 27 March 2004 - 08:19 PM

Thanks! GTK is very good, my PHP working properly. :D :D

#7 apolon10

apolon10
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 28 March 2004 - 12:32 PM

Still one problem! Now I can't preview (F12) page in dreamweaver, when I press F12 dreamweaver stop working [not responding], but if I open one Internet explorer window before preview It's working.

#8 PHP Monkeh

PHP Monkeh
  • Members
  • PipPipPip
  • Advanced Member
  • 409 posts
  • LocationUnited Kingdom

Posted 29 March 2004 - 09:52 AM

Don't know how to fix that so I guess it's a problem you're just going to have to live with :(
No monkey business
[br]Remember the manual PHP.net
Legacy Design

#9 radeon|x

radeon|x
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 14 April 2004 - 04:27 AM

<_< Stupid thing it makes the page load up in a browser window to lazy to open one its self maybee that will be fixed in the next version or a patch




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users