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
184 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
49 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
1answer
85 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 ...
1
vote
1answer
18 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
40 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
3answers
879 views

Ubuntu-Lampp PHP path issue

I use Ubuntu 13.10 and Lampp. When I try to run sudo php artisan job-daemon I get the above message. But when I run php artisan job-daemon it works just fine. php -m gives me the following: [PHP ...
0
votes
0answers
57 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
42 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
24 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: ...
0
votes
1answer
37 views

phpmyadmin not longer working after updating ubuntu LTS12.04 to ubuntu LTS14.04

After I upgraded Ubuntu 12.04LTS to Ubuntu 14.04LTS, I found that phpmyadmin is no longer working by calling http://localhost/phpmyadmin. It did work on before upgrading. Now I get this when trying ...
1
vote
1answer
46 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
16 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
23 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 ...
1
vote
2answers
2k views

Error installing OCI8 on Ubuntu 14.04

I've just upgraded my VM to Ubuntu 14.04, and my OCI8 PHP driver has stopped working. I've tried to install/upgrade it, but it doesn't work. That's the error messages I get: ...
0
votes
0answers
84 views

Ubuntu 14.04.1 LTS | MariaDB | nginx | PHP | ownCloud | MediaWiki

I would like to have the following configuration on my server. I am new to Ubuntu (Linux, really) and am struggling while trying to set up the following elements. Does anyone have these packages ...
4
votes
1answer
8k views

Magneto 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
1answer
64 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 ...
6
votes
4answers
31k views

how to remove symbolic link

i was doing sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin but i accidentally typed something else. So now I want to correct it but it says symbolic link already exist. Please help, Thanks in ...
0
votes
0answers
21 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
1answer
104 views

execute permission problem with php file

When I create a php file it have not permission execute so I can't run php file. I need to set permissions of that file. I want that all created php files have execute permission. new creation file ...
0
votes
0answers
17 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); ?> ...
11
votes
4answers
24k views

How to update to PHP 5.3.10 in 10.04?

I'm new to Linux and have only the basic experience with Ubuntu and installing LAMP Server. I've successfully installed all using the "apt-get install" method. My problem is I want to update PHP 5.3.2 ...
4
votes
3answers
22k views

How do I completely remove phpmyadmin?

I messed up my phpmyadmin, I haven't logged in phpmyadmin for a while, and as a result I forgot my password, so I purge it like so: sudo apt-get purge phpmyadmin. I did get some error messages asking ...
0
votes
1answer
31 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. ...
0
votes
0answers
13 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 ...
5
votes
6answers
21k views

Unable to set password for the mysql “root” user

I am new to Ubuntu. I am running Ubuntu 12.10. I am trying to install apache,php,mysql. However I have installed apache and it is running perfectly. sudo apt-get install apache2 But when I tried to ...
1
vote
1answer
433 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
81 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 ...
3
votes
1answer
8k views

Why php5-fpm is depending of a “sury.org” version of php5-common?

I try to install php5-fpm package but I have this information: The following packages have unmet dependencies: php5-fpm : Depends: php5-common (= 5.5.7+dfsg-1+sury.org~quantal+1) but ...
9
votes
1answer
14k views

Nginx/PHP-FPM “Access denied.” error

I'm trying to set up a freshly installed Ubuntu (12.04) server, but I can't get PHP files running through php-fpm. No matter what I do, I always get a "Access denied." page (plain text, not html or ...
1
vote
2answers
320 views

testphp.php 404 Not Found

I installed LAMP Server. I can access http://localhost. I can also run successfully phpmyadmin. But when I go to http://localhost/testphp.php, I get a 404 not found. The file is in ...
0
votes
0answers
235 views

dpkg: error processing package libapache2-mod-php5

I have a problem at moment of use my apt-get/aptitude package manager When I want install some packages I get the following output: sudo aptitude install libxslt1.1 libxml2 The following partially ...
0
votes
0answers
56 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 ...
6
votes
4answers
28k views

How to compelety remove php?

I need to clean up my server from PHP 5.3 packages (there are plenty of them) in order to be able to compile PHP 5.2. I am wondering what is the easiest/safest method to get rid of them all? Thanks
1
vote
1answer
37 views

email - Postfix name issue with using $header “name <email>”

I've set up Postfix on my Ubuntu+Nginx machine to send mail and I'm running in to one issue. The issue is that the from name is www-data with the email ...
0
votes
0answers
60 views

Php5 Mcrypt still not working on Ubuntu 14.04

I installed php 5.5.9 and mysql 5.5.4 with nginx on a new aws instance running Ubuntu 14.04. I tried to install php5 mcrypt but it either doesnt recognise its installed or breaks apache. It seems ...
-1
votes
1answer
63 views

How to remove completely the php packages from ondrej PPA?

I have Ubuntu 14.04, wanted to try php5.6. Added ppa:ondrej/php5-5.6. Updated. Installed php5. Got php5.6. Did not find some extensions and decided to switch back to ubuntu's own php 5.5. Deleted ...
0
votes
1answer
52 views

LAMP installation

I would like to setup LAMP on my box, I installed apache2,mysql-server,php5&libapache, restarted apache with sudo /etc/init.d/apache2 restart, succesfully executed php -r 'echo "\n\nYour PHP ...
-1
votes
1answer
2k views

Cron job every second

How can I run a PHP script every few seconds in Ubuntu Server? (bonus: How can I run random within the cron script, e.g. every 3 seconds + random(3 seconds) )
0
votes
0answers
30 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
379 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 ...
0
votes
2answers
71 views

Installing LAMP - PHP not connecting with MySQL - Why?

Am followoing this amazingly simple LAMP tutorial http://ubuntuserverguide.com/2014/06/how-to-install-lamp-in-ubuntu-server-14-04-lts.html Installing Apache Installing MySQL Installing PHP The ...
4
votes
1answer
4k views

NGINX and PHP downloades index.php instead of processing it

I have been banging my head for 2 days now. The issue is that the index.php is downloaded instead of being processed. I'm using Ubuntu 14.04 , Nginx, php5. The nginx/site-available/default is as ...
17
votes
5answers
22k views

How to have two version of PHP installed and switch easily?

I want to have both PHP 5.2.17 and PHP 5.3.5 installed on my Ubuntu machine and switch as per my necessity. How can I achieve this?
0
votes
1answer
561 views

libapache2-mod-php5 : Depends: php5-common

I installed php5.5 and upgrade Ubuntu from 12 to 14. Now the system isn't working. I did sudo apt-get upgrade && sudo apt-get install libapache2-mod-php5 But got The following packages ...
0
votes
0answers
57 views

Mysql connection error

I'm newly installed Ubuntu 14.04 on my system. And I individually installed apache2, mysql 5.6.19 and PHP Version 5.5.9-1.whenever I connect to database it's giving error in the console window like ...
22
votes
10answers
24k views

What are some good PHP editors? [closed]

I'm currently using PhpStorm by Idea JetBrains, but its buggy and I'm really looking for something that will allow me to get work done without too much hassle. Please limit one IDE/Editor an answer.
7
votes
3answers
29k views

How to configure Apache to run PHP as FastCGI on Ubuntu 12.04 via terminal?

I'm relatively new to the world of unix command line web server management/administration. Many hosts with control panel administration options allow you to change how PHP is run with a simple ...
0
votes
1answer
47 views

Why does Firefox repeatedly open new tabs when I open a .php file?

I do web development and design. I've just set up my PC (Ubuntu 14.04 LTS) and installed my choice of software. On the .php files I set Firefox as the default software to open with but now it opens ...
0
votes
0answers
92 views

How to resolve this error I got after PHP version upgrade “The apache2 configtest failed.”?

I'm using ubuntu Linux 12.04 LTS on my machine. I was using PHP 5.3.10 Now I upgraded to PHP 5.5.18 by using few commands on terminal. After I upgraded to latest PHP version I checked the version by ...