Re: why php not running ?

From: Date: Sun, 04 Dec 2005 20:04:17 +0000
Subject: Re: why php not running ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-226847@lists.php.net to get a copy of this message
On Fri, Dec 02, 2005 at 11:53:13AM +0200, Mehmet Fatih AKBULUT wrote: > hi all. > i installed php5_extensions on my system (Freebsd5.4) > please look the lines below and tell me where i am doing something wrong. > > [root@localhost] -> [~]#php /*hit the tab*/ > php php-config phpize > [root@localhost] -> [~]#php > > a simple php code: > > [root@localhost] -> [~]#cat first.php > <%php > echo "Hello World!"; > %> > [root@localhost] -> [~]# > > /* chmod a+x first.php*/ > > when trying to run the code : > > [root@localhost] -> [~]#php first.php > PHP Warning: Method panda::__set() must take exactly 2 arguments in Unknown > on line 0 According to the code you cat'ed there is no panda object that is defined so my first assumption is that you have a file that is set in your php.ini: auto_prepend_file=/some/panda.php > Segmentation fault (core dumped) Even at that, this core dump shouldn't be happening. I'm assuming you installed this via ports. There are two thing i can think of that should be checked before getting a backtrace: 1) are you uptodate on your ports? have you done a cvsup recently? 2) what does 'php -v' say? Curt. -- cat .signature: No such file or directory

« previous php.general (#226847) next »