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
1answer
87 views

How to install PECL PAM in Ubuntu 14.04

Can any one help to install PECL PAM in ubuntu 14.04 system . I have tried to install via terminal using sudo aptitude install php5-auth-pam this is what we get "Couldn't find any package whose name ...
0
votes
0answers
37 views

PHP script works with Ubuntu 12.04.5 but NOT with Ubuntu 14.04

I have the following snippet in my code: $objCurl = curl_init(); curl_setopt($objCurl, CURLOPT_SSL_VERIFYHOST, FALSE); curl_setopt($objCurl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($objCurl, ...
1
vote
0answers
12 views

Trying to get into Php and Apache2 and this came up

Okay so while I was installing Apache2 and php all of a sudden I got this `**Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ...
2
votes
1answer
98 views

How to allow php5-fpm to execute user files without implicitly changing permissions every time?

I recently switched to Ubuntu. One of the tools I frequently used was XAMPP. When I installed LAMP stack on Ubuntu I noticed a major performance increase and was quite please with it. However, after ...
0
votes
1answer
22 views

standart apache installation on localhost is not visible outside the localhost, right?

Iḿ new to ubuntu and install apache2 php and mysql with this instructions: enter link description here As far as i know from windows, default xampp installation for example runs only on localhost, ...
0
votes
0answers
102 views

PHP cURL “Unknown SSL protocol error in connection to”

When I try to run my script using cURL on my computer via XAMPP, everything works perfectly: When I move it onto my server (Ubuntu 14.04 x64), it stops working and I continue to get this type of ...
0
votes
1answer
89 views

unable to install php5-mcrypt

I want to install php5-mcrypt, I used this command to install mcrypt on my ubuntu 14.04 server: sudo apt-get install php5-mcrypt and I'm getting the error like this, The following packages have unmet ...
0
votes
0answers
12 views

403 forbidden folder access denied

I have read all the posts about apache2 access denied but nothing worked. At first I am unable to change the ServerName. And then I have pasted a folder named projectxm inside /var/www/html/ and when ...
0
votes
1answer
122 views

Ubuntu 14.04 Error when compile PHP 5.6.3

I did everything right with the installation of all dependencies for Apache2 and PHP i think. First I installed a clean Ubuntu 14.04 with all actual updates. Then I installed with "apt-get build-dep ...
0
votes
1answer
62 views

Install PHP 4.4.2 on 14.04

I need 4.4.2 due to compatibility reasons. How do I install PHP 4.4.2 and Apache2 on Ubuntu 14.04? Nothing displays in FireFox when I run any PHP.
0
votes
0answers
7 views

Using separete pear environement

I have installed two different version of PHP. One with the apt instal php5 , other with the sources php-5.4.35-cgi Installation of the second has created a second pear environement But I don't know ...
0
votes
1answer
34 views

Crontab weird extensin error Unable to load dynamic library '/usr/lib/php5/20121212/peacjson.so'

I am wanting to find out how I might get to the bottom of a repetitive error that is being e-mailed to me every 9 and 39 minutes past the hour: PHP Warning: PHP Startup: Unable to load dynamic ...
0
votes
0answers
134 views

Call to undefined function json_encode(), json is installed

I'm trying to connect to an php project but now the apache2 error log gives me this message: PHP Fatal error: Call to undefined function json_encode() in "source of the php with the function". I ...
0
votes
2answers
75 views

Homestead in Ubuntu

I am editing my question regarding the benefits of Homestead vs. just installing each individual component without using Virtual box and/or Vagrant. I am new to Ubuntu --less than 2 weeks since I ...
0
votes
0answers
14 views

How do I install latest PHP in Ubuntu 12.04 with adodb support?

I'm trying to install the latest PHP version in Ubuntu 12.04 but I need support for the adodb php library. If I use ondrej's repository, adodb cannot be installed due to version conflicts. Is any ...
0
votes
1answer
223 views

How to Install php 5.3.10-1ubuntu3.14 on Ubuntu 12.04

I am experiencing problems with my PHP application with 5.3.10-1ubuntu3.15. I have identified what the problem is, but in the meanwhile I would like to downgrade to 5.3.10-1ubuntu3.14, because the ...
1
vote
1answer
117 views

Problem with installing and compiling PHP 5.4.0

I have a VPS server on OVH Cloud, Ubuntu 14.04.1 LTS with plesk 12 installed. The server has been set up with the newest version of PHP , but Plesk can manage two different version of PHP in the ...
1
vote
0answers
34 views

Resetting a failed Horde installation on 14.04?

I first tried to install Horde Webmail by following the instructions on horde.org (ie PEAR install, like I did on my previous server, 7years ago) but it failed on connecting to mysql. I then noticed ...
1
vote
1answer
195 views

apache2 on ubuntu 14 - localhost works but ip doesn't

I've just installed apache2 on my box, along with php5. I can navigate to "localhost" and it works. But I can't access this webserver from another machine... or even locally using the IP address. ...
0
votes
0answers
78 views

PHP not sending mail? Works on phone, and other applications

So I have an application (WHMCS) and it does not send mail. I get this error: PHPMailer Exception - SMTP Error: Could not authenticate. It uses PHPMailer, I get this error from it when it tries to ...
0
votes
0answers
37 views

How do I configure the Monkey webserver to work with hhvm

Current set up: I have Apache, php5, hhvm and Apache's fastcgi module installed on my Ubuntu 14.04 machine. I have been testing php5 vs hhvm. to use hhvm, I configured the Apache set up using ...
0
votes
0answers
26 views

New PHP installation slow

I had an old 10.04 installation with Apache and PHP. This retrieved data from another server running MySQL. This has worked fast and flawlessly these last few years. Now I installed a brand new 14.04, ...
0
votes
1answer
103 views

error when I change the default site directory of apache2

My system is Ubuntu 14.04 64-bit. I installed apache&SQL&php and I want to change the default site directory from /var/www/ to /home/smile/Documents/public_sites/. So I changed three steps: ...
0
votes
0answers
34 views

Apache with Suexec generating files with root UID

Recently I have configured a new Apache installation with Ubuntu 12.04 on one of our servers with suexec package enabled. All worked perfectly for some weeks, but recently the PHP-FPM has begun to ...
0
votes
2answers
28 views

How can I re `./configure` on a package installed via `apt-get`?

I have installed PHP using apt-get. I need to enable PDO_OCI using: $ ./configure --with-pdo-oci=instantclient,/usr,10.2.0.3 as per http://php.net/manual/en/ref.pdo-oci.php. How can I do so?
0
votes
0answers
16 views

Having problem watching videos with php extension

I tried to view a video on a link "http://www.indiahdtv.com/video.php?id=216654" But it never loads. I am using Ubuntu 14.04. Have installed flash.
0
votes
0answers
16 views

Ubuntu 14.04.1 Apache2 PHP5 / blank page [duplicate]

Apache is running (the default test page works). When I do <?php phpinfo(); ?> in a .php file and open it in a browser it shows a blank white page. Any ideas?
0
votes
0answers
43 views

How to execute simple program in netbeans?

How to execute PHP program in netbeans? I think I installed everything, I write a code for example this code: <?php echo 'Hello, world!'; ?> and when I execute it I get this error: Not Found ...
0
votes
1answer
860 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
86 views

What is wrong with My Apache2 (Alternate) 000-default.conf file

I'm starting a course in PHP which will require its own web-pages that I do not want to conflict with my existing work. The Ubuntu instructions are here: HTTPD - Apache2 Web Server See the code below ...
0
votes
2answers
59 views

Getting LAMP set up so I can run Wordpress Locally

I am following this tutorial: http://www.wpexplorer.com/locally-install-wordpress-on-ubuntu/ and am running into an error when I try to get my php file showing on Localhost. When I restart my Apache ...
1
vote
1answer
28 views

Custom compile sqlite as php so

In Compile sqlite with soundex feature I learned how to do a custom compile of sqlite. While this was a step towards my goal of using sqlite's soundex in a functional test, I find I'm not there yet. ...
0
votes
1answer
53 views

Compile sqlite with soundex feature

In 14.04 LTS: I'm trying to build a functional test of a Symfony application that uses the soundex() function in MySQL. The test environment uses sqlite, which by default does not compile its ...
0
votes
0answers
96 views

Downgrade PHP from 5.5.9 to 5.2.4

I want to downgrade PHP for testing purpose. How i can safely do it? I have Distributor ID: Ubuntu Description: Ubuntu 14.04.1 LTS Release: 14.04 Codename: trusty
0
votes
0answers
73 views

dependency issue while installing phpmyadmin on nginx webserver

I tried to find a solution for this problem for a long time but I cannot find it. Maybe you can help me. I have Ubuntu 14.04 installed on my system and want to use it for web development using nginx. ...
1
vote
0answers
31 views

Why is apache still logging my PHP Notices?

I have edited /etc/php5/acpache2/php.ini and set error_reporting = E_ALL & ~E_NOTICE then restarted apache, yet my /var/log/apache2/error.log is still filling up with PHP Notice: Undefined index: ...
1
vote
1answer
50 views

Performance issue [duplicate]

System details: Processor: Intel® Pentium® Processor 2020M (2M Cache, 2.40 GHz) RAM 1.8GB OS type: 64-bit (Release 12.04 (precise) 64-bit) Kernel Linux 3.2.0-32-generic GNOME 3.4.1 I'm a php ...
0
votes
0answers
30 views

Ubuntu php5-fpm www.conf pooling

Ubuntu VPS with 4GB RAM running wordpress with nginx, php5-fpm, and percona mysql 5.5 Daily unique visitors 8000 Maximum concurrent connections 90 For the above which is better www.conf (php5-fpm ...
0
votes
0answers
38 views

Enable ZTS Support on Ubuntu 14.04

i've installed everything that regards PHP from the standard repository. I've installed php5-dev package and all other dependencies to run pthreads on my server. I don't understand how to enable the ...
0
votes
1answer
105 views

chown + chmod 700, still cant paste files in /opt/lampp/htdocs

This seems basic & easy, but man...i got headache here. I followed this question : How to save php file in /opt/lampp/htdocs without going to terminal and type sudo gedit? I want to be able to ...
0
votes
1answer
153 views

How can I install pdo_oci extension on Ubuntu 14.10?

I have installed oci8 extension for php and it works. However for a project based on Laravel framework I need to use pdo-via-oci8 driver package. How can I install pdo_oci extension? (I have oracle ...
0
votes
0answers
33 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
0
votes
0answers
26 views

Open dir not working php

I am running Ubuntu 14.04 and I have a running apache2 server where the following php code: <?php $dir = opendir("/var/www/html/test") or die("Error type 1"); //Code here closedir($dir); ?> ...
0
votes
0answers
23 views

install FRAPI in ubuntu 14.04

As i am new in it, after installation when run the link on my local /frapi/src/frapi/admin/public/ face this error. Call to undefined function apc_fetch() in ...
0
votes
1answer
39 views

How can I find out my current mail server for Ubuntu 10.04

I am very new to linux and I set this up a while ago. I am now having problems sending mail to uncommon domains. For example my PHP scripts will send emails to yahoo, gmail, etc. etc. without problem. ...
1
vote
1answer
686 views

Cannot create file in /var/www/html

I am running Ubuntu version 14.04, and I have an apache2 server set up to host some php files on localhost that are stored in /var/www/html. When I try to execute the following code in one of my php ...
1
vote
0answers
134 views

Server slow after Nginx errors and restarting PHP

I have a server with Intel Xeon 2xE5520 2.27GHz, 48 GB Ram, 2x146 GB 15K HDD (Raid) OS Ubuntu 14.04.01, Nginx 1.6.2, PHP 5.5.9, MySQL. Webmin. My website is video portal. Traffic is approximately ...
0
votes
0answers
109 views

Test Mail Server Tool

I've finally moved to Ubuntu 14.04 from Windows. I had xampp installed for web development. For testing of sending/receiving emails I used this tool ...
0
votes
0answers
32 views

Running a php website

I have apache2, php5 and libapache2-mod-php5 installed. And a website written in PHP, it's located in my documents in a some folder, say, ~/Documents/my_website. When I go to localhost/index.html, it ...
0
votes
1answer
763 views

How to install Horde Webmail on Ubuntu 14.04?

Am using Ubuntu 14.04. Am stuck with the following issue: My goal is to install and have running HORDER GROUPWARE 5.2 on my Domain/Hosting: Download on Github: https:// github ...