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
0answers
37 views

Permissions to write files in the apache folder /var/www/html from PHP

I have apache running on Ubuntu and I'm trying to write (copy an image) in the following folder: /var/www/html/images I'm trying to write it from HTML/PHP <?php $uploaddir = ...
0
votes
1answer
35 views

How to correct the command for PHP 7.0.* in following PHP cli and git installation?

I'm using Ubuntu Linux 14.04 LTS 64-bit OS on my machine. I just updated all the softwares and packages installed on my system by running following commands from the terminal : sudo apt-get update ...
0
votes
1answer
171 views

I'm getting this error when try to update to php5

When I try to upgrade php from 5.3 to 5.6, this wild error appears Extracting templates from packages: 100% (Reading database ... 98172 files and directories currently installed.) Unpacking ...
0
votes
1answer
23 views

“E: There are problems and -y was used without --force-yes” when installing php

I'm trying to install php through the following: sudo apt-get install -y php7.0 libapache2-mod-php7.0 php7.0 php7.0-common php7.0-gd php7.0-mysql php7.0-mcrypt php7.0-curl php7.0-intl php7.0-xsl ...
0
votes
1answer
15 views

Postfix keeping email in queue for indefinite time. Sending from sendmail its working. Any idea?

I have set up postfix on my ubuntu. I have configured it properly so when ever I send email through Command Line or from "Read User Mail" section of Webmin its working. But when I try sending php code ...
0
votes
1answer
1k views

How to fix error processing package git-daemon-run?

I am trying to install php curl like so: sudo apt-get update sudo apt-get install php5-curl But I keep getting an error. Reading package lists... Done Building dependency tree Reading state ...
0
votes
1answer
37 views

php extension fileinfo install in Ubuntu(15.10)

I have tried to install php fileinfo extension in Ubuntu(15.10) and getting errors: sudo pecl install fileinfo Error: WARNING: "pear/Fileinfo" is deprecated in favor of ...
1
vote
0answers
49 views

PHP7 on ubuntu 12.04

I would like to upgrade our production php version to new php7. Unfortunately we are currently running on ubuntu 12.04. I have already tried to install php7 on corresponding virtual machine using ...
0
votes
1answer
9 views

cannot define phpversion

I installed LAMP on my Ubuntu 14.04. Then , I want to upgrade my php version. I checked my PHP version : php -v PHP 7.0.5-3+donate.sury.org~trusty+1 (cli) ( NTS ) Copyright (c) 1997-2016 The PHP ...
0
votes
0answers
7 views

Error getting json.php

everyone..im new in oracle.. i had create calendar and dtabse using phpmyadmin.. Then i want to put calendar in iis manager.. Now i need to change from phpmyadmin to oracle. I get "error getting ...
0
votes
1answer
21 views

xmlrpc.php not found or unable to stat [Ubuntu 14.04 Server]

I just setup a new Ubuntu server with a LAMP stack. I'm using it only for some React.JS development, and has no domain name associated to it. I'm finding that my error log is riddled with this error: ...
0
votes
1answer
24 views

Newbie: Slow Apache2 Response Time

As the title says I'm a newbie with this stuff but I'm willing to learn what I need to know. I'm simply ignorant atm. This is a Rackspace server with Ubuntu 15.10 running Apache2. I have a PHP web ...
-1
votes
0answers
12 views

How to resolve the apache issue? [duplicate]

I'm using Ubuntu Linux. I'm using LAMP(Linux, Apache, MySQL, PHP) on my machine. My Apache server is not working. I tried to restart it but that also failed. Then I removed completely and tried to ...
-4
votes
0answers
31 views

PDO exception : could not find driver error in migration time

i am new in laravel. simply i ma create table using migrate command. but every time it's show PDO Exception error. i was change in .env file and database.php files for database connection.
16
votes
4answers
16k 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?
0
votes
1answer
27 views

Would install LAMP conflict with python?

I am currently using ubuntu 14.04. I have PyCharm installed and using django-oscar with mysql. I am wondering what I would install in order to get php working? I am used to windows installing wamp to ...
1
vote
1answer
35 views

wget to get a file generated by a php script

I am trying to get a file generated by the php script export.php. But using this command, I am either getting 403 Request Forbidden or downloading the script itself instead of a .csv the script is ...
0
votes
0answers
10 views

How to run php file from /home/projectFolder/ in ubantu mate [duplicate]

I want to keep my php files in the folder in my home directory... How to do that
40
votes
5answers
57k views

How to install PHP 7?

PHP 7 came out yesterday and I would like to give it a try. PHP 7.0.0 comes with a new version of the Zend Engine, numerous improvements and new features such as Improved performance: PHP ...
-3
votes
2answers
795 views

How to upgrade PHP 5.5.30 to PHP7 in XAMPP, Using Ubuntu 15.10

PHP 7 is released, How can i install PHP7 in XAMPP. I am currently using PHP 5.5.30 and my Ubuntu version is 15.10 . Thanks
0
votes
1answer
132 views

How to migrate from PHP 5.5.* to PHP 7.0.* and upgrade the entire LAMP stack on Ubuntu Linux 12.04 LTS(64-bit) operating system?

I'm using Ubuntu 12.04 LTS (64-bit) operating system on my local machine. I've already installed LAMP stack (Linux, Apache, MySQL and PHP) on my local machine. Upon running following commands from ...
0
votes
0answers
18 views

Trouble using pimcore on LEMP stack

I was able to install pimcore on a LEMP server with php5.6 and ubuntu 15.10 wily. The php packages installed according to the official system requirements on the pimcore website. After installing ...
0
votes
0answers
14 views

Phalcon Installation Error - Ubuntu

I tried installing Phalcon in Ubuntu 12.04 with php 5.5. I have followed the same steps as in http://www.sitepoint.com/quick-tip-4-steps-install-custom-php-extensions-zend-server-7/. But after ...
0
votes
0answers
31 views

PHP Errors in mail

I've been getting these error messages sent to me a lot lately, pretty sure it's causing me a problem. From root@kallarserver Fri Apr 15 13:39:01 2016 Return-path: <root@kallarserver> ...
0
votes
1answer
253 views

Install xdebug in Ubuntu 16 with php5 - error: can't read ltmain.sh

I'm trying to install xdebug in Ubuntu 16 with PHP 5 and it fails. The command that I use is: sudo pecl install xdebug I searched a lot on forums but couldn't find the cause for this one. Could ...
2
votes
1answer
60 views

phpinfo shows old mysql version after mysql upgrade (Ubuntu 14.04)

I've upgraded MySql Server from version 5.5 to 5.7 on my Ubuntu 14.04 64bit version and everything is working fine, BUT: phpinfo() shows old mysql version 5.5.47, but "mysql --version" is showing ...
10
votes
2answers
5k views

Installing PHP 5.6 on Xenial (16.04)

I need to use php5 (5.6) because I'm working on a Drupal 7 project which doesn't support php7. The problem is I recently updated to ubuntu 16.04 Xenial which seems to no longer support php5. I tried ...
0
votes
1answer
39 views

How to configure setting of phppgadmin with xampp and postgresql 9.5?

I'm using Ubuntu 14.04, Xampp 5.6 and PostgreSQL-9.5 I have already uncommented these lines: extension=php_pdo_pgsql.dll extension=php_pdo_sqlite.dll extension=php_pgsql.dll but still I this ...
6
votes
2answers
14k 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 ...
0
votes
0answers
18 views

Script to grab file which is downloaded automatically when site is visited

I need a script that would enable me to grab the file that is automatically downloaded when a particular site is visited. I have a PHP script that downloads a file once the link is entered. I need a ...
3
votes
2answers
11k views

How do I change the timezone on PHP5 for Apache?

Ok I have a VPS running Ubuntu Server 12.10 32Bit and I need to set the timezone in my PHP.ini file so my PHP Script's time and date features will work (I am trying to setup ModX) I have tried to go ...
1
vote
1answer
206 views

Using MSMTP with GoDaddy relay servers. Help?

Okay first of all I have done my homework and research on this. Most of the guides that I have found are for setting up MSMTP with Gmail. First let me tell you what I have done so far. My box is ...
0
votes
1answer
8k views

Ubuntu 13:10 - Downgrade php 5.5.3 to 5.4

Can someone give me step my step instructions on how to do this? Will I have to worry about and data/databse loss doing this. Thanks! sudo apt-get remove --purge dpkg -l | grep php | grep -w 5.5 ...
1
vote
0answers
48 views

PHP not loading ssh2 extension after successful installation

I was getting this error, when running my PHP script to download files using SFTP: PHP Fatal error: Call to undefined function ssh2_connect() I installed the ssh2 PECL extension by running the ...
7
votes
2answers
2k views

How Ubuntu plans to support PHP7?

Tomorrow will be release PHP 7, how Ubuntu plans to support it? It will be available at least in official LTS repository or we need to wait the next Ubuntu release?
3
votes
1answer
2k views

add-apt-repository throws python error

Trying to install the latest PHP5 packages and so I add the repo ( sudo add-apt-repository ppa:ondrej/php5) I need and this is the outcome: Traceback (most recent call last): File ...
0
votes
0answers
34 views

Incomplete installation. Baïkal dependencies have not been installed

I have tried to install Baikal in my Ubuntu 15.10 to be able to sync my android phone and my Thunderbird Calendar but it is not working. After I finish the process of installation I get an error ...
-2
votes
0answers
17 views

how to config server enable respons for curl and soap

this server is apache2 and php5 SOAP Client Forms Service Documentation : None Error parsing the WSDL file: myurl Error retrieving WSDL file at myurl i can easily connect to my page within url but ...
1
vote
1answer
4k 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: ...
0
votes
4answers
5k views

Unable to open PHP files on Linux platform on Ubuntu

I've copied over my files over to a new directory which I have created: /var/www/worm/data.php. I tried opening it by a few ways: Double clicking the file but nothing comes out Typing ...
3
votes
3answers
13k 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 ...
5
votes
2answers
19k views

Can't find httpd.conf

I have installed Ubuntu 14.04 on a laptop and installed apache 2 (version 2.4.7) and PHP 5. I cannot find httpd.conf. I need to change it because when I try to open a .php page I see a download box. ...
0
votes
1answer
587 views

How to install php apd?

How can I install Advanced PHP Debugger in ubuntu? I have tried sudo pecl install apd. It gives error Cannot find config.m4.. Is there any way I can install it via apt?
0
votes
0answers
21 views

HowTo : IPXE with APACHE and DNSMasq - Chainload Ubuntu

The goal: PXEBoot to IPXE menu and select Ubuntu Desktop and load LiveDesktop This is just for the sake of a complete tutorial, I will want more OS's but I figured Id start with Ubuntu Desktop. My ...
1
vote
1answer
16k views

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I am using ubuntu 13.10 on evaluation board and my internet is not working. Also i need to install softwares and apt-get install is also not working. Terminal says : E: Unable to fetch some ...
0
votes
1answer
27 views

Collect responses from HTML form [closed]

I'm using Ubuntu 14.04 I want to host a website on the computer that I have. I installed LAMP, which seems to be working (I can access the website through my outside IP) The website includes an HTML ...
1
vote
1answer
4k 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
22 views

Sending an email with PHP

I'm having a lot of trouble setting up a mail service on Ubuntu 14.04 I've tried sendmail, but despite following literally 15 different guides on how to set it up, it doesn't work (from the command ...
0
votes
2answers
4k views

Errors installing php5-mysql extension

Getting error when installing php5-mysql. Looks like a dpkg error. Perhaps a broken package. Have tried to fix the broken package. Have reinstalled the lamp server and everything seems fine except ...
2
votes
2answers
5k views

php5-ffmpeg not available in 14.04's repos, what now?

I know that from now on, Unbuntu only supports libav instead of ffmpeg. But as for ffmpeg-php, I am not aware of any similar tool. So how developers are supposed to do? Is there any option beside ...