PHP is a scripting language, often used for websites.

learn more… | top users | synonyms (2)

0
votes
1answer
27 views

Apache shows index of/ instead of default index html [duplicate]

I installed apache2 on my Ubuntu 13.10 and it works without any problems. I can see the default index page (which is located in /var/www/index.html) by typing localhost/ in the address bar Today, ...
0
votes
0answers
8 views

Can't get Apache to work on Ubuntu

I installed a LAMP stack on Ubuntu 13.10 using tasksel. For some strange reason, when I head to localhost/foldername it produces a 404 every time. The folder exists in /var/www/ and has r/w ...
-1
votes
2answers
114 views

PHP not working after upgrading from 13.10 to 14.04 [on hold]

After upgrading from 13.10 to 14.04, PHP and Apache are not working. How do I configure PHP and apache in Ubuntu 14.04?
0
votes
1answer
52 views

Can't get latest PHP or Pear in Ubuntu 12.04 LTS

I'm attempting to install PEAR, and other components.. but getting the following. $ sudo apt-get install php5 libapache2-mod-php5 php5-mysql Reading package lists... Done Building dependency tree ...
0
votes
0answers
7 views

sendmail doesn't work anymore

i've installed sendmail to send mails from php, but after some messing with some virtualhosts the mail(); function in php doesn't work any more. How can I get the mail(); function to work again? ...
0
votes
4answers
27 views

Unable to open PHP files on Linux platform on Ubuntu

I've copied over my files over to a new directory which I have created: /var/www/worm/data.php. I tried opening it by a few ways: Double clicking the file but nothing comes out Typing ...
0
votes
1answer
16 views

Is there a man page for php pear from php-pear package?

I'm searching for man page documentation or alternatives for the php-pear package on Ubtunu 13.10. Concretely I'm stuck with the following issues (besides not finding the man page where I believe to ...
0
votes
3answers
72 views

Php doesn't work on Apache server

I installed LAMP sudo tasksel install lamp-server I can run my site, but the php code is just displayed as text. I have tried this solution, but it didn't help me. When I try to run php script ...
1
vote
2answers
50 views

index.php is downloading instead of displaying

I have set a local website from following here, I have followed everything as it is but when I access my site via Mozilla Browser, it asks me where to download and save instead of displaying the ...
0
votes
2answers
22 views

Not able to install CURL on Ubuntu 12.04 [duplicate]

When I am trying to install the following error is coming sudo apt-get install php5-curl Reading package lists... Done Building dependency tree Reading state information... Done You might want ...
1
vote
0answers
16 views

er errors Given when installing libssh2-php

Hi I'm trying to install a mail server on my ubuntu 13.10 machine, I have LAMP server installed, and works great, I want for my computer to be able to send emails (working as a server) so I decided to ...
1
vote
3answers
181 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 ...
0
votes
0answers
22 views

Is it possible to install php 5.5 on ubuntu 10.04

I understand that this question might seems irrelevant to a few people. However, I have a situation where I can't upgrade to 12.04 due to some issues (Hardware limitation being one of them). I ...
0
votes
0answers
42 views

Error installing two PHP Versions Ubuntu 12.04 with Plesk 11.5

I'm trying to install a additional PHP Version (5.5.10) on a Root Server running Ubuntu 12.04 but I keep running into errors during configure. It keeps giving me the following error: error: Cannot ...
0
votes
1answer
27 views

Can I install PHP 5.3/5.4?

I'm moving my vBulletin boards to a new server and after going through the regular steps to install LAMP, it seems it has installed PHP 5.5 which vBulletin apparently cannot work with. Can I install ...
0
votes
1answer
31 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 permission that file.i want all creating php file have execute permission. new creation file type is ...
0
votes
1answer
22 views

pecl install zip giving error ubuntu 12.04

I am trying to install zip using this command pecl install zip but I am getting below error running: make /bin/bash /tmp/pear/temp/pear-build-root9LqSPb/zip-1.12.4/libtool --mode=compile cc -I. ...
1
vote
1answer
23 views

How to develop application for OpenStack

I have installed OpenStack and everywhere I see tutorials about installing and deploying but no example about how to develop a simple app on OpenStack? using PHP Can anyone guide me?
0
votes
0answers
37 views

gpgkeys: HTTP fetch error 7: couldn't connect to host

I am trying to upgrade my PHP version 5.3 to 5.4 but it is throwing the error I am using Ubuntu 10.04 LTS - the Lucid Lynx Please help me to resolve this root@shanmugam-desktop:~# sudo ...
1
vote
0answers
24 views

Subdirectories Show 404 Not Found on 13.10 web server

I recently set up a web server on Ubuntu 13.10 and when I enter the external IP it works fine showing the index file of var/www/ but whenever I try to add a folder, say one called test, and I go to ...
1
vote
1answer
23 views

How to connect to SQL SERVER using php?

I have Microsoft SQL Server 2008 on Windows PC but my PHP is on Ubuntu, hosted by webfusion. I haven't configured anything at all but I want PHP to connect to SQL Server. What drivers do I need and ...
0
votes
1answer
30 views

Cannot run PHP after upgrading from apache 2.2 to apache 2.4

Im trying to upgrade Apache from 2.2.22 to Apache 2.4.x on Ubuntu 12.04. I have PHP5.3.10 running on my server for the application. When i install the new version of Apache 2.4 it uninstall the ...
1
vote
1answer
21 views

Make Ubuntu acknowledge that a custom built version of PHP is installed

I'm trying to install PHP from source code on my Ubuntu 12.04 VPS. I'm using these parameters in the configure command: --enable-intl --with-openssl --without-pear --with-gd --with-jpeg-dir=/usr ...
0
votes
1answer
32 views

Website not running on Ubuntu after installing LAMP Stack

I did it... I moved to Ubuntu today for the first time. I've been loyal to Windows for quite a while, but here I am. Anyway, I'm not used to all the command line tools and I'm facing some trouble with ...
0
votes
1answer
113 views

error (13: Permission denied) in nginx 1.4.1

I am facing this issue on my nginx setup on ubuntu 13.10 I got these weird error on the log of my local domain 2014/04/06 21:29:37 [crit] 18065#0: *3 stat() "/media/user/Backup/Sites/sp/" failed ...
0
votes
0answers
10 views

PHP 5.4 on VPS with Ubuntu 11.10 Oneiric Oncelot [duplicate]

Ні, everyone! On my VPS is installed Ubuntu 11.10 and i can't update it to 12.04 or any other. In Ubuntu 11.10 repositories are PHP 5.3.6, Apache 2.2.20 and MySQL 5.1. In ppa:ondrej/php5 or ...
0
votes
0answers
14 views

Running OpenEMR on Microsoft Cloud

We want to run OpenEMR on the MS Cloud platform. We created a VM using Ubuntu. To run OpenEMR, MySQL and Apache or another PHP-capable webserver must be configured. OpenEMR requires a number of ...
0
votes
0answers
23 views

HelloWorld.php display 0 value after download and configure Apache2, PHP and MySQL

I have purchased the Lenovo ThinkPad R400 and currently, I am updating my Ubuntu's version. Before the update from 12.04 to the current version, I have installed Apache2 in my machine including MySQL ...
1
vote
0answers
19 views

PHP - Notice: Undefined variable: [closed]

I created header.html file where I want to include php, if I run this code: <?php for($i;$i<10;$i++) echo $i; ?> it shows: Notice: Undefined variable: i in ...
0
votes
2answers
116 views

Ubuntu 14.04: Xamppp No Mcrypt.ini

I tried to install Laravel on Xubuntu 14.04 I searched for every method, they all go like this. By the way, I tried installing php and apache without xampp and didn't as well so it's not about ...
0
votes
0answers
33 views

Is creating a php site on ubuntu that accesses a SQL Express database impossible?

First, thanks in advance for any help you give me. I have reviewed what seems like hundreds of articles on how to do this and I have had zero success. I had this awesome idea of creating custom ...
0
votes
2answers
31 views

cant update to php 5.4 ubuntu 12.10

I am trying to install php 5.4 in ubuntu 12.10 but its not working. I keep getting php5 is already the newest version. (5.3.10). I tried to add the ondrej/php5-oldstable but still, it wont do the ...
1
vote
0answers
60 views

Install PHP 5.3.2 or any 5.3x on Ubuntu 13.10 [closed]

I am new to linux and installed Ubuntu and Apache2 by searching on Internet. Everything goes fine up to Apache installation. Now like to install php5.3.2 On searching found command ...
1
vote
1answer
26 views

Unable to locate package php5-readline

samitha@ubuntu:~$ sudo apt-get install php5-readline Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package php5-readline What ...
1
vote
0answers
28 views

figure out either my root problem or my localhost problem

I have upgraded my Ubuntu from 13.04 to 13.10. Before this, when I signed in as a root, I can run my PHP script as the localhost and I can edit it without any problem. But since I've upgraded my ...
0
votes
0answers
46 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
1answer
102 views

Can't install Phalcon extention on Ubuntu

I'm trying to install Phalcon frameworks and I can't get this part done right Add the extension to your php.ini: extension=phalcon.so Finally, restart the webserver I've changed my ...
0
votes
1answer
25 views

Can't install PHP extension sdo on Ubuntu 12.10

I'm running Ubuntu 12.10 with PHP Version 5.4.6-1ubuntu1.7. I have tried the standard instructions to install sdo: http://us2.php.net/manual/en/sdo.installation.php as well as the instructions in the ...
0
votes
0answers
44 views

PHP sqlite not working in 13.10

According to >ls /etc/php5/mods-available/ I have a pdo.ini pdo_mysql.ini pdo_sqlite.ini sqlite3.ini for example sqlite.ini contains: ; configuration for php SQLite module ; priority=20 ...
-1
votes
0answers
36 views

phpmyadmin and ubuntu external database [closed]

I have a web server running apache and php5 and another server that runs my mysql. I've setup phpmyadmin on the apache server, and got it running... Took some doing, but I got it to create the ...
0
votes
1answer
36 views

PHP codes of Unix in Ubuntu

I am using windows7 . and VM VirtualBox for Ubuntu 12.04. I have one PHP project which is written in Unix. But now I have to host it through Ubuntu 12.04. I have already imported that project into ...
1
vote
0answers
23 views

How would I tell the last time Apache served a file?

I'm trying to figure out how to tell the last time a .php file was served by Apache. I have written an application on an Ubuntu Lamp stack with Mysql & PHP. I have 1000s of files and I'm trying ...
2
votes
3answers
395 views

How to know what version of PHP is used on my xampp?

I am using xampp on my Ubuntu OS. And I need to know what version of PHP my xampp is using. How do I do that?
0
votes
2answers
90 views

owncloud -problem installing packages

I have just installed these packages for building my owncloud, but always get an installation aborted error: rqie@rqie-VirtualBox:~$ sudo apt-get install apache2 php5 php5-json php5-gd php5-sqlite ...
2
votes
4answers
79 views

Unable to send data to mysql database. It is not taking by my php code

I am new to PHP in Ubuntu 13.10. But I am pretty much able to handle Ubuntu. However my question is that I can't add any data to phpmyadmin through a PHP code, though my code is perfect. Because I ...
0
votes
0answers
15 views

Xdebug not worked with lampp, am I working with wrong php.ini?

I have installed xampp on ubuntu 12.04 32bit below are my phpinfo details for php.ini Configuration File (php.ini) Path /opt/lampp/etc Loaded Configuration File : /opt/lampp/etc/php.ini now ...
0
votes
0answers
228 views

How to upgrade to PHP 5.3.23

I'm trying to install zendframework through composer. Using the command, php5 composer.phar install Then I get the error: Problem 1 - Installation request for zendframework/zendframework 2.3.* ...
2
votes
1answer
47 views

Prevent www-data from running scripts and programs

I discovered this little PHP script that allows you to enter GET requests manually from the browser address bar and execute commands. I played around with it and discovered that I could do all kinds ...
0
votes
0answers
30 views

Can't upgrade PHP version from 5.2.10 to any newer version on 12.04 desktop

I know this question has been asked and answered several many on this forum so I hate to ask it again. Unfortunately none of the solutions I've seen posted have worked for me to upgrade my PHP sever. ...
-1
votes
0answers
138 views

How can I safely downgrade from php 5.5 to 5.4? [closed]

I'm wondering if theres safe steps to downgrade from 5.5.9 to 5.4. I upgraded earlier this morning, this was purely accidental as I was trying to fix some package issues and now some pages aren't ...