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
105 views

My server is making me download the code instead of running it

I am running an ubuntu server 12.04 but unfortunately I am not being able to make the interpreter run the code exactly. I am using nginx encrypted lvm and here is the conf.d (main part): server { ...
0
votes
0answers
2 views

nginx White Screen After Update

I'm running a DigitalOcean box with nginx and Wordpress. I recently updated my nginx to the latest version and now I'm getting a white screen on my site. My wordpress site is the only site running on ...
0
votes
2answers
2k views

phpmyadmin not found

I am using ubuntu 14.04. I have made setup LAMP by going through step by step what in this link. For apache I mean http://localhost all the files are working fine . But when I am doing ...
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
0answers
11 views

unoconv cannot connect or start listener without sudo

I'm working on a website for school on the school server. My website uses unoconv. It was working up until today for some reason. Basically what is happening is that if i run this command in the ...
0
votes
1answer
28 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 ...
2
votes
0answers
42 views
+50

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 ...
-1
votes
0answers
16 views

How to execute multiple create query in single query in mysql [on hold]

I want to create a database and table by using single query. My database name should be registration form username. please help me. My code is <form method="post" action=""> <input ...
0
votes
0answers
21 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, ...
0
votes
1answer
214 views

How to upgrade softwares from currently installed LAMP on a 64-bit Ubuntu 12.04 LTS system? Please provide me the step-by-step instructions

Someone had installed LAMP on my machine almost two(2) years back. I got this machine since last six(6) months. The LAMP is working fine for all of the PHP project work I do. But the issue is all the ...
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 ...
0
votes
1answer
12 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
1answer
43 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
24 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
0answers
7 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
0answers
44 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
2answers
46 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
1answer
29 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
1answer
17 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 ...
-1
votes
0answers
13 views

PostgreSQL / PHP Website [closed]

I recently launched a server instance (Ubuntu) on Amazon EC2. At this point, I have installed PostgreSQL and all other necessary applications/services on the server and am able to access phppgadmin ...
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 ...
-1
votes
0answers
11 views

Plesk doesn't see PHP install [duplicate]

After upgrading ubuntu from 12.04 to 14.04 my plesk doesn't see my php install. It says php is not installed.
0
votes
0answers
104 views

Is there a way to set up zPanel or webmin without uninstalling LAMP first?

I set up my server manually and am pretty happy with it. It's been a job of months, chipping away at it every day, and at this point I don't want to reinstall LAMP. But all server management software ...
0
votes
0answers
34 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 ...
1
vote
1answer
50 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 ...
0
votes
0answers
165 views

Cannot run PHP codes through Netbeans after installing XAMPP

I installed XAMPP and Netbeans to start learning PHP. After I wrote this code <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> ...
0
votes
0answers
25 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 ...
1
vote
1answer
89 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
8 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
63 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
3answers
6k views

Run PHP from the command line

I have installed XAMPP v1.8.3 for my PHP development. I am new to Ubuntu, so I don't know how to set environment variable for PHP which is located at /opt/lampp/bin/php. I can run PHP scripts from ...
1
vote
0answers
17 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 ...
3
votes
1answer
4k views

PHP-FPM eating memory & Creating many Pools

I set up my nginx with php-fpm. each vhost has its own unix-socket and separate POOL. But the problem is that php-fpm is creating 7 thread for each config pool that I created in /etc/php5/fpm/pool.d/ ...
0
votes
1answer
4k views

Install PHP5.3 on Ubuntu 14.4

How can I install PHP5.3 on my ubuntu 14.04 server? apt-cache showpkg php5 shows no 5.3 versions. I tried to install them using the example from this post (using 3.13 for my ubuntu version) but ...
0
votes
0answers
29 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 ...
1
vote
1answer
978 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. ...
0
votes
0answers
12 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 ...
-1
votes
0answers
12 views

Not Found Cakephp Inner Page on Ubuntu 14.04

My friend configured Cakephp on his Windows PC then I copied that on my Ubuntu PC in /var/www/html/ then sat permissions sudo chmod 777 -R /var/www/html/myproject when I run the project in browser by ...
1
vote
1answer
7k 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 ...
0
votes
0answers
19 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
51 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: ...
11
votes
3answers
38k views

PHP not working in Apache2 after system upgrade

Recently upgraded my system from Karmic to Lucid. This involved Apache and PHP being updated I believe. Now my server is unable to handle PHP files, any navigation to them is triggering downloading ...
7
votes
2answers
25k views

How to solve the phpmyadmin not found issue after upgrading php and apache?

Recently I have install the PHP, Apache, MySQL, phpMyAdmin, python in my Ubuntu Desktop 12.04.3 LTS to use it as a LAMP server. The commands I used to install these are given below: 1: sudo passwd 2: ...
0
votes
2answers
2k views

nginx and php5-fpm not working

before anything i searched everywhere and tested everything but still not working i install php5-fpm and nginx when i open localhost in browser i see this page : Welcome to nginx! so its working ...
0
votes
2answers
40 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 ...
0
votes
2answers
26 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

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?
1
vote
2answers
7k views

Why can't I write to a file even after 777 permission? [closed]

On my ubuntu server I have Apache and PHP and all that nessory stuffs.. but when I run a php file <?php ...
0
votes
0answers
10 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
29 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 ...