Re: Install pecl/Tidy without recompiling php

From: Date: Thu, 20 Mar 2008 23:09:56 +0000
Subject: Re: Install pecl/Tidy without recompiling php
References: 1 2 3  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5218@lists.php.net to get a copy of this message
print_r(get_loaded_extensions()); outputs Array ( [0] => zip [1] => xslt [2] => xmlrpc [3] => xml [4] => wddx [5] => tokenizer [6] => standard [7] => sockets [8] => session [9] => pspell [10] => posix [11] => pgsql [12] => overload [13] => mysql [14] => mime_magic [15] => mhash [16] => mcrypt [17] => mcal [18] => mbstring [19] => ldap [20] => imap [21] => iconv [22] => gettext [23] => gd [24] => ftp [25] => filepro [26] => exif [27] => domxml [28] => dbx [29] => dba [30] => curl [31] => ctype [32] => crack [33] => calendar [34] => bz2 [35] => bcmath [36] => zlib [37] => pcre [38] => openssl [39] => tidy ) print_r(get_extension_funcs("tidy")); outputs Array ( [0] => tidy_setopt [1] => tidy_getopt [2] => tidy_parse_string [3] => tidy_parse_file [4] => tidy_get_output [5] => tidy_get_error_buffer [6] => tidy_clean_repair [7] => tidy_repair_string [8] => tidy_repair_file [9] => tidy_diagnose [10] => tidy_get_release [11] => tidy_get_config [12] => tidy_get_status [13] => tidy_get_html_ver [14] => tidy_is_xhtml [15] => tidy_is_xml [16] => tidy_error_count [17] => tidy_warning_count [18] => tidy_access_count [19] => tidy_config_count [20] => tidy_load_config [21] => tidy_load_config_enc [22] => tidy_set_encoding [23] => tidy_save_config ) try to use the loaded class: *Fatal error*: Cannot instantiate non-existent class: using dl_local() from http://www.php.net/manual/en/function.dl.php any ideas? On 20/03/2008, Sam Sherlock <sam.sherlock@gmail.com> wrote: > > perhaps things are all set (thought they were) > > using dl() when running php4 I get tidy showing in phpinfo > however when trying to use tidy after calling dl > > php can initiate the class? > > thanks - S > > > On 20/03/2008, Pierre Joye <pierre.php@gmail.com> wrote: > > > > On Thu, Mar 20, 2008 at 8:28 PM, Sam Sherlock <sam.sherlock@gmail.com> > > wrote: > > > I have a media temple grid server. > > > > > > I have installed tidy and everything is set however I can't recompile > > php, > > > however support has informed me that other users have installed such > > > extension without recompiling. > > > > > > any suggestions would be appreciated. - thanks -S > > > > > > > > > pecl install tidy > > > > For more informations about the pecl installer, see the PHP manual > > (there is a link from the tidy manual as well). > > > > Cheers, > > > > -- > > Pierre > > http://blog.thepimp.net | > > http://www.libgd.org > > > >

« previous php.pecl.dev (#5218) next »