Jump to content

how to set the server up and running


shiva86

Recommended Posts

Hi,

 

I have PHP,Apache server, Mysql installed and running successfully on windows vista operating system. I have all the PHP code and the imported mysql dump file. I need to setup the test server up and running. Can any one help me to set my server up and running please.

 

Thanks in advance

 

shiva

Link to comment
Share on other sites

Firstly thanks for your kind reply.

 

I have everything with me now, but the problem is to configure PHP with PHP code and then with Mysql and apache server. All the code are separate in PHP .

 

Can u please tell me the process of set the server up and running , so i can see the outputs and make changes readily ........

 

thanks in advance

 

shiva

Link to comment
Share on other sites

hey thanks for your quick reply.

 

I want to execute the entire file at the same time, instead of including a single file. I want to see the output as if we are browsing on the net. So in this case should i include al the files at the same time, if so what file name should i use ....

 

shiva

Link to comment
Share on other sites

Sorry but your last post made little sense.

 

I want to execute the entire file at the same time, instead of including a single file. I want to see the output as if we are browsing on the net.

 

Um, to browse the internet you point your browser to a resource. To execute php is no different.

Link to comment
Share on other sites

actually the problem is i have been modifying a website, which has been already built and working. so i have all the code and everything, i need to keep it running to make changes. But i m facing problems like above

 

Warning: require_once(../../global-inc.php) [function.require-once]: failed to open stream: No such file or directory in C:\\Apache2.2\htdocs\login.php on line 2

 

Fatal error: require_once() [function.require]: Failed opening required '../../global-inc.php' (include_path='.;C:\php5\pear') in C:\\Apache2.2\htdocs\login.php on line 2

 

 

please let me know what to do ...

 

shiva

Link to comment
Share on other sites

  • 3 weeks later...

The error message -

 

Warning: require_once(../../global-inc.php) [function.require-once]: failed to open stream: No such file or directory in C:\\Apache2.2\htdocs\login.php on line 2

 

says that that login.php is trying to include a file called global-inc.php. The problem is that it is using a path (../..) that refers to the C: root directory.

So what it's really trying to find is "c:\global-inc.php". If you edit line 2 of login.php and remove the path leaving just the file name it ought to work. Also note that windows uses backslashes rather than forward slashes in file name paths. That may also cause you a problem somewhere else down the line.

 

Best of luck,

Gene

 

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.