0
votes
0answers
724 views

Issue in Upgrading PHP 5.3 to PHP 5.4

I'm using Ubuntu 11.04 and PHP version 5.3. I want to update it to PHP 5.4. I run the following command in the terminal: sudo add-apt-repository ppa:ondrej/php5 sudo apt-get update sudo apt-get ...
0
votes
2answers
1k views

PHP Fatal error: Call to undefined function mysql_connect() [duplicate]

I'm trying to connect my PHP page to MySQL database, but I'm getting this error : PHP Fatal error: Call to undefined function mysql_connect() I'm working on Ubuntu 11.10 MySQL 5.5 and PHP 5.3. I ...
-1
votes
1answer
1k views

Upgrade php to 5.4 on ubuntu 11.10 [closed]

I want to upgrade php from 5.3.6 to 5.4 on ubuntu 11.10 According to some tutorials I did: 1. sudo add-apt-repository ppa:ondrej/php5 2. sudo apt-get update 3. sudo apt-get upgrade I also tried to ...
0
votes
0answers
21 views

Unable to install libapache2-mod-php5 [duplicate]

While upgrading Ubuntu: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested ...
1
vote
0answers
80 views

Why won't my code work in Ubuntu Server 11.10? Is it because of gd library?

I get this error when running the following code: No such file found at "widgets/104-text.png" I know that the code works because it works on my other non-ubuntu server. I do not know if it is gd ...
0
votes
1answer
334 views

sqlite2 does not work in 11.10

I have configured Ubuntu 11.10 in my PC. I have installed php 5.3.6-13ubuntu3.8. My problem is that after PC upgrade, sqlite2 is not supported in PHP. Also sqlite3 database is locked whenever I have ...
0
votes
2answers
817 views

Ubuntu 11.10 LAMP is very slow

My lamp stack on a local machine is too slow. I have successfully installed wordpress but any request (e.g login,add new post) is too slow. How can i resolve what's wrong ? Thank you in advance!
0
votes
1answer
315 views

Cannot install package `libxerces27-dev` when installing `phc` php compiler

To install phc following this guide in Ubuntu Oneiric 11.04, I get error saying that the package is not available as below screenshot. Searching for the package at ubuntu's package search page result ...
1
vote
1answer
3k views

How can I install php 5.2 in 11.10?

I wish to install a "legacy" php application (magento commerce 1.3) into a oneiric server. All the ppa's I've found hold packages for previous ubuntu versions. I've tried to recompile php myself but ...
1
vote
2answers
2k views

PHP-FPM Constantly Restarting Pools - Zombie's Everywhere!

Ok so after a recent incident in which I ran "chown -R root:root" on my entire /var directory on accident (XO.. I know...) I've been dealing with php-fpm issues. I've tried fixing permissions in a ...
0
votes
2answers
2k views

How do I install Apache and PHP on 11.10? [duplicate]

Possible Duplicate: What's the easiest way to set up a LAMP stack? I would like to install Apache and PHP on my new machine, running Ubuntu 11.10, but I can't see either of them listed ...
1
vote
1answer
1k views

How to open php files on Eclipse PDT Indigo

Since I have downloaded and installed the Eclipse PDT Indigo, I want to make it opens automatically files with .php extension. Before Oneiric's release, simply right clicking on any .php file, ...
3
votes
0answers
640 views

Create my own unity lens [duplicate]

Possible Duplicate: How do I start developing a lens for Unity? Is there any easy way of creating a unity lens without any big programming knowledge? I can code in php, mysql, html and all ...
3
votes
3answers
13k views

Verify if crontab works

I want to verify if a certain crontab works properly. I have added a job like this: */2 * * * * /path_to_my_php_script/info.php >/dev/null 2>&1 I know that i redirect to the null ...
0
votes
2answers
483 views

Accessing Sqlite3 via php not working?

my local web server on one machine running Ubuntu 11.04 works fine using php5 to access sqlite3 - however on a new machine running Ubuntu 11.10 the same code, same structure, does not work at all - ...