Fedora :: Use Json In A Php Application?
Dec 4, 2010
Trying to use json in a php application. phpInfo says php was configured "--disable-json". Looked around and found json.ini in the /etc/php.d and json.so in /usr/lib/php/modules Trying to run a php application, e.g.php test_client.phpI get the error messages:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/json.so' - /usr/lib/php/modules/json.so: undefined symbol:
ZVAL_DELREF in Unknown on line 0Any why the undefined symbol is there and what to do about it?
View 1 Replies
ADVERTISEMENT
Oct 25, 2010
After upgrading a couple of months ago from Ubuntu server 9.04 to 10.04, transmission stopped working. I have since removed it and reinstalled. It is running as I can start and stop the daemon. However, I can't locate the settings.json file so I can get into it in the browser. The version running is 1.93. I tried searching in multiple directories and even searched using:
Code:
sudo find / -iname settings.json
Nothing came up.
I stopped the daemon and created the file in /etc/transmission-daemon/settings.json with the contents of my old file I had saved elsewhere. Restarted the daemon and I still get the 404 error.
I was suspicious the last step wouldn't work as I was of the opinion that transmission is supposed to generate its own default settings.json file.
View 1 Replies
View Related
May 23, 2011
I'm working on getting transmission-deamon working with remote access.
everything says edit
sudo nano /etc/transmission-daemon/settings.json
specifically "rpc-whitelist
however, as soon as I do. "sudo service transmission-daemon restart" the settings reset.
View 4 Replies
View Related
Apr 2, 2010
I have this JSON encoded data, which I want to efficiently parse (i.e. fast, with minimal system resources). I don't want to use a/the shell any more than necessary.
Here's a snippet of what the raw serial data looks like:
Code:
[{"num":1,"name":"1","visible":false,"focused":false,"rect":{"x":0,"y":0,"width":1680,"height":1050},...blah blah..
So that's fine. I currently have at least two ways of parsing it:
This Perl method (which I don't much care for because I'm not much into Perl, and because the output is not much more useful than the raw form, and imho even more cryptic):
Code:
sasha@reactor: <produce data> | perl -MData::Dumper -MJSON::XS -E 'say Dumper(decode_json <>)'
$VAR1 = [
{
code....
# Which means: at x=1680, draw a 20x20px grey block, then back up -10px and draw a "1" on the block.I figure that the two awk's I've used can be combined into one -- but I began having problems with removing the single quotes if I did it within the awk, which is why I stuck a `tr` in the middle.
I know this sucks. So, if someone has some ideas or thoughts on something else to do with this JSON data, that's less convoluted that where I'm currently going, I'll be happy to hear about it.
PS - I know this whole post is possibly hard to understand -- if you need more info (you mean you're interested in this mess?? )
View 13 Replies
View Related
Jun 30, 2009
I am getting no packages listed in Gnome application manager gpk-application 2.27.2. I have tried 'yum clean all' and get the following error messages.
View 3 Replies
View Related
Jan 7, 2011
I would like to get the predefined application icon to open the same file types.
for instance: *.avi, *.mp3 to have the VLC icon
and other application to have the icon of their default application.
So far I only found tips to install single icons or to add icon packs. :S
and is there any way to when you install an application make it default for such file types ?
View 1 Replies
View Related
Feb 17, 2010
application to monitor application wise network usage?
View 3 Replies
View Related
Jan 31, 2010
I've downloaded VideoLan (VLC) via Yast but the icon was placed in the audio folder. How do I move it to the video player folder? Also, where are additional icons stored? I run SuSE 11.2 (boxed version) with KDE.
View 9 Replies
View Related
Mar 16, 2010
How do I make an application launcher in the panel launch more than one application? Is there some sort of a symbol I type between the apps in the command line? Like ;
View 1 Replies
View Related
Apr 30, 2011
when an application is opened or minimized the icon of that particular application is not showing up in the top bar of ubuntu 11.04...how can i see the icons in the top bar?
View 1 Replies
View Related
Apr 14, 2010
So, I have this application called Impact, it is an explicit time integration Finite Elements code written in Java...
[url]
I untar the pack, and launch the application calling a script, from within the untarred folder,
Code:
This launches a gui which allows me to setup a case, which needs some setup file, tipically some *.in and a mesh file, tipically some *.msh.
Other mode of executuion consists of calling the setup file as argument to Impact.sh script ( CLI execution mode, for g33k5 )
My problem is : I have packed the whole stuff into a Slackware .tgz, that places it in /usr/local/Impact, and placed a calling script in /usr/local/bin,
Code:
Code:
I decided to hack the ImpactGUI_OGL_linux_amd64.sh script from
Code:
Code:
no avail,
Code:
even after adding /usr/local/Impact/bin to PATH... won't go...
I can run this thing from within its directory... but I do not like messing within the directories of my applications, this is why I sent this to /usr/local, and placed a calling script in /usr/local/bin...
View 4 Replies
View Related
May 24, 2010
I have installed Redshift But do not know what to do Next.There is no icon for the application or anything to launch the application.
View 1 Replies
View Related
Feb 19, 2009
I am trying to troubleshoot an application that is generating several segfaults with an error 14, but the application is not crashing.The program continues to run. I would assume I can connect to a running process to debug it, but I'm not sure what to gather. The program has several background processes associated with it so I'm sure I'll need to attach to the actual internal process. Does anyone have any experience in this to offer some insight?
View 3 Replies
View Related
Jun 13, 2010
I'm playing with NFS.
If I type
mount workstation.localdomain:/NFS /home/AndrewJames/Desktop/NFSonworkstation
I get two folders. The original one that looks like a regular folder and one that looks like a hard disk. Both work but I only want one or the other, what have I done wrong?
Question Two.
I read that some people use NFS to run applications from.
So I decided to play with NFS and set up /usr/bin to export.
From a client I then mounted /usr/bin.
The server machine has virtualbox on and the client doesn't.
On the server if I go into /usr/bin and click Virtualbox, virtualbox opens but if I do this from the client it doesn't. The
Why not? Or what do I have to do to be able to use an application through NFS.
View 2 Replies
View Related
Sep 21, 2009
Can someone tell me what is exactly yum ? is an install application ? how does it work ?
View 1 Replies
View Related
Sep 29, 2010
I want to ask whether there is an application to program the AVR on Linux. if there is what the name of his application? and where I can get it
besides, I also want to install the supporting applications to make PCBs, in windows I used mangunakan Altium.
if for linux what is the name of his application?
View 1 Replies
View Related
Oct 5, 2010
Since I do not have an internet connection I would like to get the DVD. I would like to get a list of the application contained on the DVD. Can someone direct me to a fedora link with that info.
View 3 Replies
View Related
Apr 29, 2011
Just installing F14. I am using the gpk-application (PackageKit gnome-packagekit) but when I need to install a package which needs lot of dependences, the window which tells which packages and dependences are going to be installed is too long that it does not fit in the screen, so the cancel-apply buttons are out of the view then it is impossible to click them.
View 3 Replies
View Related
May 11, 2011
On windows I have been using Nokia PC Suite to connect my mobile phone & send/receive SMS. Is there any such application for Linux?
View 1 Replies
View Related
May 15, 2011
Is there fan control application for fedora?
View 6 Replies
View Related
Sep 5, 2011
how to add start up for the JDownloader on fedora 15
View 14 Replies
View Related
Apr 21, 2010
Is there any possible to install .net application on linux.i have .net application .msi filw how to install it.
View 3 Replies
View Related
Sep 2, 2010
i am installing rt3(request tracker) in linux.after installa rt3 i can not run other application in that server.when i try to run oter application rt3 page was open.iwas try to web path in /opt/rt3/etc/RT_Siteconfig.pm.But there is no change.how to solve that?
View 3 Replies
View Related
Apr 24, 2009
Why some application has daemon and some others doesn't. I thought just network application has services like httpd, nfs, cups.... but I just found out that cron, gpm.. and other has it to. why other some other applications hasn't got daemon. Just want to know what sort of application has services.
View 2 Replies
View Related
Jul 26, 2009
I am quite aware that one can add a startup application to the gnome session by going to System -> Preferences -> Startup Applications (Sessions). But, is there a way to achieve the same thing via the terminal? I want to know because I am writing a simple bash script that installs all of the programs I commonly use. One such program is compiz fusion with fusion-icon.And so I want to add the fusion-icon into the gnome session with my script (strictly within the terminal).
View 2 Replies
View Related
Oct 2, 2009
I'm using fedora 12 alpha live-usb. and because of space limitation, I don't want to install some applications that I need(say gcc, gdb,..? ) Is it possible to run application from my hard drive which I have installed fedora 11?
View 9 Replies
View Related
Oct 18, 2009
How to download J2ME application for fedora 11 which one is best suitable.
View 1 Replies
View Related
Oct 23, 2009
I was just trying to install some packages at the gpk-application 2.27.2, but they are not compatible. For some reason I can't install anyting. I have Fedora Leonidas. In another forum they told me that my package installer is not the proper for this version
View 1 Replies
View Related
Nov 20, 2009
how can I integrate a kde application in gnome? I mean like this[URL]...
View 1 Replies
View Related
Jan 3, 2010
This should be simple, but I just don't see it. KDE 4 desktopI have an application located in /usr/Kompozer that I'd like to add a shortcut to on my desktop. It's not on the menu. Runs fine from the command line. Right clicking on desktop doesn't seem to have what I need. I tried using Dolphin file manager, but still no joy. Can copy, but again can't paste a shortcut on the desktop... or so it seems.
View 3 Replies
View Related