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

php application asking intl but already installed

My (Symfony) application currently crashs telling ("The Symfony\Component\Intl\Collator\Collator::__construct() method's argument $locale value 'fr' behavior is not implemented. Only the locale ...
0
votes
1answer
254 views

phpMyAdmin 4 configuration for multiple users (Ubuntu 14.04, Apache2, PHP5)

I am asking for the configuration for phpMyAdmin so that multiple users can access their own databases with full rights but cannot see, edit or remove other databases. I installed phpMyAdmin like ...
0
votes
0answers
67 views

Ubuntu apache www-data and php permissions

I got Ubuntu to learn Linux and set up a local server to demo my sites on. I'm having quite a bit of trouble just running a php script that uploads a image to the server though. I'm not sure what ...
0
votes
1answer
47 views

Adding a standard to PHP_CodeSniffer

I'm using Ubuntu 14.04 and I'd like to check compatibility of our code as we upgrade to PHP-5.4 e.g. deprecated functions and other things that will break scripts. I install codesniffer like so ...
0
votes
0answers
295 views

Not able to get “Welcome to CodeIgniter!” page issue on LAMP: 404 Not found

I am having an issue with installing CodeIgniter 2.2 issue on LAMP: 404 Not found error when I access to base URL in config.php. I set my base URL to http://localhost/ci/ and I attempted to access to ...
1
vote
1answer
330 views

Updating PHP on Ubuntu 12.04 with Parallels Plesk

I've tried a few times to update php on my server from version 5.3 to the latest 5.5 with: sudo add-apt-repository ppa:ondrej/php5 It seems to work fine but it also updates Apache which I think is ...
0
votes
0answers
178 views

“[Client] DTD are not supported by SOAP” error while running test file in remote server?

<? $client = new SoapClient('http://*****/api/soap/?wsdl'); $session = $client->login('admin', '*****'); $apicalls = array(); $i = 0; $ii = 0; $filters = array('sku' => ...
0
votes
0answers
12 views

Loravel framework mcrypt missing

Just created a loravel project using composer but when trying to enter 127.0.0.1/loravel/public is says mcrypt is missing. I already tried everything I could find. My mcrypt.ini already is in ...
0
votes
0answers
37 views

Install all configured files of lighttpd and php with the deb file installtion

I am using php with lighttpd in qt linux desktop application in Ubuntu 14.04, 64bit machine. I manually configured all the lighttpd and php files at my machine and it worked perfectly. I want that ...
0
votes
0answers
42 views

Multi domain emails from PHP

my server is running Ubuntu server 12.04 LTS. So far, I had no problems sending out emails from my single wordpress website. After creating other websites on the same server, I recognized, that they ...
-1
votes
1answer
355 views

Is Ubuntu a good Linux OS for php developer? [closed]

I want to switch from Windows OS to Linux OS for developing in Php. I can't decide which Os is perfect for me. Please suggest me. Is Ubuntu a good choice for a Php developer? What are the pros and ...
0
votes
1answer
273 views

using phpstorm and xampp and unable to create new project folder

I am really new to ubuntu and finally managed to get xampp working with xdebug and now i am trying to setup phpstorm but i run into problem. My understanding is that the projects have to be created ...
1
vote
1answer
186 views

Webserver not displaying PHP page

I have provisioned an apache webserver with a custom user for content management, created a http-docs root directory in /var/, and assigned ownership to the user with the usual chown stuff, yada yada ...
5
votes
1answer
900 views

How to upgrade PHP version to the latest stable released version? Let's say how to upgrade from PHP 5.5.19 to PHP 5.5.20?

I'm using a system running on Ubuntu 12.04 LTS 64-bit OS. I'm currently using following PHP version on this machine: Command used to get the below info at terminal : php -v Details I got are as ...
0
votes
2answers
277 views

PHP Fatal error: Cannot redeclare [ By using php -l in terminal]

I wrote the php script and gone for syntax check via terminal php -l my_filepath, then suddenly found fatal error PHP Fatal error: Cannot redeclare even my code executing successfully. also check on ...
1
vote
1answer
435 views

IDE for Symfony (PHP) which is able to manage Vagrant VM's over SSH

I just switched from Windows to Ubuntu on my dev Laptop. Now I'm wondering, what's the best IDE to use on Ubuntu when working with PHP? I know there are a lot of threads here about exactly that thing, ...
0
votes
1answer
184 views

Installing Apache MPM Worker with PHP support on Ubuntu Server 14.04.1

I'm trying to configure mine server to enable the Apache's "worker" version supporting PHP5. I have googled for hours, and all I find is either confusing/vague info. or tutorials for older Ubuntu ...
0
votes
1answer
38 views

How do I upgrade to the latest version [duplicate]

I'm a neophyte user trying to set my system up to program in PhP via Ubuntu. I have a cd with version 12.10 and would like to know how to upgrade after install and install packages for PHP... I'm ...
0
votes
0answers
174 views

EC2.micro nginx php-fpm error “upstream timed out”

I've been setting up a new server on AWS using a t2.micro instance and Ubuntu. After setting everything up the site worked fine, but now it's throwing errors. There is no traffic on the site at the ...
2
votes
0answers
268 views

403 Forbidden Error after changing LAMP Apache root/ www directory

I installed and set up all the LAMP services, and got it working from the www folder, thing it though I need it to point to a folder in my Dropbox (on the same partition) I modified the ...
-1
votes
1answer
79 views

How to link to php from xampp installation so i can just use php command instead of full path?

I have xubuntu installation and xampp installed on my pc, and everything works great, but lately i am experimenting a little bit with laravel framework and a lot of tutorials and people just use php ...
-1
votes
2answers
191 views

cannot install php5-mysql

I have ubuntu 32bit server (14.04), running php5, I am trying to install php5-mysql but I get a dependancy error. How can i fix this? ~$ sudo apt-get install php5-mysql Reading package lists... Done ...
0
votes
0answers
104 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
314 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
86 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
13 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
236 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 ...
-1
votes
1answer
54 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
241 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
208 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
28 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
219 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
312 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
8 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
0answers
581 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
124 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
41 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
1k 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
299 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
69 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
623 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
120 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
96 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
87 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
722 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
56 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
31 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
21 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
61 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 ...