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
5 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
6 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 ...
0
votes
0answers
14 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
33 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
10 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
votes
0answers
80 views

php5.6.2 installation with httpd24 ( apache version 2.4.10 ) on centos/rhel [closed]

using this repo : http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-13.ius.centos6.noarch.rpm for php installation , and for apache i am using amazon linux repo current ...
0
votes
2answers
23 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
8 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
25 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
61 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
21 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
34 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
12 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
29 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
27 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
18 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
21 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
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
14 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
14 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
0answers
40 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 ...
0
votes
1answer
45 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
41 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
15 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
12 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
8 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
20 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
296 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
57 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 ...
-1
votes
0answers
118 views

Update PHP 5.5.9-1 to PHP 5.6.2 (cli) from source

i install PHP 5.6.2 (cli) from source i get php-5.6.2.tar.gz from php.net i do this command line tar -xvzf php-5.6.2.tar.gz cd php-5.6.2 ./configure make make test make checkinstall and when done ...
-1
votes
0answers
106 views

Apache 2.4.7 and Ubuntu 14.04 Virtual Host Error

i am trying to set a virtual host. It is working for .html files but it is not working for .phtml files. here is the Error i am got from apache logs. AH01276: Cannot serve directory ...
0
votes
0answers
40 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 ...
-1
votes
0answers
17 views

how to attach python scripts in php?

I am working on a website , which is for simple text analysis , and I want to attach my python scripts in it because there are already some libraries for text analysis ,, I am confused about how to ...
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
196 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
0answers
37 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 ...
0
votes
2answers
50 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 ...
0
votes
1answer
36 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
vote
1answer
31 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
43 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 ...
0
votes
1answer
290 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 ...
-1
votes
1answer
52 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
37 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
50 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 ...
1
vote
0answers
35 views

How to disable mpm-itk for a specific virtualhost?

I've a main site on a server that needs to run a sudo command which I white listed via visudo. That worked fine until I installed apache-mpm-itk and then I started getting the following error: sudo: ...
0
votes
2answers
29 views

Run PHP script from command line?

How can I Simply Run a php script in the command line? Also is it possible to run it like it would be if the Url was typed in?
-1
votes
1answer
49 views

phpMyAdmin doesn't work when installing from repo

I've just installed phpMyAdmin via apt-get and rebooted. When i enter '127.0.0.1:3306' into web browser, i get something like this: I'm totally new to mysql but quite experienced with linux. How ...
0
votes
0answers
19 views

access denied from local host

Ok, I've set up my server and have been having fun designing my website. At the moment I've got several php files that access my MySQL databases. everything is ok client side and the php has no ...
2
votes
0answers
22 views

Could I recompile php after install with apt-get?

the title says a lot I guess, I want to install my lamp serve with: apt-get install lamp-server^ And after that I want to recompile the php to add the pthreads, it is possible install the lamp ...