[How-To]Apache und PhP auf FreeBSD

05/28/2010 10:55 Almari#46
Genialer TuT thanks^^ habe ich aber vorher schon gewusst!
05/30/2010 14:15 Falasia#47
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 syshack3rz#48
Server IP
06/10/2010 13:57 synox07162#49
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 syshack3rz#50
versuch ma

"portsnap fetch extract"

danach nochma ^.^
07/26/2010 06:57 .Rebel#51
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?
[Only registered and activated users can see links. Click Here To Register...]
07/30/2010 09:30 jajamanhihi#52
@Hardcore @Meine PN an dich:
Wichtig! ;)

Mit freundlichen Grüßen,
jajamanhihi
08/04/2010 01:36 ~Deadly~#53
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?
[Only registered and activated users can see links. Click Here To Register...]
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 LxR'EsoZiaL#54
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 ~Deadly~#55
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.
08/04/2010 13:51 NiGhtWaRe³#56
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 VIЯUZ#57
bei mir funkt alles soweit nur wen ich die adresse aufrufe komt nur weiß mehr nicht
09/14/2010 15:59 -Tuni#58
Php funkt net o.o !!!
Muss ich die datein woanders hochladen ?
Das php funkt oder so !!!??
09/14/2010 16:59 syshack3rz#59
ist nicht empfehlenswert besorg dir lieber nen webspace
12/01/2010 22:55 Wodkasebi#60
Alles wunderbar =)