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
votes
0answers
8 views

phpmyadmin problem using apache2

test.php work good but when i connect to ( localhost/phpmyadmin ) i have this <?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * * @package PhpMyAdmin */ /** * Gets some core libraries ...
0
votes
1answer
13 views

Problems using PostgreSQL with XAMPP

I seem to have trouble getting PostgreSQL to work on XAMPP (using Lubuntu 14.02). I am new to working with both PHP, servers and databases, but I get the following error message. Fatal error: ...
0
votes
2answers
29 views

Why don't my php files work on my Apache2 server?

I am trying to get a survey (PHP files) to work on an Apache server. I tried it first with XAMPP, but then got the following error message: Fatal error: Call to undefined function ...
0
votes
0answers
19 views

Using Upstart / init with PHP daemon nohup php daemon.php

Till now I had no real need to learn bash and init scripts as I need to at this point. I have created a custom Twitter app that is persistently, or constantly, connected to the API. It does tasks like ...
2
votes
1answer
4k views

Unable to get error stack trace or error log while using php-fpm + nginx on Ubuntu 14.04

I am using php-fpm 5.5.9 along with nginx 1.4.6 on my Ubuntu 14.04 machine. I have installed them using apt-get package manager. I am unable to get a stack trace of the error that my index.php script ...
-2
votes
1answer
18 views

how to execute php script in ubuntu 14.04 [on hold]

how to execute php script inside html in ubuntu 14.04? <html> <head> <title>Hello World</title> <body> <?php echo "Hello, World!";?> </body> </html>
1
vote
1answer
8k 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
1answer
14 views

How to create folder in mysql5.7?

I try to upload video php to mysql. i try to create folder but not success. below step i apply Edited phpmyadmin's config file nano /etc/phpmyadmin/config.inc.php Added the path for both upload and ...
0
votes
0answers
6 views

Apatana Studio3 configuration for php

I installed Apatana studio3. When I try to run a php script it asks for a php-interpreter. I am using Apache2. So what is the executable path and .ini file location for this configuration.
0
votes
2answers
22 views

Setting permission for Xampp installation directory. see details

I know bit about setting permission but i'm little in a mess with it. I'm new to ubuntu so i get little confused and took much time to solve a little problem. I have installed xampp with installer ...
-2
votes
0answers
16 views

Cannot redeclare my function [on hold]

I use Linux Debian Local Lamp Server i tried to make connection between Database and php & making API : db.php the connection file ! : <?php $tf_host = 'localhost' ; $tf_dbname = ...
2
votes
3answers
6k views

How to enable SFTP Support in cURL?

I have installed curl-7.27.0 and it is working fine how ever it is not working is run below command to find whether it is now, but it showed that : Result of the command curl -V ...
0
votes
0answers
6 views

Serve php RESTful server with apache2 (ubuntu)

I have a ubuntu machine on which I want to run a php rest server. Here is my default config file: ServerName localhost <VirtualHost *:80> DocumentRoot /var/www/html/otherSite ServerName ...
-2
votes
0answers
15 views

Added cart items should be sent to the mail of the user [on hold]

Iam using this script in my checkout.html page to display the cart items of the user. But when he clicks "confirm order" then mail should be sent containing information of the cart items and details. ...
0
votes
0answers
15 views

Webpage download stops at <?php tag

Really strange problem. Website has worked fine under 12.04 (reinstalled server as 15.04 because it was running very slow). As page loads, all html code appears until first <?php and then ...
-1
votes
0answers
13 views

form action problem [closed]

i'm trying to make API & template for website <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html ...
0
votes
2answers
621 views

setresuid operation not permitted when calling via php

I've got following Problem: my Apache and PHP script are running as user www-data. I want to call a script that can only be executed as root, so I added a new File to /etc/sudoers.d to allow this ...
0
votes
2answers
45 views

Forbidden to access PhpMyAdmin in VPS of Ubuntu,Apache and Mysql

I get this error through access phpmyadmin in my vps. Forbidden You don't have permission to access /phpmyadmin on this server. Apache/2.4.7 (Ubuntu) Server at 188.165.168.89 Port 1091 I config ruby ...
2
votes
1answer
64 views

Cant Downgrade php5.5 back to php5.3

I have tried to upgrade my apache2.2 to apache2.4 and php5.3 to php5.5 on my Ubuntu 12.04. For php5.5 I have used those commands below (I dont remember which PPA i used for apache upgrade) : ...
0
votes
0answers
18 views

libapache2-mod-php5 : Depends: php5-common [duplicate]

I have tried to upgrade my apache2.2 to apache2.4 and php5.3 to php5.5 on my Ubuntu 12.04. For php5.5 I have used those commands below (I dont remember which PPA i used for apache upgrade) : ...
0
votes
1answer
26 views

PHP script execution mode Ubuntu 14.04.2

Using Ubuntu 14.04.2 LTS, apache 5.59 installed. PHP info not working, and I suspect the script interpreter is not set correctly or my file: /etc/apache2/mods-enabled/php5.conf is not set right. I ...
0
votes
1answer
76 views

Laptop heats up when I start/use PhpStorm IDE

I looked at similar questions but it didnt work. When I use laptop normally, it doesnt heat up. But it heats up when I start/use PhpStorm IDE. What can be the issue, how to overcome it ? Thanks.
0
votes
0answers
20 views

How to enable PHP APC in ubuntu 15.04

i am new at ubuntu and i am moving from windows, i am starting to make PHP sites and one of them requires me to enable APC, the site uses a PHP Framework called YII and whenever i visit it throws an ...
0
votes
1answer
46 views

How to downgrade php version in ubuntu 15.04 [duplicate]

I am working on a codeigniter project where the system requires php version < 5.6 that is 5.5, but few days ago I have installed ubuntu 15.04 with having LAMP stack installed using tasksel;the ...
0
votes
0answers
16 views

I currently have PHP 5.3.2 installed with Apache in 10.04 Lucid. How can I upgrade PHP? [closed]

I currently have PHP 5.3.2 installed with Apache in 10.04 Lucid. How can I add the upgrade PHP ? have done following commands but seems its not working, what am I missing here.. Attmpt 1 ...
1
vote
3answers
351 views

Erased root trash but still getting no memory

I was coding my site on Apache Server. Suddenly an error came and I got the warning This computer has only 1.3 GB remaining. I knew that this was because of the log file in ...
0
votes
3answers
1k views

MySQL and PHP problems

I'm new in server-side programming. I need lampp and mysql running on my computer. I have installed mysql using tasksel lamp-server, and then install php with apt-get install libapache2-mod-php5 ...
0
votes
2answers
5k views

Changes for upload_max_filesize, memory_limit & post_max_size in the php.ini aren't affect

I'm trying to increase the upload_max_filesize etc in order to import bigger files with PHPMyadmin. I have changed the php.ini and restart Apache. I can see the changes on the PHPMyadmin import ...
0
votes
0answers
19 views

How to setup phpDocumentor 2 web interface in Ubuntu 14.04?

I have followed all the instructions both from the phpdoc website and from the phpdoc manual website . The commands I entered are: sudo pear channel-discover pear.phpdoc.org sudo pear install ...
0
votes
2answers
33 views

How to install SourceGuardian Software

I have this file (SourceGuardian-10-Evaluation-Linux-x86_64-Install) on my system, How do I install it in ubuntu 12.04lts
0
votes
1answer
12 views

Email spam leveraging php mail function [closed]

Is this an appropriate question here? Erase me if not. I have a CentOS virtual dedicated server. But I doubt Ubuntu would change much about this question. I also have a home rolled email form that ...
0
votes
0answers
9 views

How can I solve problem with Jomla installation on EC-2 server?

My name is Igor, I woold like to install joomla on Amazon EC-2 Ubuntu server free tier, but I could not do this. After a week of probe and tests I deside to write you. This letter I send to Amazon and ...
0
votes
2answers
202 views

Problem with php_pdo_oci installation on Ubuntu 14.04.1 LTS

I need to install PDO_OCI for PHP on my localhost (Ubuntu). I'm not expert at linux packages/dependencies so please correct me if somewhere in my thoughts I am wrong. When I try to use pecl ( sudo ...
0
votes
1answer
11 views

how to get emacs24 to highlight PHP

Any emacs veterans able to assist? I can not find the files that the various websites that claim to show you how to obtain or make the settings for emacs24 to highlight PHP. I read contradicting ...
2
votes
1answer
531 views

Remove PHP 5.4.14

I want to install php 5.3.10 but I already got PHP 5.4.13. I want to remove first existing PHP 5.4.13 then want to install new PHP 5.3.13. How can I remove existing PHP 5.4.13??
0
votes
1answer
130 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 ...
-1
votes
0answers
20 views

Installning PHP 5.5.9+ [closed]

So yea as the subject on my question is installning php 5.5.9+, Im in need of php 5.5.9 for my developing and i have searched around on forums and so on now for an hour to fix this. I follow all ...
0
votes
2answers
25 views

How to allow lamp and apache2 service run parallel?

I have a php project in var/www/html. It runs when I start apache2 service is started. But I cannot access phpmyadmin where I have a database that is being used in my php project. (I had to stop lampp ...
1
vote
1answer
3k views

Call to undefined function sqlite_open() in CLI mode

12.04 AMD 64 apt-get install sqlite php5-cli php5-sqlite php -r '$x = sqlite_open();' PHP Fatal error: Call to undefined function sqlite_open() in Command line code on line 1
1
vote
4answers
3k views

How to set netbeans 7.2 as my default PHP IDE on ubuntu 12.10

I'm using Ubuntu 12.10 64 bit ... I have installed XAMPP and Netbeans 7.2 IDE. The problem is I can't open any PHP file using Netbeans IDE and when I click "open with" I can't find Netbeans within the ...
1
vote
2answers
3k views

Permission denied while writing a file in var/www inspite of adding me to user group

I gave permissions to read and write files in /var/www to the working user(me) through the steps given in Whats the simplest way to edit and add files to “/var/www”?. It works fine when I try to ...
2
votes
1answer
31 views

How to set default folder of php in netbeans?

On running php project in netbeans opens the URL localhost/html/ProjectName/file.php. I should correct this every time by removing html/. Is there any setting to change the default folder to run in ...
0
votes
1answer
16 views

apache2 RewriteEngine subfolder configuration is off / not wroking as expected / not sure how to fix it

The rewrite engine appears to be "functioning" but not as expected. Here is the dir tree of my public_html folder (serving using apache2 in my userdir) ┌─[admini@linuxbox][~/public_html] │ [13:16:45 ...
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
7 views

save files in /home/user1/public_html to /home/user2/public_html

I am at a stand still. I am trying to figure out how to allow a php script on /home/user1/public_html/* to save file to /home/user2/public_html/images Everything goes well but the file is never ...
1
vote
0answers
13 views

Gedit PHP syntax highlighting

Does anyone know how to fix this issue? I have PHP inline to HTML. There's an opening quotation and the inline PHP also has a quote, but Gedit thinks it's the closing quote for the HTML. Add this to ...
0
votes
1answer
28 views

Apache Httpd backed by both Tomcat and PHP

After a bit of googling it turned out that this topic is not well described hence asking about it here. What I have already: well setup & working system where: Apache Tomcat with main ...
0
votes
0answers
21 views

php files connected with mysql server not working

I started a php project in netbeans and connected it with a database in localhost/phpmyadmin. But on running it gives this error on browser.. Why does this happen? How to avoid it? Here are the ...
0
votes
1answer
31 views

PHP and ffmpeg on Ubuntu

I have ffmpeg installed on Ubuntu Server and I'm running PHP from another webserver sending commands to the Ubuntu Server. $ff = '/usr/bin/ffmpeg -i '.$file.' -vcodec libx264 -pix_fmt yuv420p ...
0
votes
1answer
42 views

Clean install of Apache but can't access it via lan client

I've been fighting this issue for a couple days now and am at whits end, so any help would be great. I have several computers in the office. One is now a Ubuntu Server that I'm setting up for a ...