滅びの呪文を唱える
『バルス!!』
TypeError: Error when calling the metaclass bases
module.__init__() takes at most 2 arguments (3 given)from module import name1,name2module.name1() TypeError: unbound method __init__() must be called with ChilidClass instance as first argument (got ParentClass instance instead)class ParentClass:
def __init__(self):
pass
class ChildClass(ParentClass):
def __init__(self):
ParentClass.__init__(self, param)checking for curl/curl.h... not found
configure: error: could not find curl/curl.h
ERROR: `/var/tmp/pecl_http/configure --with-http-curl-requests --with-http-zlib-compression --with-http-magic-mime=no --with-http-shared-deps' failed
とかでて失敗。
yum search curl
curl.i386 : 数量の単位換算ユーティリティ
curl-devel.i386 : libuser アプリケーションの開発に必要なファイル
python-pycurl.i386 : A Python interface to libcurlyum install curl-devel vi /etc/php.d/http.ini
extension=http.soを作成してApache再起動しておわり。
注意: PHP 4.2.0 以降、 srand() または mt_srand() によりランダム数生成器にシードを与える必要はありません。 これは、この処理が自動的に行われるためです。