How to get Apache Running and Reg Page working on Windows 7?

12/27/2009 16:57 catface2345#1
How does it work, on my Windows 7 Home premieum, Apache just closes and i use WAMP, any sugestions>
12/27/2009 17:53 Nassuz#2
Quote:
Originally Posted by catface2345 View Post
How does it work, on my Windows 7 Home premieum, Apache just closes and i use WAMP, any sugestions>
Maybe this will fix the issue:

Be sure to run with admin rights,when you install wamp rightclick on the installer,choose "run as admin..."

When running the program,same thing,rightclick-"run as admin..."

Be sure you log innto win7 on a acc with admin rights.

Another thing,sometimes you can try run programs with win xp compability, rightclick on a .exe-privilieges-run this program with win xp compability
12/27/2009 19:02 catface2345#3
ok ill try
12/27/2009 19:57 ProSkyZ#4
If you still got a problem with it then use Apache from Xampp
12/27/2009 23:18 catface2345#5
i used both but i get this error


Warning: main(./inc/class.captcha.php) [function.main]: failed to open stream: No such file or directory in c:\wamp\www\config.php on line 2

Fatal error: main() [function.require]: Failed opening required './inc/class.captcha.php' (include_path='.;C:\php5\pear') in c:\wamp\www\config.php on line 2
12/27/2009 23:32 mostafa123123#6
how to make site to make people register into my server ?
12/28/2009 02:17 keithbell1234#7
if u need help ask me on msn [Only registered and activated users can see links. Click Here To Register...] cause im now running everythink on windows 7 ultimate
12/28/2009 02:28 Eurion#8
Quote:
Originally Posted by catface2345 View Post
i used both but i get this error


Warning: main(./inc/class.captcha.php) [function.main]: failed to open stream: No such file or directory in c:\wamp\www\config.php on line 2

Fatal error: main() [function.require]: Failed opening required './inc/class.captcha.php' (include_path='.;C:\php5\pear') in c:\wamp\www\config.php on line 2

The error tells you pretty much what is wrong. Check inside you have the class.captcha.php inside your www folder. If you do then chcek out your config.php right around the second line, it should give you some info.
12/28/2009 02:42 keithbell1234#9
Quote:
Originally Posted by Eurion View Post
The error tells you pretty much what is wrong. Check inside you have the class.captcha.php inside your www folder. If you do then chcek out your config.php right around the second line, it should give you some info.
i know wat exacly it is in his config it will look like this

<?php
require_once './inc/class.captcha.php';
// Configurations
$myhost="localhost";
$mypass="test"; //your server login password
$myuser="root"; //your server login username
$mydbacc="account"; <-----change that to my //your server account database
$mydbdata="my"; //your server my database name
$serveraddress="86.153.151.142"; //your server ip
$serverport=5816; //your server connection port
$mydb="my"; //your server my database
$servername = "Immortal-Gaming"; //Put your servername here.
$link = "http://86.153.151.142/"; //Put your website link here

// Dont Edit after this
mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($mydb);
?>


its wat i did and should work
12/28/2009 02:46 Knight^Hawk#10
your pass and user in your config.php cannot be root and test
12/28/2009 02:51 Eurion#11
Quote:
Originally Posted by keithbell1234 View Post
i know wat exacly it is in his config it will look like this

<?php
require_once './inc/class.captcha.php';
// Configurations
$myhost="localhost";
$mypass="test"; //your server login password
$myuser="root"; //your server login username
$mydbacc="account"; <-----change that to my //your server account database
$mydbdata="my"; //your server my database name
$serveraddress="86.153.151.142"; //your server ip
$serverport=5816; //your server connection port
$mydb="my"; //your server my database
$servername = "Immortal-Gaming"; //Put your servername here.
$link = "http://86.153.151.142/"; //Put your website link here

// Dont Edit after this
mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($mydb);
?>


its wat i did and should work
Your require once is wrong. It should look like
Code:
 require_once('./inc/class.captcha.php');
Quote:
Originally Posted by Knight^Hawk View Post
your pass and user in your config.php cannot be root and test
That is incorrect. If the website is hosted on the same machine as the server files, you can use root/test. If your website is external then you must set up a specific user/pass for the host.
12/28/2009 03:05 keithbell1234#12
Quote:
Originally Posted by Eurion View Post
Your require once is wrong. It should look like
Code:
 require_once('./inc/class.captcha.php');


That is incorrect. If the website is hosted on the same machine as the server files, you can use root/test. If your website is external then you must set up a specific user/pass for the host.
heres the proper one i use :P

<?php

// Configurations
$myhost = "localhost"; //your database ip
$mypass = "test"; //your server login password
$myuser = "root"; //your server login username
$mydb = "my"; //your server my database
$myaccount ="my"; //your server account database
$servername = "Immortal-Gaming"; //Put your servername here.

// Dont Edit after this, unless you know what you're doing.
mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($mydb);


?>
12/28/2009 03:08 CyberServer#13
Quote:
Originally Posted by keithbell1234 View Post
heres the proper one i use :P

<?php

// Configurations
$myhost = "localhost"; //your database ip
$mypass = "test"; //your server login password
$myuser = "root"; //your server login username
$mydb = "my"; //your server my database
$myaccount ="my"; //your server account database
$servername = "Immortal-Gaming"; //Put your servername here.

// Dont Edit after this, unless you know what you're doing.
mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($mydb);


?>
thanks maybe this helped more people here;)
12/29/2009 09:00 koreng#14
window7 better??
12/29/2009 10:11 forcer#15
doesn't really matter which OS(Windows XP/2003/Vista/2008/7/2008 R2) you run, php/mysql/apache just works as in XP/2003.