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)

1
vote
1answer
33 views

How to update PHP to the newest version(5.5) on LAMPP Ubuntu 12.10 [on hold]

I have installed LAMPP about a year ago, I remember that it was very easy because I just had to download a tar.gz file and extracted it to the /opt/ folder it always worked great. Now I want to ...
0
votes
1answer
14 views

Safest place to get latest Apache and PHP or switch to debian?

I'm a relatively new Ubuntu user and would like to use the latest version of PHP 5.6 and Apache 2.4 I've been using the latest versions of Apache and PHP on Windows without any problems for a few ...
2
votes
1answer
56 views

How to upgrade to PHP 5.5.25(The Latest Stable Released Version of PHP) on Ubuntu 12.04 LTS 64-bit OS?

I tried following commands but after running these commands I got upgraded from PHP 5.5.23 to PHP 5.5.24. I want to upgrade to PHP 5.5.25 which is a latest stable released version. sudo ...
1
vote
0answers
128 views

Install PHP 5.3.2 or any 5.3x on Ubuntu 13.10 [closed]

I am new to linux and installed Ubuntu and Apache2 by searching on Internet. Everything goes fine up to Apache installation. Now like to install php5.3.2 On searching found command ...
-2
votes
1answer
51 views

Apache not allowing php to create file

I am trying to save data using html and php in localhost in ubuntu.My html & php files are working great but when i am using commands to open a file in the localhost using $myfile = ...
1
vote
0answers
19 views

Pear upgrade all is not working in Ubuntu

When I try to upgrade Pear It shows message on terminal as follows Will upgrade channel://pear.php.net/xml_util Will upgrade channel://pear.php.net/pear Will upgrade ...
1
vote
1answer
2k views

Call to undefined function sqlite_open() in CLI mode

12.04 AMD 64 apt-get install sqlite php5-cli php5-sqlite php -r '$x = sqlite_open();' PHP Fatal error: Call to undefined function sqlite_open() in Command line code on line 1
0
votes
0answers
12 views

php exec() not working properly

I have a server running Ubuntu 12.04.3 LTS and a LAMP stack used for processing files uploaded to it (hashing, size, path, etc.) and it seems to be acting up. When a file is uploaded it goes through ...
1
vote
1answer
3k views

Install PHP 5.4 on Ubuntu 14.04 LTS without Compiling

ppa:ondrej/php5-oldstable does not support PHP 5.4 for Ubuntu 13.10 and higher. There seems to be no official or a stable way to install PHP 5.4 instead of 5.5 on Ubuntu 14.04 LTS currently. I've seen ...
0
votes
0answers
29 views

Ubuntu Lamp - Proxy - Firewall - Joomla curl and fsockopen wont work

Ok i have been struggling with this for a couple of days now. I have a Joomla installation on a local machine on our network for our intranet, also installed is Jomsocial. The problem is that when i ...
0
votes
1answer
11 views

Forbidden to access PhpMyAdmin in VPS of Ubuntu,Apache and Mysql

I get this error through access phpmyadmin in my vps. Forbidden You don't have permission to access /phpmyadmin on this server. Apache/2.4.7 (Ubuntu) Server at 188.165.168.89 Port 1091 I config ruby ...
0
votes
0answers
11 views

Blank page rendered for php file in ubuntu 14.04 lts. Installed Lamp

I had all my tool in Linux, but i want to test my webpages. I used to use easyphp devserver on window, but here in linux it's not available. Lamp is available here, but my php pages do not render. It ...
1
vote
1answer
20 views

How to prevent Apache and use NGINX alone?

I've installed Nginx Mainline/Dev, PHP 5.6 from webupd8 repo and MariaDB 10. But with Software Updates/PHP update, Apache is being installed also. How can I prevent this? I just don't like apache ...
0
votes
0answers
16 views

Error while updating with drush

I have an ubuntu server with apache that is going to be the host of our public web site (the site is using Drupal). We currently have a public web site and are moving that site to a new server. I ...
0
votes
0answers
18 views

Image in a csv file [closed]

I have some CSV files with 3 sheets and I want to add an image into a each sheet using php code. Is it possible? If yes,please give me the solution
1
vote
0answers
23 views

php doesn't work on all directories

I installed lamp server and changed it's directory to my Dropbox folder following all the instructions here. The first page I opened was in http://localhost/askRond/Website/ and it opened without any ...
16
votes
5answers
39k views

Cannot get mcrypt for PHP5

I've done this many times: sudo aptitude install php5-mcrypt sudo apache2ctl restart aptitude says mcrypt is installed. I've reinstalled it 3 times already. I've restarted apache about 20 times ...
0
votes
0answers
7 views

Install and phalcon extention in php 5.6

I'm install php 5.6 from source file in thiis path (/user/local/server/php) and mariadb from source in path (/user/local/server/php) and apache in path (/user/local/server/apache). How can i add ...
0
votes
0answers
16 views

php-java bridge Error: Could not connect to server

I'm trying to set up php-java bridge for the past day and cannot figure out what is not working. I have Apache2 and Tomcat7 running JSP server pages work fine. But PHP pages produce an error. I'm ...
2
votes
2answers
2k views

Error installing OCI8 on Ubuntu 14.04

I've just upgraded my VM to Ubuntu 14.04, and my OCI8 PHP driver has stopped working. I've tried to install/upgrade it, but it doesn't work. That's the error messages I get: ...
1
vote
0answers
16 views

Screen in crontab

I'm trying to run 9 screens windows by crontab, and then, run some codes (basically the same for all of them), but they don't work. The code runs all of 9 screens, but run code only on the first. Aah, ...
-1
votes
0answers
16 views

cannot set header('Content-Length') greater than 2GB

i am using the following code to download files from the server: <?php ignore_user_abort(true); set_time_limit(0); function my_filesize($fp) { $return = false; ...
0
votes
0answers
6 views

Add Pango to php5-imagick

I've already installed php5-imagick and want to add Pango to manage some texts on images by php. http://www.imagemagick.org/Usage/text/#pango For using of pango , I don't want to use CLI of ...
0
votes
0answers
12 views

Meaning of the php vesion on ubuntu and available update changes

I'm little bit confuse about the php version shown in ubuntu. When I check the php version on windows it shows as follows. PHP Version 5.4.25 In ubuntu the php version is shown as follows. PHP ...
0
votes
2answers
4k views

Changes for upload_max_filesize, memory_limit & post_max_size in the php.ini aren't affect

I'm trying to increase the upload_max_filesize etc in order to import bigger files with PHPMyadmin. I have changed the php.ini and restart Apache. I can see the changes on the PHPMyadmin import ...
1
vote
2answers
174 views

Get information from virtual machine manager using php

Is it possible to retrieve information from virtual machine manager using a php code? i tried through exec commands but couldn't get anything in browser as result. Please any help to complete this ...
0
votes
1answer
11 views

Apache with xDebug loaded but not working?

I've installed the php5-xdebug package through apt-get, I enabled it with php5enmod xdebug and when I run php -v, I get this: PHP 5.5.9-1ubuntu4.9 (cli) (built: Apr 17 2015 11:44:57) Copyright (c) ...
11
votes
3answers
49k views

How to configure Apache to run PHP as FastCGI on Ubuntu 12.04 via terminal?

I'm relatively new to the world of unix command line web server management/administration. Many hosts with control panel administration options allow you to change how PHP is run with a simple ...
0
votes
2answers
1k views

cannot access copied folder in htdocs of lampp in ubuntu?

I want to move my web content from window 7 to ubuntu 12.04. So I copy my web content and move it to my /opt/lampp/htdocs folder, then I have change the folder permission using :: 1) sudo -s 2) ...
0
votes
1answer
35 views

“PHP Fatal error: Call to undefined function” triggered by different apps

In the last 3 days I've been struggling to get a couple of PHP apps(phpmyadmin and drupal 7) working on my Kubuntu 15.04 box and consistently receive a "PHP Fatal error: Call to undefined function" ...
5
votes
1answer
10k views

Magento not seeing mcrypt in LAMP

I am running Ubuntu 13.10 desktop and installed a lamp stack (Apache 2.4.6, and PHP Version 5.5.3-1ubuntu2), and I set up virtual hosts. I also apt-get'ed php5-curl, and php5-mcrypt (no errors when ...
2
votes
2answers
249 views

Downgrade PHP 5.6 to PHP 5.5

I installed Ubuntu 15.04, but I need to use PHP 5.5 and in 15.04 the standard is PHP 5.6 I added the PPA: sudo add-apt-repository ppa:ondrej/php5 But when I tried to install, I got: The following ...
7
votes
2answers
17k views

Install PECL packages on ubuntu

I've tried it a 100 times I'm really new to Ubuntu and ended with a bunch of error that I don't even understand can any one please help me?? Here is what I did: I installed PHP I installed libcurl ...
0
votes
1answer
25 views

Install libtidy with php 5.3.28

I have php5.3.28 Installed, I want to install libtidy on the server. I am using command apt-get install php5-tidy. This upgraded php 5.3.28 to 5.5.9. What is the solution to install libtidy with php ...
0
votes
1answer
3k views

Error in apache configuration

Initially my PHP was running well and after that when I installed perl CGI modules in order to run my CGI programs, there was problem. From the local host, I am not able to compile my PhP files nor ...
0
votes
1answer
88 views

Php Obfuscator on Ubuntu 14

I am looking for PHP obfuscator without any server side plugin required. I would really appreciate any suggestions. Thanks
10
votes
1answer
18k views

Nginx/PHP-FPM “Access denied.” error

I'm trying to set up a freshly installed Ubuntu (12.04) server, but I can't get PHP files running through php-fpm. No matter what I do, I always get a "Access denied." page (plain text, not html or ...
7
votes
4answers
4k views

When will PHP 5.6 be in the official Canonical repos?

I imagine it won't up until 14.10 is released, but even if that is the case, could we expect to see it show up in the repos that 14.04 uses?
1
vote
1answer
97 views

How to install PHP 5.6.8 on Ubuntu? [duplicate]

I am using Ubuntu and I'm quite new to this OS. I Googled it but I did not find a satisfactory answer.
1
vote
0answers
38 views

Ubuntu Coovachilli freeradius phpmyprepaid

I have installed Freeradius Coovachilli Captive portal successfully on my Ubuntu 14.04 Server. but when i downloaded Phpmyprepaid RC3 and extracted to /var/www/html folder it returns a login page and ...
154
votes
2answers
191k views

How do I install latest PHP in supported Ubuntu versions (like 5.4.x in Ubuntu 12.04)?

I am trying to update to php 5.4 in Ubuntu 12.04, and I can only get 5.3.6 using official repositories (using apt-get). I'm not really sure how to do a manual update – I'm sorta new to ubuntu, but I ...
1
vote
1answer
20 views

Ubuntu php and apache development!

I heard that Ubuntu has already available for installation packages as well , confirmed and it really is true , just installed that came with php5.5 , I need php5.2.17 for installation of vBulletin my ...
0
votes
0answers
5 views

How to copy artifacts generated by a build (php web app) to a directory on the same server?

We're using TeamCity 9 on Ubunutu system. I want to copy the the artifacts published in the build to a directory (defined in Apache config as virtual directory) so that our application would get ...
0
votes
0answers
33 views

Connection refused error by soap-client curl while connecting to my zimbra server from cakephp2.6 app from my website?

I am testing zimbra server.I have details of configured linux zimbra server like: ZIMBRA_LOGIN, ZIMBRA_PASS, ZIMBRA_SERVER, ZIMBRA_PORT as in the script at https://github.com/libersoft/zcs-php. I ...
1
vote
1answer
171 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
2answers
66 views

How to execute a php script using cron?

I am trying to execute a php file via cron every 2 minutes, but it's not working. My crontab is: */2 * * * * usr/bin/php /var/www/test/cron.php What am I doing wrong?
0
votes
0answers
16 views

php not working nginx load balancer

I am trying to set up my server so that when all traffic coming throught the email_admin directory are worked through the current server otherwise they are sent to myapp1 this is what my ...
1
vote
1answer
22 views

PHP/Apache runs as which user on Ubuntu Server

I have a PHP script (in /var/www) that is supposed to write down the logs of operation in a file deploy.log (also in /var/www) and perform operations on a file situated in other directories of the ...
0
votes
1answer
39 views

Laptop heats up when I start/use PhpStorm IDE

I looked at similar questions but it didnt work. When I use laptop normally, it doesnt heat up. But it heats up when I start/use PhpStorm IDE. What can be the issue, how to overcome it ? Thanks.
0
votes
0answers
44 views

Bad Gateway on Nginx Server

I have a nginx server that I was trying to setup a wordpress (Actually multiple) sites on. I used the tuxlite script to setup my lemp server and add security, and everything seemed to work fine. ...