18:17.59 -!- Starting query in freenode with yos 18:17.59 hi worth 18:18.10 Fatal error: Unknown function: apache_request_headers() is this php problem ? or apache 18:37.21 -!- yos n=norok@a89044.upc-a.chello.nl 18:37.21 -!- ircname : The"Norocos" 18:37.21 -!- channels: ##freebsd 18:37.21 -!- server : irc.freenode.net http://freenode.net/ 18:37.21 -!- : is identified to services 18:37.21 -!- End of WHOIS 18:37.33 let me check 18:37.36 which php version is it? 18:37.42 PHP5 18:37.56 on others BOX my script work FINE 18:38.19 on this one i am not addmin ..i have my files to a web Hosting server. 18:39.10 php5 on both servers? 18:39.19 yes 18:39.20 mine gives this -- http://powerslave.the-source.us/~vidar/apa.php 18:39.35 the code is write in php5 18:39.45 (on PHP/5.1.4) 18:40.21 is php installed as an apache module? 18:40.24 (mod_php) 18:40.31 on your link i dont understund much :) 18:40.42 yes it is 18:40.45 the link was just to test if it worked on my system :) 18:40.50 i will paste you the ERROR line ok 18:40.53 ok 18:41.27 apache_request_headers() will only work when php is invoked as an apache module, not when it's running as a cgi 18:41.46 i have PHP5 cgi install 18:41.49 aha 18:41.51 i need pgp cli 18:41.55 it won't work on cgi 18:42.01 on php5 ( cli ) work 18:42.18 jocurion@jocurionline.eu [~/public_html/ww1/+_Server_+]# php -v 18:42.18 PHP 5.1.6 (cgi) (built: Sep 11 2006 18:53:50) 18:42.18 Copyright (c) 1997-2006 The PHP Group 18:42.18 Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies 18:42.18 jocurion@jocurionline.eu [~/public_html/ww1/+_Server_+]# 18:42.38 PHP 5.1.6 (cgi) (built: Sep 11 2006 18:53:50) No working fine 18:42.52 on PHP 5.x ( cli ) is working 18:43.00 you have to run php as a module, not as a cgi, or apache_request_headers() will not work 18:43.14 so as a module 18:43.16 yes 18:43.19 what i must to do 18:43.22 ? 18:43.42 i need to install the lib module php ? 18:43.49 cd /usr/ports/lang/php5; make config 18:43.56 No 18:44.06 mark this one: [X] APACHE Build Apache module 18:44.06 i am a User not a admin...root 18:44.14 ohh, well then you're fucked 18:44.31 can you see JPG ? pic ? 18:44.38 yes 18:44.45 i can make a print screan for you 18:44.51 no need 18:44.53 ok i go login Cpanel 18:44.54 I know what the problem is 18:45.04 you have to install php as a module 18:45.11 what i must ask the Support off my server ? 18:45.30 tell them you need mod_php instead of cgi 18:45.52 aha 18:46.02 theat must be add in apache conf ? 18:46.06 or php.ini 18:46.38 you have to reinstall php 18:46.41 as a module 18:47.16 So 18:47.16 PHP 5.1.6 (cgi) (built: Sep 11 2006 18:53:50) 18:47.16 Copyright (c) 1997-2006 The PHP Group 18:47.23 Is not a good Box for me. 18:47.33 no, you need module, not cgi 18:48.06 i need 18:48.07 admin@jocurionline:~$ php -v 18:48.07 PHP 5.1.2-1 (cli) (built: Jan 18 2006 06:49:47) 18:48.07 Copyright (c) 1997-2006 The PHP Group 18:48.07 Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies 18:48.07 admin@jocurionline:~$ 18:48.37 i whant to ask you so: 18:48.38 you can keep that, BUT YOU HAVE TO INSTALL THE APACHE MODULE 18:48.48 ok 18:48.52 i will tell them 18:48.55 thanks 18:48.59 ok, good 18:49.08 and ...you are OK ?:) 18:49.13 I'm fine 18:49.33 i get the best Romanian Coder ...a good BOY work HARD. ( he get all my respect ) 18:49.49 the fisrt Team ( suck ) run away :) 18:50.03 i lose 300$ with them :) 18:50.04 good for you, I hope it works out