[PHP] Install syck on PHP4

2007-12-12 Thread GoWtHaM NaRiSiPaLli
I am trying to install php4-syck but there is no package for it on apt
repository on ubuntu. So I got the .deb package and did
#dpkg -i php4-syck.x.deb
it installed the package and I restarted the apache webserver and tried to
run syck_load() function. It throws me an error that the function is not
found.

What else needs to be done to make this work.

Thanks
GTM


Re: [PHP] Install syck on PHP4

2007-12-12 Thread Richard Lynch
On Wed, December 12, 2007 11:35 am, GoWtHaM NaRiSiPaLli wrote:
 I am trying to install php4-syck but there is no package for it on apt
 repository on ubuntu. So I got the .deb package and did
 #dpkg -i php4-syck.x.deb
 it installed the package and I restarted the apache webserver and
 tried to
 run syck_load() function. It throws me an error that the function is
 not
 found.

 What else needs to be done to make this work.

Always start by looking at output of:
?php phpinfo();?

I would make a WILD GUESS that you need to edit the php.ini mentioned
there and add a new line to enable the extension 'syck'

You'd think the fancy package installers would do that for you, but
they often make invalid assumptions about where your php.ini file
lives, and edit the wrong file, and...

If you get it right (don't forget to re-start Apace!) then you SHOULD
see 'syck' listed as an extension in your ?php phpinfo();?

If it ain't listed, you didn't install it right.

You may also want to try to compile PHP and syck from source:
http://trac.symfony-project.com/wiki/InstallingSyck

I never even heard of syck until now, and only did the Google for you,
really...

The syck people and/or the Ubunty/Debian folks may be better prepared
to help you, depending on what is actually going wrong, as I doubt too
many readers here ever heard of syck either...

-- 
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php