Jump to content

PHP beginer help


Recommended Posts

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 3 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.