PHP is a scripting language, often used for websites.
2
votes
1answer
273 views
Cannot access directory in /var/www/: Permission Denied
Forbidden
You don't have permission to access /celsium/index.php on this server.
The above text is shown when i try to access the directory made in /var/www.
the directory is ...
2
votes
1answer
97 views
How to apply a php bug patch
I want to uptake fix for this PHP Bug: https://bugs.php.net/bug.php?id=52043
I am not sure on how can I install this patch. Conceptually I understand I need to follow following steps:
get php code ...
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 ...
2
votes
0answers
23 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 ...
2
votes
0answers
122 views
Launching php script through comman line - keeping terminal window open after execution
Oh, my girlfriend really likes it when I launch php scripts! There's something special about them, she says ...
Thus, I coded this script to run throught the CLI (Command Line Interface) - so it's ...
2
votes
0answers
119 views
Upgrade php5-gd on 12.04?
I'm working with the GD library for image manipulation, to which I need to create some transparent PNGs. Instead, I'm getting a black background. I've looked everywhere on how to generate a blank, ...
1
vote
0answers
12 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 ...
1
vote
0answers
66 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 ...
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
vote
0answers
39 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 = ...
1
vote
0answers
45 views
403 error on PHP - lighttpd
I have set up the fastcgi properly, unhashed it from the module.conf,
[root@xlh lighttpd]# service lighttpd status Redirecting to
/bin/systemctl status lighttpd.service lighttpd.service - Lightning
...
1
vote
0answers
40 views
Intermittent slow intranet
I have a Linux server (Centos 6.2) running apache2, Mysql and PHP. Everything runs fine when accessing a page from any browser (all clients are ubuntu 12.04) but begins to get slow after say about 2 ...
1
vote
0answers
223 views
xdebug to work with aptana
How do you get xdebug to work with aptana? I've successfully installed xdebug and added the necessary ini directives to the /etc/php5/conf.d/xdebug.ini file:
...
1
vote
0answers
119 views
XAMPP ORACLE 11g
I have downloaded XAMPP for Linux. Have installed it. It works fine. But I have problem with oci8 extension. I have downloaded oracle instant client for linux and extracted it to /opt/lampp/lib. Then ...
1
vote
0answers
46 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 ...
1
vote
0answers
517 views
Problems starting Apache2 on Ubuntu 12.04.1 LTS
I recently installed Ubuntu 12.04.1 on my EC2 Micro instance and then installed Apache2 and PHP5. I am now having trouble starting Apache2, I've checked the error logs and here's the result:
[Sun Oct ...
1
vote
0answers
137 views
Unable to install php5-curl
so I have tried using aptitude to reinstall php5 and curl and apache however, when I attempt to install php5-curl, it wants to remove over 90 packages including zlib .... http://pastebin.com/4WdY0UZe
...
1
vote
0answers
31 views
php -a improved console
When coding in php I use a terminal with php (php -a) to test some code snippets.
However, the php console does not respond to many keys, such as a Ctrl-Left/Right, non-ascii characters and stuff like ...
1
vote
0answers
179 views
Empty Apache2 response in Ubuntu 12.04
Like the title says, when I tried to connect to my configured domain, there's no content in response. For example, in Chromium the message says Error 324 (net::ERR_EMPTY_RESPONSE). Apache 2.2.22 is ...
0
votes
0answers
9 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. Using suggestions from various sources, I've installed via pear and tried the following:
Currently, ...
0
votes
0answers
30 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
33 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 ...
0
votes
0answers
28 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
26 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
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 ...
0
votes
0answers
37 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
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
0answers
135 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 ...
0
votes
0answers
42 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
0answers
168 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
0answers
59 views
Bug from ZF 1.12 quick start tutorial on Ubuntu 12.10
At this command php scripts/load.sqlite.php --withdata
I get the next error:
Could not open input file: scripts/load.sqlite.php
If i set the absolute way to my scripts folder:
...
0
votes
0answers
64 views
Auto-mount usb flash drivers for remote servers using bash file for scheduled backup operation
I have to do scheduled backup of servers' databases using a cronjob for the backup task and a bash script for the backup operation. It's a PHP web application. You can choose to store your backup file ...
0
votes
0answers
104 views
Installing php imagick to xampp
I am trying this:
sudo apt-get install imagemagick libmagickwand-dev
sudo pecl install imagick
And I getting an error at the end like:
/tmp/pear/temp/imagick/imagick_class.c:9534:2: error: 'struct ...
0
votes
0answers
94 views
Unable to produce core dump for apache running php as module
My php code causes intermittent crashes with php-5.4.12 as apache module (from Ondrej PPA) on 12.04. After while of searching I decided to get a core dump and investigate further but I'm unable to get ...
0
votes
0answers
115 views
Nginx + fastcgi_cache for WordPress hosting
The tutorial for Nginx + WordPress + fastcgi_cache with conditional purging is fantastic, however if you're running a bit ahead of this tutorial Brian Mercer's PPA doesn't quite cut it as it needs ...
0
votes
0answers
318 views
Install php 5.3.10 in ubuntu 12.04
I have been trying to downgrade the php version from php 5.4 to php 5.3. I tried removing php5, purging php5 and then reinstalling using "apt-get install php5=5.3.6-13ubuntu3.6", but it did not help, ...
0
votes
0answers
67 views
short_open_tag not working
Yesterday I installed php5 and apache2 webserver on Ubuntu (12.10). I don't know why the short_open_tag (/etc/php5/apache/php.ini) does not work properly. I have already changed it to Off as per ...
0
votes
0answers
214 views
How to install PHP 5.3.2* on Ubuntu 12.04?
PHP 5.3.21 has just been released and PHP 5.3 reaches end-of-life in March 2013.
How do I install the latest PHP 5.3.* version on Ubuntu 12.04?
0
votes
0answers
15 views
How to install Bonefire on Lamp. i have an error : /install/account was not found on this server
While installing Bonefire on Lamp , Ubuntu 12.10 i have this error message after clicking on test database:
/install/account was not found on this server.
the full error :
**Not Found**
The ...
0
votes
0answers
76 views
use PHP with PAE (32 bit), 16GB?
I ordered a server, a month ago. Sadly, only now I noticed, that the ubuntu on it is 32 bit instead of 64 bit, so it uses PAE.
I have 16GB Ram on it (I always see PAE examples mentioning up to 8 GB ...
0
votes
0answers
306 views
Fixing check if the 'dpkg-dev' package is installed
How do you I fix error Check if the 'dpkg-dev' package is installed ?
I'm trying to run apt-get source php5 which fails with following error
sh: 1: dpkg-source: not found
Unpack command 'dpkg-source ...
0
votes
0answers
172 views
How to install PHP 5.4 as CGI next to PHP 5.3 as Apache module
I am developing on PHP 5.3 version branch which is installed from the default packages as Apache module. Now I would like to install 5.4 as CGI module, to be set for single directories on my test ...
0
votes
0answers
21 views
PHP Xdebug pipe to valac
Recently switched to Ubuntu full time after toying with it on and off for the past years.
Best move, netbeans and xdebug are awesome for php dev.
I'm wondering if any one has had any experience ...
0
votes
0answers
52 views
Precise PHP 5.3.10 big file transfert
A question about big files (more than 2 GB) transfert status on the php
precise Ubuntu package, should this be working ?
I can't upload big files using owncloud ... and I'm a bit lost reading
google ...
0
votes
0answers
264 views
wkhtmltopdf Only working with SUDO
I installed wkhtmltopdf and wkhtmltoimage on my VPS. (linode server) with ABC as logged in user (admin rights granted. I found now wkhtmltoimage is working very well with my PHP'sshell_exec` command, ...
0
votes
0answers
64 views
Setting permissions to let postfix and PHP work in the same folder
I am trying to achieve something simple, but permissions are making it very difficult. Here is what I expect:
Postfix should drop all incoming e-mail from the xx domain (catchall) into the ...
0
votes
0answers
253 views
Using Symfony on Apache using a Virtual Machine
I have an Ubuntu Server 12.04 and a tasksel LAMP stack installed in VirtualBox.
I would like to be able to use the PHP Symfony framework and access it over my Windows 7 virtual host, but am having ...
0
votes
0answers
92 views
PHP safe_mode is a pain, looking for advice (Ubuntu 12.04 server, public webserver)
Maybe askUbuntu isn't the right forum or I haven't provided the right search query but I haven't seen anything in my searching of askUbuntu on PHP safe_mode. I get lots of Windows Safe Mode and Ubuntu ...
0
votes
0answers
1k views
How do i install PHP 5.4.13?
The problem is that i'd allready installed php5.4.13 on ubuntu 10.10 and it work using this steps:
tar -xzf php-5.3.14.tar.gz
cd php-5.3.14
apt-get install libxml2-dev
./configure ...



