PHP is a scripting language, often used for websites.
0
votes
1answer
27 views
I can't get “apt-get install php5-suhosin” to work
I am running ubuntu 13.04. I cannot get my php website to work because I cannot install
php5-suhosin.
It said this each time that I have tried apt-get install php5-suhosin:
Package php5-suhosin is ...
0
votes
0answers
9 views
Installing xajax on Ubuntu Server 12.04
I am trying to migrate a website over to a new server running 12.04LTS.
I have installed php-xajax with apt-get (also tried via the .deb file download from the Ubuntu servers manually).
My PHP config ...
0
votes
1answer
18 views
How do I set up a localhost website?
I have created a simple index.php file which I have places in /var/www/ next I changed the permissions of the file with sudo chmod +x index.php
I then ran Chromium and typed in localhost to the ...
0
votes
0answers
14 views
Mysql, Apache, Php and phpmyadmin problem [closed]
I wanted to make a Mysql server so I searched and found something on YouTube:
http://www.youtube.com/watch?v=ioqa-ZT-WSg
The only problem is, I messed the installation up really badly. There were ...
0
votes
0answers
18 views
PHPUnit and Ubuntu, not a love story
I need to install PHPUnit for a web dev project on my Ubuntu box, but am having serious issues. I'm running 12.04 on the 3.5.7 kernel. Using suggestions from various sources, I've installed via pear ...
2
votes
0answers
20 views
Are there PHP bindings for indicators and notifications?
Are there already some projects/extensions or wrappers to allow easy creation of ubuntu unity indicators with PHP before I try and 'reinvent the wheel'.
A basic Python template that would interface ...
-1
votes
3answers
41 views
Please could you suggest program to develop website and etc [closed]
I'm new for Linux and Ubuntu and I want to learn how to use these OS.
But I want to make sure that It has programs to support my dev purpose.
Purpose:
website dev base on php,java and asp,c# ...
1
vote
0answers
13 views
Mysql5.6 and problem of php5-mysql , mysql-common packages
I install Mysql 5.6 with this documentaion(in ubuntu 13.04) , now I need to install php5-mysql and mysql-common packages. can I install them with apt-get? I think they will install mysql5.5 ...
0
votes
1answer
21 views
Whay apache2 does not process PHP files?
I have installed Apache server using TaskSel from Synaptic package manager.
I did the following:
sudo a2enmod php5
Module php5 already enabled
sudo a2enmod userdir
Module userdir already enabled
...
0
votes
1answer
25 views
php-in-homedirs
I am trying to get php to work in user's public_html folder using the instructions found at:
https://wiki.ubuntu.com/UserDirectoryPHP
If I follow the first part and comment out the IfModule lines in ...
0
votes
1answer
34 views
How to upgrade the php version from 5.3.x to 5.3.y? [duplicate]
I just downloaded the development release of Drupal8 for testing purpose. When I try to install it shows the following error:
Your PHP installation is too old. Drupal requires at least PHP 5.3.10.
...
-1
votes
1answer
50 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 ...
2
votes
1answer
32 views
Remove PHP 5.4.14
I want to install php 5.3.10 but I already got PHP 5.4.13.
I want to remove first existing PHP 5.4.13 then want to install new PHP 5.3.13.
How can I remove existing PHP 5.4.13??
1
vote
2answers
453 views
can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
I just installed appache, MySQL and PHP, suring my installation, I was prompted for a MySQL root user password, but when I start my MySQL, it pops the error, and I just can't seem to find a way around ...
0
votes
1answer
25 views
Set up PHP and Django Virtualhosts on a single Apache2 Server
Here is the problem: I want to host several development projects in Zend, Drupal, and Django on a single Apache2 server. While I have had this working in the past, the method of getting it to work was ...
0
votes
1answer
17 views
How to enable PHP on LAMPP?
I installed lampp a couple of weeks ago. Everything works fine when it comes to html files, but when I try to open a php file, the browser asks me where to download it. :/
I tried with my php files, ...
0
votes
1answer
41 views
Files on web server can be found without extensions
I have a page about.php. I can access this page by either example.com/about.php or example.com/about and even example.com/about/. The latter does something strange. It treats the about.php (which is ...
0
votes
0answers
31 views
`apt-get -f install` fails after trying to uninstall cacti
I was trying to uninstall cacti, but apt-get returned an error, and apt-get -f install doesn't fix it:
swemg@rj42:~$ sudo apt-get install -f
Lecture des listes de paquets... Fait
Construction de ...
0
votes
0answers
35 views
Ubuntu 10.04 Lucid and last PHP release
I'm trying to install the last PHP stable release as a package. Currently what ubuntu packages provides is:
PHP 5.3.2-1ubuntu4.19 with Suhosin-Patch
However, I want at least PHP 5.3.3 or PHP ...
1
vote
0answers
70 views
Setting up Mail server on Ubuntu 12.04.2 Server
Based on this article http://iain.it/linux/how-to-install-php-fpm-and-nginx-on-ubuntu-12-04 I've built my LEMP web server. I need one more function to work: mail.
It's production server and I can't ...
0
votes
0answers
29 views
vhosts Document Root path query
Not sure where to post this really, as it could be PHP specific or more for Superuser.
I've just moved my testing environment into a VirtualBox running Ubuntu Server 12.04.
Works like a dream apart ...
0
votes
0answers
18 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 ...
0
votes
0answers
29 views
exec(): Unable to fork error on nginx error log
I am getting this error from
tail -f /var/log/nginx/error.log
2013/05/02 05:36:58 [error] 720#0: *90 FastCGI sent in stderr: "PHP message: PHP Warning: exec(): Unable to fork [which ...
0
votes
1answer
88 views
A php script that I want it be run by Transmission client!
In transmission-gtk there is an option can run script: Edit > Preferences > Downloading > Call script when torrent is completed.
Recently, I found this script that I do not know how to make it work ...
1
vote
1answer
47 views
how to install apache/php from apt alongside mysql 5.6 from source
I managed to install MySQL 5.6 on obuntu 12.10 but now I need apache/php packages but when I try to install them thorough apt they try to install mysql-common (presumably 5.5)
How to solve this?
-1
votes
0answers
15 views
parse error in my index page [closed]
Can anyone tell whats wrong with this code?
<?php
function redirect($page)
{
      header('Location: ' . $page);
exit();
}
function check_login_status()
{
 ...
0
votes
0answers
13 views
Is there a way to install specific Postgresql driver version
I need to install a specific version(version 9.1.5)of Postgresql Driver for PHP, I am currently using version 9.1.8 and I do not know if the driver version is causing the errors on my code.
I am ...
1
vote
0answers
20 views
Can I change to lighttpd without problems?
I've purchased some new 'cloud hosting space' with VMs running 12.04.2 server. I'm looking for a LAMP stack, but I'm considering switching out Apache for lighttpd - for the speed and resource-usage ...
-1
votes
0answers
22 views
Why am I getting “Parse error” while executing my PHP program? [closed]
I'm getting this error while executing my php project.
Parse error: syntax error, unexpected 'require_once' (T_REQUIRE_ONCE) in /opt/lampp/htdocs/Project/index.php on line 6
And my index.php code ...
0
votes
0answers
38 views
Cannot display php files on my localhost site
I have Ubuntu 12.04(32-bit) installed, apache2 [ Server version: Apache/2.2.22 (Ubuntu) ] ,
mysql[ version : 5.5.31-0ubuntu0.12.04.1 ] , phpmyadmin [Version information: 3.4.10.1deb1] installed on my ...
0
votes
2answers
68 views
How to remove PHP 5.3.25-dev?
I tried to remove PHP from ubuntu:
sudo aptitude purge `dpkg -l | grep php| awk '{print $2}' |tr "\n" " "`
But without results.
when I run php -v in terminal I get PHP 5.3.25-dev
How I can remove ...
1
vote
1answer
85 views
/lib/x86_64-linux-gnu/libz.so.1: could not read symbols: Invalid operation
I installed Ubuntu Desktop 13.10 64-bit in VMware.
I am trying to compile PHP 5.4.14 on the machine. Here's the bit where make stops due to an error:
/usr/bin/ld: ext/mysqlnd/.libs/mysqlnd_net.o: ...
-1
votes
0answers
27 views
How to get child node's text values into varibales [closed]
I have a XML file. I want to search for a node with "id" attribute value and to store its child node's text values into variables. How can I do it with PHP code.
Example.
<Server>
...
1
vote
1answer
41 views
how to run php web application in lamp server and mysql connection also
i need your help.
1.i wanted to install php , mysql and server appache like..
2.how to run php web application in server?
3.how to connect php web application into mysql.
1
vote
0answers
40 views
stty doesn't reset with sudo after Ctrl + C
Let's say I have following simple PHP script:
misan@thrope:~/tests$ cat stty.php
<?php
shell_exec('stty -icanon -echo');
// exit;
$fh = fopen('php://stdin', 'r');
while (!feof($fh)) {
$c = ...
3
votes
1answer
67 views
Why am I getting the error E: Package php5-gd has no installation candidate when trying to install php5-gd?
I am trying to install php5-gd and receive this error
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php5-gd is not available, but is referred to by ...
-1
votes
0answers
41 views
php jquery and ajax in mozila [closed]
Does anyone try to work with jquery ajax and php in mozila's browser?
And get the same result, when try to get some result from php file with jquery:
RESULT THAT IT DOES NOT WORK?
If someone knows ...
2
votes
0answers
24 views
Trouble with local server, URL not found errors with some, but not all local sites
I am setting up my Ubuntu laptop for my new job and I am having a strange issue. They have a crazy environment setup that I got working on my local Ubuntu 12.10 machine with Apache and PHP 5.3 (had to ...
0
votes
0answers
17 views
Did anyone manage to setup DAViCal on 12.04
I have setup DAViCal 1.1 on a Ubuntu 12.04 LTS VM using a Postgres server on a different VM. After I managed to setup the database by adding the -h option with a variable containing the IP address to ...
0
votes
1answer
47 views
How to call php or apache to render a page from the command line?
I am running apache2 as a web server. I have a local file, example.php, which I need to see as rendered by apache. The easiest way to do this would be to move or link the file to the folder apache ...
0
votes
0answers
139 views
Downgrade PHP 5.4 to 5.3 on Ubuntu 12.04
I want to downgrade my perversion from PHP 5.4 to 5.3. I have some problems running my old project on the new version. I already tried method for other Ubuntu versions but nothing worked. Here some ...
0
votes
0answers
11 views
php script kills rest of the page when it is included
ok, i work with php and, i created file that collects all of data from database for user with the $_SESSION['email'] but,
when i try to represent data for that user,
it works in that file, also if ...
1
vote
2answers
87 views
I can not find /usr/share/php5/php.ini-development file
I install LAMP according this link. But I cannot find /usr/share/php5/php.ini-development file . My php is PHP Version 5.3.10-1ubuntu3.6 . Apache is Apache/2.2.22 (Ubuntu) . I use ubuntu 12.04 amd64. ...
0
votes
0answers
44 views
Cannot display test site for php
I installed Lampp from this: sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server phpmyadmin php5-curl
Server Apache work but I have problem with display test.php in browser. My ...
0
votes
1answer
71 views
What's wrong with PHP 5.4.6 and what can I do about it?
I recently installed Ubuntu 12.10 server with the stock version of Apache2, PHP and MySQL. Something is wrong with PHP - first I thought it was an issue with PHP Markdown, as the script came to a ...
0
votes
0answers
177 views
Install PHP 5.4 32-bits on Ubuntu 12.04 LTS 64-bits
In a desperate attempt to regain some memory, I need to install PHP 5.4 32-bits (nginx+FPM, not mod_php) on a Ubuntu 12.04 LTS 64-bits install. I'm afraid installing a 32-bits version of Ubuntu is ...
0
votes
1answer
39 views
How to set up apache user and group to current?
When i trying to install some CMS it couldn't create config files because apache user is different. On OS X i solved this problem by adding user and group inapache2.conf, but on Ubuntu i can't figure ...
0
votes
1answer
45 views
Is it possible to install Gimp on Ubuntu Server and use it in command line from a php script?
I have a project where the users will be able to upload images from their browser. The project is coded with PHP. We need to process the uploaded images with some advanced filters and we need a good ...
0
votes
1answer
31 views
how do I find location of packages
I am trying to install several things on my machine.
For example php-pear.
I need to put to location of the repository in sources.list
How can I locate it?
0
votes
2answers
71 views




