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
1answer
118 views

Ubuntu Coovachilli freeradius phpmyprepaid

I have installed Freeradius Coovachilli Captive portal successfully on my Ubuntu 14.04 Server. but when i downloaded Phpmyprepaid RC3 and extracted to /var/www/html folder it returns a login page and ...
0
votes
0answers
26 views

how to enable PATH_INFO on apache 2.4 installed on ubuntu 14.04

I’m in the process of developing a small application with php , so I’m working with apache 2.4 server and php 5.6 , the PHP_INFO won't work for me , in other forum they told me that I have to edit the ...
0
votes
0answers
13 views

php5-embed does not load extensions

While setting up php on my Ubuntu server (I'm using php5-embed under uwsgi/nginx), I noticed curl.so was not being loaded. The file /etc/php5/embed/conf.d/20-curl.ini exists and contains ...
0
votes
1answer
61 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 ...
15
votes
5answers
78k 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 ...
1
vote
2answers
59 views

Need to install specific version of LAMP prerequisites on Ubuntu 14.04 desktop LTS

I need to install below specific version on Ubuntu Linux (desktop 64-bit 14.04 LTS) how can I do that please help PHP 5.3.28 Mysql 5.5.38 Apache 2.2.26 Any help will be highly appreciable Regards ...
0
votes
1answer
45 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
56 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 ...
2
votes
1answer
5k 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
40 views

how to execute php script in ubuntu 14.04 [closed]

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
19 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
7 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
56 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 ...
3
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
20 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 ...
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 ...
0
votes
2answers
696 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
62 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
165 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
45 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
110 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
61 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
124 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 ...
1
vote
3answers
356 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 ...
1
vote
2answers
6k 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
34 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
38 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
0answers
21 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 ...
1
vote
2answers
244 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
27 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
544 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
142 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
2answers
31 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
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 ...
2
votes
1answer
60 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
23 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
0answers
8 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
15 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
38 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
24 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
43 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
61 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 ...
0
votes
1answer
35 views

File Permissions and umask [duplicate]

I am new to linux in general and have figured out the different programs belong to different groups. I can easily solve my own problem by typing sudo all the time. But I'd rather understand the why of ...
0
votes
0answers
24 views

how to run cakephp-3 in ubuntu after cake zip download

I downloaded CakePHP-3 zip file from cake site, and I know not how run cake3. How to run this framework and work with it in UBUNTU! I have a solution from another that install with compressor.!
1
vote
1answer
588 views

add-apt-repository throws python error

Trying to install the latest PHP5 packages and so I add the repo ( sudo add-apt-repository ppa:ondrej/php5) I need and this is the outcome: Traceback (most recent call last): File ...
0
votes
0answers
40 views

How to use SFTP with PHP Storm to access server /var/www folder

I am trying to use PHP Storm with a remote server project, but unfortunately I cannot succeed in configuring SFTP. I have followed these steps SFTP www. But I still get the same error ... Write ...
0
votes
1answer
51 views

Ubuntu 14.10 can't install libplrpc-perl, and php-bcmath

My system is: Distributor ID: Ubuntu Description: Ubuntu 14.10 Release: 14.10 Codename: utopic when I try to apt-get install libplrpc-perl , and php-bcmath it tells me ...