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)

0
votes
0answers
30 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
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 ...
2
votes
1answer
57 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 ...
1
vote
0answers
45 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 ...
1
vote
1answer
4k views

Can't install php5 on Ubuntu 16.04

so I've recently installed my first Ubuntu, to be precise, a daily build of 16.04, on my new laptop since the hardware was to new for 15.10. Now I'm in the process of setting it up and I want to ...
0
votes
1answer
34 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 ...
-2
votes
0answers
16 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 ...
6
votes
2answers
4k 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
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 ...
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 ...
0
votes
0answers
33 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 ...
0
votes
2answers
1k views

phpmyadmin not working on 16.04

I am about to use phpmyadmin on Ubuntu 16.04. But it shows that the page is not working. the error log says error 500 PHP Fatal error: require_once(): Failed opening required ...
0
votes
0answers
21 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
0answers
24 views

Froxlor shows me the script instead of the homepage (Ubuntu 14.04 Minimal)

I have installed Froxlor. Before this I have installed the apache2 server, a mysql-server, php5 and then Froxlor, when I will connect to xx.xxx.xxx.xxx/froxlor/ I get this: http://prntscr.com/aouey5 ...
0
votes
0answers
28 views

How to access website from d drive in ubuntu with apache

I have a PHP website which I want to keep in D Drive which is shared between Windows and Ubuntu. I am trying to access that directory using apache from ubuntu. It's always throws error: [pid 2207] ...
-1
votes
0answers
21 views

showing different php versions on same EC2 instance

I am using Amazon EC2 to install PHP7. For that I am following this steps: Install-PHP7 When I try to know version of PHP installed using this: <?php phpinfo(); ?> That time it shows me PHP ...
1
vote
0answers
43 views
+50

Installing obslete libapache-mod-php4

I have Ubuntu 15 LTS. Unfortunately, I need to install libapache2-mod-php4 to support old client website. I've managed to install php4 manually, from sources, but I can't find a way to install that ...
0
votes
1answer
41 views

why PHP 403 forbidden after fresh installation on ubuntu 15.10?

After I installed apache2 and ran it, the default HTML page of apache2 works fine. Then I installed PHP 5.6 and restarted apache2 and created PHP file in /var/www/html called info.php and put <?php ...
0
votes
0answers
90 views

PHP Warning:fread(): SSL: Connection reset by peer in /var/www/html/wp-includes/class-wp-http-streams.php line 269

I have a WP website on an Amazon AWS Ubuntu server and the website keeps crashing, I think it happens when having a lot of traffic. This is the error I get as an output: ` [Mon Apr 04 ...
-1
votes
0answers
29 views

Ubuntu server 14.04 bandwidth monitoring and controlling details connection to PHP page

Hey guys im using ubuntu server 14.04.3 , im making a bandwidth monitoring controlling system for users by installing Squid proxy into ubuntu server and also webmin , i want the bandwidth analyzing ...
-2
votes
0answers
41 views

how to change back var/www/html/ run on port 80 using localhost

A few days ago I installed a php application in var/www/html/myproject using terminal commands. I have installed the application from this link https://github.com/panique/huge using the commands ...
0
votes
0answers
26 views

SOAP API End point http://url//index.php/api/v2_soap/index/ HTTP 500

Soap API Endpoint is giving me HTTP 500 saying website cannot be displayed using the url. http://url/index.php/api/vw2_soap/index/ After apt-get install php-soap, I've tried to visit the ...
1
vote
2answers
129 views

Error: The new file /usr/lib/php/7.0/php.ini-production.cli does not exist!

After updating my system I received this error: Setting up php7.0-cli (7.0.5-1+deb.sury.org~trusty+1) ... Error: The new file /usr/lib/php/7.0/php.ini-production.cli does not exist! No apport report ...
0
votes
1answer
106 views

Unable to run PHP 7 in browser

I have successfully installed PHP 7 using this link. When I run following command in terminal php -v it successfully show that PHP 7 version detail. But when I run a test.php file (made in web ...
0
votes
0answers
54 views

Ubuntu 12.04 LTS : Unable to install php 5.6

I am trying to install php 5.6 on ubuntu 12.04 LTS. I am following the following steps : sudo add-apt-repository ppa:ondrej/php5 sudo apt-get update sudo apt-get install python-software-properties ...
0
votes
0answers
19 views

Class 'Phpdocx\Converters\COM' not found

I am using Ubuntu 14.04 LTS. I was installing phpdocx to convert docx to pdf, all was going well. I was able generate docx and pdf too but unfortunately got stuck in generating using ...
0
votes
0answers
32 views

Moving project over from XAMPP (windows) to LAMP (linux)

I have a project that I was building in xampp in windows environment which was working fine. However I am switching to using ubuntu now so have copied the files for this project over to LAMP in my ...
0
votes
1answer
43 views

Setting up multiple websites on a Linux server

I currently have an Ubuntu server, on which I have set up a little website for an old project, it's written in HTML/CSS/JS, and now I'm working on a new web app written in PHP and MySQL. I would ...
0
votes
1answer
21 views

How to setup Ampache

How exactly do you configure Ampache to run on a clean Apache install? I am trying to manually configure this because sudo apt-get install ampache fails to do so properly.
0
votes
0answers
47 views

Apache 2 Error “Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.”

I read in different places here around that MPM Worker is better performant than Prefork so I tried to change my MPM Prefork to MPM Worker following this answer and I got this error during sudo ...
0
votes
1answer
23 views

www-data running command not working

I'm using nginx with php , and I would like to run some command with exec() http://php.net/manual/fr/function.exec.php . the current example work perfectly echo exec('whoami'); but when I try with ...
0
votes
0answers
22 views

Avoid Chrome to check for internet connection (PHP/Chrome/ubuntu 14.04)

I have a slideshow that cache all files in the browser. If i unplug the internet cable, it will run the slideshow from cache. And it will detect internet if I plug the internet cable back in. But, if ...
0
votes
1answer
53 views

Why apache is unable to write with permission set as 2775?

I have installed LAMP as: sudo apt-get update sudo apt-get upgrade sudo apt-get install lamp-server^ If I understand correctly, apache server will be running with sudo privileges? If yes, for a ...
0
votes
0answers
30 views

Can't get Postfix to send emails

I am new to being a system administrator and this is my first VPS I am setting up. I'm not new, so I do manage to have everything except emails working. I have installed postfix and mail-utils and ...
-2
votes
1answer
144 views

Why the PHPMyAdmin stopped working after I upgrade PHP to version 7.0.4 on my machine running on 64-bit Ubuntu 14.04 LTS?

I'm using a machine that runs on 64-bit Ubuntu 14.04 LTS. Today, I upgraded from PHP 5.5.32 to PHP 7.0.4. After I made an upgrade my Apahce HTTP Server and PHPMyAdmin stopped working. I made ...
1
vote
1answer
1k views

404 Not Found - can't access login page after upgrade to ownCloud 9

I have tried both the package manager upgrade and a manual upgrade to move to the latest ownCloud version (9). Both methods end up with the same result; the page http://localhost/owncloud no longer ...
2
votes
1answer
72 views

How to rebuild/reconfigure the HTTP Apache server after upgrading to PHP 7.0.* on 64-bit Ubuntu 14.04 LTS?

Previously I was using PHP 5.5.32 on my system, everything was working fine. All the PHP programs and projects were running successfully. Today, I upgraded to PHP 7.0.4 and the trouble starts for me. ...
0
votes
0answers
22 views

How to upgrade “PHP” to “Current Stable Version” i.e. “PHP 7.0.4” on a machine running on 64-bit Ubuntu 14.04 LTS? [duplicate]

I'm a PHP developer by profession. My organisation has given me a machine that runs on 64-bit Ubuntu Linux 14.04 LTS. I went to terminal by pressing ctrl+t and typed in there php -v. It gave me ...
0
votes
1answer
266 views

How to make apache2 serve php-based projects with php7 on Ubuntu 16.04?

Ubuntu 16.04 adds libapache2-mod-php7.0 which messes up the apache2 configuration for serving php-based projects (I'm formulating this so vaguely because I'd like to avoid dealing with source code for ...
0
votes
0answers
8 views

Sendmail doesn't work after unsinstalling thunderbird

I have the following problem, and after trying a lot of things...now I need your HELP!! I installed LAMP on my 14.04 LTS. From my php-code I was sending (using sendmail) emails without any problem. I ...
0
votes
2answers
61 views

How to downgrade PHP version 5.56 to 5.4 in Ubutu 15.10

I'm using Ubuntu 15.10. I need to install PHP 5.4 version cause of one of PHP plugin just support for php < 5.56 how to do this?
0
votes
1answer
87 views

Install pear on php 5.6

I'm trying to install pear using the following: sudo apt-get install php-pear When I execute that command however, it offers me to download and install the following: php-cli php-xml php7.0-cli ...
0
votes
0answers
23 views

MAMP to Ubuntu 14.04 Server apache config doesn't work

I'm having an annoying problem, i've developed a MVC php application, which of course uses a lot of redirects by controllers to controllers and so on. Well, here's the issue. On my MACs (note that ...
0
votes
1answer
229 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 ...
0
votes
0answers
23 views

Postfix is sending emails signed and coded and everything is fine but not when the server sends using php mail function

First of all I must say I have searched a lot for the answer and I am stuck with this problem since 3 days. Postfix is sending emails signed and everything is fine but not when the server sends ...
0
votes
0answers
24 views

Start Java process within a PHP application

Not sure if this is the right place to ask or should I ask on stackoverflow.com but I will try here first. I have a php web application and somewhere within this application I have a button. That ...
1
vote
2answers
60 views

How to check OS version using php (script) file

I have a Linux Server and only having ftp access for it I want to check Server full detail like OS version, RAM, HDD, installed packages etc is it possible using php script file to get information for ...
0
votes
0answers
49 views

Lampp - Virtual Hosts not working

I have installed a fresh package of Xampp on Ubuntu 14.04 I am trying to create a virtual host for my project but it is not working. Below is how I created a virtual host: sudo gedit ...
0
votes
0answers
39 views

PDO mysql extension install

I installed sudo apt-get php5-mysql and when i go to phpinfo i in PDO support i only have Sqlite .. Can anyone help me to add PDO mysql to PDO supported. Thank you. PHPINFO Also here is more info ...
3
votes
1answer
95 views

php5 and phpmyadmin not installing

I have installed mysql, mysql-server, apache2 and many more. May be I have installed some wrong PPA or programs which cause this problem. Basically, I need to run local server (eg. for wordpress). So ...