Basically,
I get this error in my scripts:
Fatal error: Call to undefined function mysql_connect() in /var/www/login/includes/db.php on line 10
I have uncommented extension:mysql.so
I dont know why its not working, restarted everything aswell.
I am running on ubuntu 32 bit. Apache/MYSQL is installed with full permissions.
Here is m...
While learning Perl I am also learning Linux (Ubuntu), so it is kinda fire-hose sipping time around here.
What is the difference between:
find . -type f | perl -nle '... #aka yada yada'
and
perl -nle '... # same yada yada' `find . -type f`
The first passes the file NAMES to Perl and the second passes the file CONTENTS it seems. ...
I am new to linux system programming and I came across API and ABI while reading
Linux System Programming.
Definition of API :
An API defines the interfaces by which
one piece of software communicates
with another at the source level.
Definition of ABI :
Whereas an API defines a source
interface, an ABI defines the
low...
I have postgres 8.4 installed on ubuntu server with 4 GB Ram and Intel E5504 2Ghz
I've created one table
create table foo
(
id serial primary key,
fname varchar(30),
lname varchar(30)
)
the insert of 10 000 rows takes about 4 seconds first time and 1 second after
but the select of 100 000 rows takes 4 seconds always,
select * from...
when i install libnet by sudo apt-get install libnet1, the program can not find libnet.h and I also can not find it at /usr/local/include or /usr/include.
so i download the libnet and make it, but I get the errors
make -C lib/ lib
make[1]: Entering director `/home/liuqiang/workspace/libnet/lib'
gcc -O2 -Wall -Werror -Wno-unused -Wstrict...
So I'm trying to get this program to run, but code blocks throws me this error when I try to run it.
sh: : Permission Denied.
I'm pretty much 100% noob, so links to figure out how to fix it or educational stuff on the issue would be great for learning I think, but any ideas would be helpful really. :)
...
My Acer Aspire Laptop is unbootable.
I'm trying to reinstall Ubuntu 10.04.1.
Boot options accessible OK via F2.
In fact, it still leads me into the olg grub2 menu, but I can't use any of the options because of corrupted installations on the various partitions (hence my wish to reinstall).
Any type of LiveCD hangs in the middle of the ...
Some commands that I use display colors, but when I use them with watch the colors disappears:
watch -n 1 node file.js
Is it possible to have the colors back on somehow?
...
I'm getting this message in my Drupal installation:
GD Image Filtering Low Quality / Poor
Performance
The installed version of PHP GD does
not support image
filtering(desaturate, blur, negate,
etc). It was probably compiled using
the official GD libraries from
http://www.libgd.org instead of the GD
library bundled...
Trying to get Rails up on ubuntu, and I’m having trouble installing sqlite3-ruby – it apparently can’t find sqlite3.h. All the references I can find to the error suggest the problem is either: sqlite3 headers aren’t installed, or make can’t find them. It looks to me like I’ve solved both those issues and I’m still seeing the same problem...
One of my Java projects requires setting up a variable java_runtime_dir. On Ubuntu, how do I find this directory? Is it the path to the java executable?
...
Hi,
How to create a autorun file in linux which is similar to autorun.inf in Windows in order to execute a shell file ie Following are the requirment
1.Autorun the installer file ./example.sh
When CD is mounted onto the system .
...
I downloaded the c++ version of eclipse from the eclipse website. This installed then when i ran the basic hello world code, it wouldn't compile.
What else do i need to install to get c++ compiling on eclipse? I thought linux already had what it needed for c++ building/running? Ive googled around but the advice is for older versions of ...
I would like to develop openGLES 2.0 apps on my ubuntu machine. I could not find any libraries/emulators that support ES 2.0 yet. Any suggestions?
...
I'm using pdftotext to convert Spanish language text. Characters with accents or tildes are output in a systematic way that requires further conversion. Accents and tildes appear in the converted text in the correct position but without the letter. The letter almost always appears at the end of the output line. When it doesn't, I can...
I try to install jdk and jre by using 'apt-get' command, but something wrong occured:
......
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
sun-java6-bin: Depends: sun-java6-jre (= 6.2...
I've installed R in Ubuntu Lucid with the command
sudo aptitude install r-base
When I try to "install.packages" it seems to download source and then spend ages compiling it. How can I get it to just download and install the binaries, like I'm used to on Windows?
Is there any need to compile the packages myself? I'm running insi...
I've tried to compile Python 2.7 on Ubuntu 10.4, but got the following error message after running make:
Python build finished, but the necessary bits to build these modules were not found:
_bsddb bsddb185 sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
Wha...
i am using ubuntu and want to know the creation time of a file even when it gets modified or accessed ?
...
I am new with using gcc and so I have a couple of questions.
What do the following switches accomplish:
gcc -v -lm -lfftw3 code.c
I know that lfftw3 is an .h file used with code.c but why is it part of the command?
I couldn't find out what -lm does in my search. What does it do?
I think I found out -v causes gcc to display program...