I have a shell that runs CentOS
For a project I'm doing I need python 2.5+ but centOS is pretty dependent on 2.4
From what I've read a number of things will break if you upgrade to 2.5
I wan't to install 2.5 separately from 2.4 but I'm not sure how to do it. So far I've downloaded the source tarball, untarred it and did a ./configure --p...
Hi,
I have developed a recursive FTP-download script, in PHP5, that allows you to select some files and/or directories to download using an AJAX request. The POST-variable that the server receives is just a short pipe-separated string that does not take up any memory at all.
The script itself works perfectly on my local Apache setup an...
I've read about APC that it speeds up multiple php file sites. So I have this particular project in PHP with many files and i discover that require_once and parsing only class definitions (without executing them) takes most time.
So I've installed APC on my CentOS 5 server. I moved apc.php to my webserver and it displays
Hits: 1 (50....
Hi and thank you for wanting to help :)
I have root access to an Apache server running under CentOS 5. The root site is password protected and some areas of the site (documents etc) can only be accessed by some users. The user id is stored in a session.
In the perfect world I would want to activate a Python script (on the server outsid...
Hi we're trying to get R with the standard gui loaded onto CentOS 4, and under certain users R will not render certain graphics. When logged in as root the graphics render, but under the restricted user they don't. The graphics don't render with the error:
> testdata <- rbind(c(1,2,3,4,5,6),c(3,4,5,4,6,2),c(3,6,7,2,2,1),c(5,4,9,8,9,1)...
What is the name of the font used in the CentOS logo?
Link to CentOS Site
...
I upgraded php-common and php-devel packages on CentOS 5.3 system. Now, when I try to access any PHP script in a browser I get garbage like this:
If I try to CURL GET the page, or try plain HTML, CSS or JS in the browser everything looks OK.
Encoding is set to UTF-8 in both PHP itself and the PHP output via "Content-Type: text/html; ...
Hey folks,
I have a clean copy of CentOS.
Just installed Apache, PHP and MySQL. Everything works like a charm.
Except for I created a new user, let's call it 'demo'.
I created a new virtual directory in httpd.conf and pointed it to '/home/demo/www'. I created an empty index.html under '/home/demo/www'.
Apache is running under user '...
I run Windows 7 as my main OS, and for development work I installed CentOS on a virtual machine under VirtualBox. Everything is installed, including httpd and php with mysql, but I can't figure out what IP to use to gain access to the server.
For example, I used to have XAMPP installed on 7 and I just used "localhost" to get to the serv...
I'm trying to use Ghostscript in CentOS. When trying to issue the following Ghostscript command ghostscript -sDEVICE=pcx256 -r150x150 -sOutputFile=OUTPUT_FILE INPUT_PDF I am getting the following error:
ESP Ghostscript 815.02 (2006-04-19)
Copyright (C) 2004 artofcode LLC,
Benicia, CA. All rights reserved.
This software comes w...
Question Rewritten:
HOMEDIR="ftpuser"
REMOTEIP="1.1.1.1"
MYSQLPASS="password"
Q1="DROP USER "$HOMEDIR"_shop;"
Q2="DROP DATABASE "$HOMEDIR"_shop;"
Q3="CREATE DATABASE IF NOT EXISTS "$HOMEDIR"_shop;"
Q4="GRANT ALL ON "$HOMEDIR"_shop TO '"$HOMEDIR"_shop'@'localhost' IDENTIFIED BY '$MYSQLPASS';"
Q5="GRANT ALL ON "$HOMEDIR"_shop TO '"$HOMED...
apt-get install devscripts
What is the equivalent in centOS?
...
I am running Apache/2.2.3 (CentOS). For some reason certain images, jpg, gif, or png will show up as byte code when accessed directly on the server. Firefox 3 and Safari both think the content type is text/html. IE I believe has something built in to recognize it is an image and ignore the content type and renders the image correctly reg...
I am making an auction website, which has an auto-bid system. This system lets people make biddings without having to be there.
My question is how to implement such a system. I have made the php files and everything is ready, I've made a html page which refreshes every second. It works, but I'm wondering if there's a better solution.
T...
Hi, I'm running Mac OS X 10.5.8 and want to compile for target CentOS 5.3 with GCC 4.1.2. How could I:
Compile GCC 4.1.2 toolchain and related tools?
Use that tool to cross compile for target CentOS 5.3?
Any help is greatly appreciated!
...
We have an application that has been deployed to 50+ websites. Across these sites we have noticed a piece of strange behaviour, we have now tracked this to one specific query. Very occasionally, once or twice a day usually, one of our debugging scripts reports
2006 : MySQL server has gone away
I know there are a number of reasons this...
Hello everybody,
I have a multi part question for a php script file. I am creating this file that updates the database every second. There is no other modeling method, it has to be done every second.
Now i am running CentOS and i am new to it. The first noob question is:
How do i run a php file via SSH. I read it is just # php path...
I am using the Bouncy Castle Java cryptographic algorithm implementation.
I am getting an IllegalKeySizeException. To overcome this I have even changed my java security jars (local_policy.jar and US_Export_policy.jar), but I am still getting the same problem.
Can anyone suggest a solution for this (I am using centos operating system)?
...
As you can see by reading my other thread today here, I'm having some troubles upgrading Python.
At the moment I have Python 2.4 with Django installed on a CentOS machine. However I've recently deployed an application that requires 2.5 which has resulted in me installing that and getting into a whole load of mess. My original assumption...
I'm running wordpress 2.8.6 as fcgi with safe_mode=on, on plesk9/centOS64. wordpress was installed by installatron. php.ini is being read from /etc/etc/php.ini
I need to increase php's memory_limit, because I get many mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 40961 bytes) in /...