PHP is a server-side scripting language, used for building browser-based applications. This includes websites as well as programs that don't really need any form of interaction with the user.

learn more… | top users | synonyms (2)

2
votes
0answers
179 views

Updating Php 5.6.0 on Ubuntu

my question is how to update Php 5.6.0 on ubuntu if my folder with php5 is at: etc/php5
2
votes
0answers
183 views

How do I save an uploaded file in PHP?

In PHP, I'm trying to save a file to the /var/www/upload directory, but whatever I try, it doesn't work. I've tried giving www-data ownership of /var/www and subdirectories. I've tried modifying the ...
2
votes
0answers
91 views

Coordino permission issues?

I have downloaded the Coordino and wanted to run it on Ubuntu, tried to run it but its giving the following errors Warning: require(app/webroot/index.php): failed to open stream: Permission denied in ...
2
votes
0answers
329 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 ...
1
vote
0answers
36 views

Crontab not executing script with cURL

I have a cron that's set to run every ten minutes that works fine if I execute the file manually by entering php register.php But, my cron will not execute this file once it includes anything cURL ...
1
vote
0answers
28 views

Cannot load /usr/lib/apache2/modules/mod_mpm_itk.so

I ran tasksel to install lamp server, but I accidentally delete everything, when I got everything work as before I noticed that apache is not working and here is there message I get while trying to ...
1
vote
0answers
26 views

After Xampp install php files downloading when called

I recently installed xampp and when ever my html file calls a php script firefox downloads the script instead of running it. I have the php5 module installed and this is what my apache hhtpd.conf file ...
1
vote
0answers
219 views

Installing Php-java-bridge in ubuntu 14.04 i need two servers apache and tomcat both

When I copied JavaBridgeTemplate621.war to /var/lib/tomcat7/webapps and started the tomcat7 server and trying to go to http://127.0.0.1:8080/JavaBridgeTemplate621/ I'm getting following errors. HTTP ...
1
vote
0answers
31 views

Apache2 and PHP error logging

I've been running a local apache2 on a Ubuntu 12.02 LTS with the latest PHP version installed. I do need to debug some WordPress code to find out why certain values are not set in the database. I ...
1
vote
0answers
129 views

Problem with Apache - not starting?

I was trying to install ion cube, I was looking at an instruction online, and just copying and pasting commands to Putty I realized that I was trying to install a 32 bit version on my 64 bit ...
1
vote
0answers
99 views

Error message odbc_connect(): SQL error: [unixODBC][FreeTDS][SQL Server]

I'm trying to get my Ubuntu server to connect to my SQL server, without a lot of luck. I keep getting the error: Warning: odbc_connect(): SQL error: [unixODBC][FreeTDS][SQL Server]Unable to connect ...
1
vote
0answers
76 views

How do I downgrade php5.5.3 to 5.4?

I am trying to downgrade php from 5.5.3 to 5.4. I tried to find a 5.4 version using aptitude versions php5-common Package php5-common: p A 5.5.3+dfsg-1ubuntu2 saucy ...
1
vote
0answers
57 views

Why my apache service does not work correctly?

I am just a newbie using Ubuntu 12.04 LTS. In the beginning, I just want to install mcrypt, I followed this solution: cd /etc/php5/mods-available ln -sf ../conf.d/mcrypt.ini . php5enmod mcrypt ...
1
vote
0answers
54 views

XAMPP (LAMPP) on Ubuntu Touch

Can I install and run XAMPP (LAMPP) on Ubuntu Touch on a Nexus 10 in order to host a local website (that needs PHP and MySQL)?
1
vote
0answers
629 views

Apache Timeout (Problem loading page) on localhost

I am running a php script locally in my Firefox web browser. After exactly 300 seconds I get an error page. "Problem loading page. The connection has timed out. The server at localhost is taking too ...
1
vote
0answers
352 views

Apache2 + Php + Pthreads HowTos

04 LTS 64 bit. What I would really love to do is sudo apt-get install libapache2-mod-php5 but compile PHP with --enable-maintainer-zts so I could later install pthreads with pecl install pthreads. ...
1
vote
0answers
177 views

PHP 5.1.6 on Ubuntu

I want to install PHP 5.1.6 on Ubuntu in order to work on legacy PHP application. How can I install PHP 5.1.6 on Ubuntu. I have tried to install 11.10 and followed many online resources to get it ...
1
vote
0answers
63 views

PHP Mysql connection works but no data can be displayed

I wrote this simple php script that just to import basic information from mysql table. As a result, not even a error message, but a blank screen. Something to do with the PHP - Mysql connection, but ...
1
vote
0answers
170 views

Subdirectories Show 404 Not Found on 13.10 web server

I recently set up a web server on Ubuntu 13.10 and when I enter the external IP it works fine showing the index file of var/www/ but whenever I try to add a folder, say one called test, and I go to ...
1
vote
0answers
28 views

How would I tell the last time Apache served a file?

I'm trying to figure out how to tell the last time a .php file was served by Apache. I have written an application on an Ubuntu Lamp stack with Mysql & PHP. I have 1000s of files and I'm trying ...
1
vote
0answers
223 views

Apache: New files and folders does not get correct permissions

This is what i'm working whit. Ubuntu Server 13.10 /w Kubuntu Desktop 3.11.0-17-generic Apache/2.4.6 (Ubuntu) PHP 5.5.3-1ubuntu2.1 (cli) Module SuPHP Enabled My issues: I can install Joomla, and ...
1
vote
0answers
300 views

Ubuntu Server 12.04 php5enmod

For the life of me I can not figure out why php5enmod can not be found in 12.04. I can not use it to install php modules like mcrypt. Any suggestions?
1
vote
0answers
541 views

nginx with hhvm - Not found

I'v set up nginx with hhvm but, any file .php returns me "Not found" except index.php that returns me Running on HHVM version 2.3.2. Some of my configurations /etc/nginx/sites-enable/default ...
1
vote
0answers
124 views

Executing pdftk with php exec on Ubuntu 12.04.3

exec("cd /var/www && PATH=$PATH:/usr/bin/ pdftk 1.pdf 2.pdf 3.pdf 4.pdf output final.pdf"); I'm trying to execute this command on Ubuntu 12.04.3, it's working fine when I'm connecting via ...
1
vote
0answers
523 views

php-fpm high memory and cpu usage

My Real Ram and Virtual Memory is of each 1 GB. but php5-fpm uses very high memory approx 885MB. I searched for solutions but there is no effect. I have wordpress site and currently at a time there ...
1
vote
0answers
155 views

Integrate ImageMagick & MagickWand with php ubuntu 12.04

I have installed both ImageMagick and MagickWand in my ubuntu system by refering to the detailed instructions provided in Install ImageMagick From Source and MagickWand For PHP. When I chack whether ...
1
vote
0answers
494 views

Problems with php-Server (Now: Broken Apache2) - “Unmet Dependencies" - Ubtuntu Server with Plesk

I have a Ubuntu Server with Plesk insalled. My Englisch and my "linux" ist not very great! Since a few Days my PHP doesn't work. If i load a php site my Browser download the php file instead of ...
1
vote
0answers
490 views

Disable Zend Optimizer PHP 5.4

I am trouble-shooting an installation of Anahita, which requires APC to be installed and Zend Optimizer to be disabled. I have PHP 5.4 running on a Ubuntu 10.04.4 LTS server. I've been trying changes ...
1
vote
0answers
251 views

Setting up Virtualmin with PHP 5.4 or 5.5

I've tried various ways of getting a later version of PHP than 5.3 with Virtualmin. Each time breaking the server. I've tried adding ppa:ondrej/php5 and installing 5.5 both before and after installing ...
1
vote
0answers
291 views

Problem after installing phpmyadmin

I installed apache, mysql, and php on my Ubuntu 12.04 server but after logging in all I see is a white screen displaying a forward slash. Is there something else I need to configure or enable? / ...
1
vote
0answers
281 views

Need PHP5.3, lamp server is PHP 5.4.9

So I installed Ubuntu and installed lamp-server however this gave me PHP 5.4.9 and I want 5.3.25 to mirror a production server. I managed to use the dotdeb repos and get 5.3 installed, however its ...
1
vote
0answers
375 views

Website + LDAP + TeamPass, how to configure?

Got a small issue using my web server where I host a TeamPass website (http://www.teampass.net). I am using Ubuntu 13.04 Server and installed LAMP and I have a Windows 2008 R2 with Active Directory ...
1
vote
0answers
313 views

PHP-FPM dynamic vs ondemand Speed

In terms of speed, which is better? dynamic or ondemand? I just switch from apache to nginx so I need to know which of the two is better.
1
vote
0answers
161 views

How do I install the PHP gearman library in Ubuntu 13.04?

It doesn't appear to be a package in the repository and installing the PECL extension seems to fail. Is there a way for me to do a managed installation of this library without having to download a ...
1
vote
0answers
438 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
49 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
151 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
102 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
782 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
275 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
85 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
0answers
18 views

Apache Virtual Host Not working in 12.04

I had created a virtual host lmanager by using the steps mentioned in https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-12-04-lts My ...
0
votes
0answers
24 views

Install PECL_HTTP

I'm close to the madness with this problem. I need to use the HttpRequest class on PHP, I've followed the steps on this site Ubuntu PECL HttpRequest installation, but when run the sudo pecl install ...
0
votes
0answers
29 views

“php-clamav: depends on: phpapi-20090626+lfs but it is not going to be installed”

I want to install "php-clamav" . But... msy@msy-Inspiron-One-2020:~$ sudo apt-get install -f php-clamav 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是 ...
0
votes
0answers
29 views

PhpMyAdmin wont let me log in without password

I am preparing a Vagrant box to develop websites and I wanted to install phpmyadmin, to log in just as "root", no password needed, since it is just for development, but whenever I try it, I get the ...
0
votes
0answers
53 views

I'm not sure if LAMP on my Ubuntu 14.04.1 works correctly

I installed LAMP on Ubuntu 14.04.1 following this guide. However, when I go to http://localhost/testing.php/ from the browser, all I get is this: Not Found The requested URL /testing.php/ was not ...
0
votes
0answers
40 views

Uninstall PHP 5.3 Ubuntu 14.04

I recently followed instructions given by AgentCool in Installing PHP 5.3 in Ubuntu 14.04. And I have PHP 5.3.28 as >PHP PHP 5.5.9 as >PHP5 How can I undo these steps and go back to original ...
0
votes
0answers
12 views

Temporarily unable to connect to database

I've got a fully patched Ubuntu 12.04 Server VM that I'm using to host a few low traffic sites. My site is PHP (WordPress) and uses mysqli to connect to a MySql database - pretty standard stuff :) ...
0
votes
0answers
23 views

Joomla with postfix php mail not working

I am getting this error in mail.log (after trying to submit a contact form): fatal: Recipient addresses must be specified on the command line or via the -t option Its worth mentioning that I have ...
0
votes
0answers
21 views

phpmyadmin not longer working after updating ubuntu LTS12.04 to ubuntu LTS14.04

After I upgraded Ubuntu 12.04LTS to Ubuntu 14.04LTS, I found that phpmyadmin is no longer working by calling http://localhost/phpmyadmin. It did work on before upgrading. Now I get this when trying ...