Jump to content

PHP config


Recommended Posts

Good Evening everyone,

 

Im struggling with what I think and hope is a simple and easy to answer problem but after a day of learning HTML and css The time has come to ask for assistance.

 

I have installed both the latest version of php and apache (on to a windows XP based pc)..I have configured both as correctly as I believe and I am able to run php scripts (the php.info and a time php script from the mySQL website) but i am unable to run any scripts through a test website I have been constructing over the past couple of days.  These scripts that have worked have been run from the htdocs file within the apache directory.

 

My simpletons view of this would be to change the directory within the apache conf. file which determines where php files are executed from.  However being the long day it has and having a short time to correct this problem (this is a university project due in imminently) I was wondering if anyone has any quick fixes that could assist me.

 

cheers

 

 

Link to comment
Share on other sites

My test website is currently located within a sub folder of my documents.

 

Ive actually managed to change the directory from where I can store and then execute .php files (this is also the same directory as my test website) but cannot run .php files through my website as yet.

 

I am currently running my site and the .php files from my universities webserver but would very much like to run this directly from my lap top until my own web server is up and running.

 

Any suggestions on this issue?

Link to comment
Share on other sites

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.