|
You last visited: Today at 20:47
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.
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!
|
|
|
05/30/2010, 14:15
|
#47
|
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 ?
|
|
|
06/05/2010, 22:09
|
#48
|
elite*gold: 0
Join Date: Jul 2009
Posts: 1,255
Received Thanks: 833
|
Server IP
|
|
|
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`?
|
|
|
06/10/2010, 17:44
|
#50
|
elite*gold: 0
Join Date: Jul 2009
Posts: 1,255
Received Thanks: 833
|
versuch ma
"portsnap fetch extract"
danach nochma ^.^
|
|
|
07/26/2010, 06:57
|
#51
|
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 error: Call 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_HOST, SQL_HP_USER, SQL_HP_PASS); $sqlServ = mysql_connect(SQL_HOST, SQL_USER, SQL_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?
|
|
|
07/30/2010, 09:30
|
#52
|
elite*gold: 0
Join Date: Oct 2008
Posts: 41
Received Thanks: 4
|
@Hardcore @ Meine PN an dich:
Wichtig!
Mit freundlichen Grüßen,
jajamanhihi
|
|
|
08/04/2010, 01:36
|
#53
|
elite*gold: 0
Join Date: Sep 2009
Posts: 132
Received Thanks: 19
|
Quote:
Originally Posted by Lexico
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 error: Call 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_HOST, SQL_HP_USER, SQL_HP_PASS);
$sqlServ = mysql_connect(SQL_HOST, SQL_USER, SQL_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
|
|
|
08/04/2010, 03:22
|
#54
|
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.
|
|
|
08/04/2010, 12:26
|
#55
|
elite*gold: 0
Join Date: Sep 2009
Posts: 132
Received Thanks: 19
|
Quote:
Originally Posted by dennis96s1
wo ist die .100 ? (habe ka von DynDNS) aber Troßdem.
|
Man braucht nicht unbedingt .100, man kann auch jede andere freie IP benutzen.
|
|
|
08/04/2010, 13:51
|
#56
|
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!
|
|
|
08/13/2010, 17:07
|
#57
|
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
|
|
|
09/14/2010, 15:59
|
#58
|
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 !!!??
|
|
|
09/14/2010, 16:59
|
#59
|
elite*gold: 0
Join Date: Jul 2009
Posts: 1,255
Received Thanks: 833
|
ist nicht empfehlenswert besorg dir lieber nen webspace
|
|
|
12/01/2010, 22:55
|
#60
|
elite*gold: 0
Join Date: Jun 2008
Posts: 112
Received Thanks: 22
|
Alles wunderbar =)
|
|
|
 |
|
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.
|
|