Register for your free account! | Forgot your password?

You last visited: Today at 20:47

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[How-To]Apache und PhP auf FreeBSD

Discussion on [How-To]Apache und PhP auf FreeBSD within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Closed Thread
 
Old 05/28/2010, 10:55   #46
 
elite*gold: 0
Join Date: Apr 2010
Posts: 1,264
Received Thanks: 485
Genialer TuT thanks^^ habe ich aber vorher schon gewusst!
Almari is offline  
Old 05/30/2010, 14:15   #47
 
Falasia's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 128
Received Thanks: 18
Ich hab alles so weit gemacht, aber kann über localhost nicht auf die HP zugreifen, oder wie rufe ich sie auf ?
Falasia is offline  
Old 06/05/2010, 22:09   #48
 
syshack3rz's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 1,255
Received Thanks: 833
Server IP
syshack3rz is offline  
Old 06/10/2010, 13:57   #49
 
elite*gold: 0
Join Date: Dec 2009
Posts: 1,083
Received Thanks: 331
Bei mir kommt das:
/usr/ports/graphics/php5-gd: Permission denied.
Ist doch Fehler mit 777 oder? Was muss ich da machen`?
synox07162 is offline  
Old 06/10/2010, 17:44   #50
 
syshack3rz's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 1,255
Received Thanks: 833
versuch ma

"portsnap fetch extract"

danach nochma ^.^
syshack3rz is offline  
Old 07/26/2010, 06:57   #51
 
.Rebel's Avatar
 
elite*gold: 60
Join Date: May 2010
Posts: 766
Received Thanks: 1,025
Hi i have a problem i have put the HP on freebsd install the apache22 and php5 but i dont understand why i cant conect the hp to the db

i have set the ip 192.168.1.250 and the server work perfect just the the hp dont conect show me this
PHP Code:
Fatal errorCall to undefined function mysql_connect() in /usr/local/www/apache22/data/index.php on line 15 
and the line 15 and 16 are the lines of the db this ones
PHP Code:
  $sqlHp mysql_connect(SQL_HP_HOSTSQL_HP_USERSQL_HP_PASS);
  
$sqlServ mysql_connect(SQL_HOSTSQL_USERSQL_PASS); 
and this ones go get the info on the file
PHP Code:
if(!file_exists('./inc/config.inc.php')) 
and on the file is:
PHP Code:
      DEFINE('SQL_HOST''192.168.1.250');
      
DEFINE('SQL_USER''root');
      
DEFINE('SQL_PASS''metin2');
      
      
DEFINE('SQL_HP_HOST''192.168.1.250');
      
DEFINE('SQL_HP_USER''root');
      
DEFINE('SQL_HP_PASS''metin2');
      
DEFINE('SQL_HP_DB''account'); 
can someone give me a hand pls?
.Rebel is offline  
Old 07/30/2010, 09:30   #52
 
jajamanhihi's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 41
Received Thanks: 4
@Hardcore @Meine PN an dich:
Wichtig!

Mit freundlichen Grüßen,
jajamanhihi
jajamanhihi is offline  
Old 08/04/2010, 01:36   #53
 
~Deadly~'s Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 132
Received Thanks: 19
Quote:
Originally Posted by Lexico View Post
Hi i have a problem i have put the HP on freebsd install the apache22 and php5 but i dont understand why i cant conect the hp to the db

i have set the ip 192.168.1.250 and the server work perfect just the the hp dont conect show me this
PHP Code:
Fatal errorCall to undefined function mysql_connect() in /usr/local/www/apache22/data/index.php on line 15 
and the line 15 and 16 are the lines of the db this ones
PHP Code:
  $sqlHp mysql_connect(SQL_HP_HOSTSQL_HP_USERSQL_HP_PASS);
  
$sqlServ mysql_connect(SQL_HOSTSQL_USERSQL_PASS); 
and this ones go get the info on the file
PHP Code:
if(!file_exists('./inc/config.inc.php')) 
and on the file is:
PHP Code:
      DEFINE('SQL_HOST''192.168.1.250');
      
DEFINE('SQL_USER''root');
      
DEFINE('SQL_PASS''metin2');
      
      
DEFINE('SQL_HP_HOST''192.168.1.250');
      
DEFINE('SQL_HP_USER''root');
      
DEFINE('SQL_HP_PASS''metin2');
      
DEFINE('SQL_HP_DB''account'); 
can someone give me a hand pls?
You have to install the Database components for PHP 5.
PHP Code:
cd /usr/ports/databases/php5-mysql
make install clean 
~Deadly~ is offline  
Thanks
1 User
Old 08/04/2010, 03:22   #54

 
LxR'EsoZiaL's Avatar
 
elite*gold: 15
Join Date: Mar 2010
Posts: 4,270
Received Thanks: 2,499
Ist euch aufgefallen das Exolein sooo erbärmlich ist und sich 2 Neben Acc´s gemacht hat um Thanksés zu kassieren ?

Quote:
DEFINE('SQL_HOST', '192.168.1.250');
wo ist die .100 ? (habe ka von DynDNS) aber Troßdem.
LxR'EsoZiaL is offline  
Old 08/04/2010, 12:26   #55
 
~Deadly~'s Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 132
Received Thanks: 19
Quote:
Originally Posted by dennis96s1 View Post
wo ist die .100 ? (habe ka von DynDNS) aber Troßdem.
Man braucht nicht unbedingt .100, man kann auch jede andere freie IP benutzen.
~Deadly~ is offline  
Old 08/04/2010, 13:51   #56
 
NiGhtWaRe³'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 53
Received Thanks: 23
Gib mal deine Dyndns I-Net Addresse ein! ( z.B:xxxxx.ath.cx ), eben was ihr bei dyndns.org ausgewaehlt habt!
NiGhtWaRe³ is offline  
Old 08/13/2010, 17:07   #57
 
VIЯUZ's Avatar
 
elite*gold: 6
Join Date: Dec 2009
Posts: 195
Received Thanks: 73
bei mir funkt alles soweit nur wen ich die adresse aufrufe komt nur weiß mehr nicht
VIЯUZ is offline  
Old 09/14/2010, 15:59   #58
 
-Tuni's Avatar
 
elite*gold: 20
Join Date: Jun 2010
Posts: 2,237
Received Thanks: 956
Php funkt net o.o !!!
Muss ich die datein woanders hochladen ?
Das php funkt oder so !!!??
-Tuni is offline  
Old 09/14/2010, 16:59   #59
 
syshack3rz's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 1,255
Received Thanks: 833
ist nicht empfehlenswert besorg dir lieber nen webspace
syshack3rz is offline  
Old 12/01/2010, 22:55   #60
 
elite*gold: 0
Join Date: Jun 2008
Posts: 112
Received Thanks: 22
Alles wunderbar =)
Wodkasebi is offline  
Closed Thread


Similar Threads Similar Threads
[Root] mit FreeBSD geeigned für MT2/Proxy/Apache/ dum dum dum !!!
08/30/2010 - Metin2 Trading - 11 Replies
Moin, Hiermit verkaufe/vermiete ich meinen RootServer bekannt als Deciated Server Daten: # Intel Core i7 940 2.93Ghz # 2048 MB DDR3 RAM # 500 GB 7.200 RPM # 10000 GB Traffic p/m
Installing Apache on FreeBSD
05/08/2010 - Tutorials - 0 Replies
Apache @ FreeBSD Look here; /usr/ports/www/apache22 make install clean A Apache HTTP Server script apache22.sh is located at /usr/local/etc/rc.d to provide Apache HTTP Server start and shutdown service. To enable Apache web server to automatically starts whenever after server reboots, issue the following command at CLI: echo ‘apache22_enable =”YES”‘ >> /etc/ rc.conf
Cant run apache
04/19/2010 - EO PServer Hosting - 1 Replies
can someone help me apache wont run anymore
Apache
11/14/2009 - Metin2 Private Server - 10 Replies
Hallo, Apche startet nicht weil Port 80 bestezt ist. Wo sehe ich die Ports? mfg
[Help]Apache
08/20/2008 - EO PServer Hosting - 5 Replies
hello well its from ahmed not Crusher i was setting up Alpha on the new dedicated server all runned good Alpha runned so good etc when i tryed to run Apache it opens it self then closes it self Imedieltly what can i do please help tryed to Install wamp again and make a copy from wamp Didnt work Any one have any idea Please Share it here



All times are GMT +1. The time now is 20:49.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.