You are here: Re: [PHP] why php not running ? « PHP « IT news, forums, messages
Re: [PHP] why php not running ?

Posted by Curt Zirzow on 12/04/05 22:04

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация