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
12 views

Downgrade php to 5.2 via SSH Putty not manually by operating pc [duplicate]

I bought VPS and in that latest php was installed. So, there are some plugins in my Wordpress which is not supported that version. Now I want to downgrade it. How can I do that? Can anyone please tell ...
1
vote
1answer
12 views

where to save your files of php in ubuntu to load on server?

How to save our php files so that we can load on our server . I have installed apache2 , php, and mySql . also I don't know how to connect these 3 so that I can simply work on my text editor. Please ...
1
vote
0answers
14 views

Spam entries in mail log, but doesn't appear to be from a PHP script?

I'm new to linux, and it appears that my server was blacklisted in the CBL. It looks like one of my Wordpress installations was compromised, and some Malware was installed. I ran ClamAV, and it ...
0
votes
1answer
15 views

How to add apache2 , php and mySql to eclipse?

I'm using Ubuntu 14.04 ,i'm new to Ubuntu,I already installed apache2 , php and mySql . Now I want to add these to eclipse so that I can work on this IDE . Please help me I will be glad if you provide ...
-1
votes
1answer
10 views

Connect to mysql on another device [duplicate]

I have two device on my network LB (192.168.1.10) and RP1 (192.168.0.20) I am wanting all the MySQL stuff to be hosted on the LB and all the web stuff to be hosted on the RP1. I have installed ...
0
votes
0answers
10 views

undefined symbol: MagickFormatString

I installed GraphicsMagick and the gmagick-extension on my ubuntu some months ago and it really worked fine. Now, I can`t tell you what happened (some updates maybe, some changes, its an hosted ...
-4
votes
0answers
40 views

php shoping cart with loop [closed]

//SQL query define in array $query = array( "SELECT * FROM products WHERE rowno=1 and colno=1 and pageno=1 and productLine like '$cat'", "SELECT * FROM products WHERE ...
0
votes
0answers
20 views

Running PHP Server from command line without sudo

I am using my university system as a guest user and I have 1 GB of space to be used. I need to use my PHP & MySQL Server, but unfortunately I don't have sudo permissions. How do I run PHP from the ...
1
vote
0answers
21 views

PHP version update gone wrong

I've followed instructions on updating the PHP version on my server from 5.3 to 5.5 During the installation it threw php5-common dependency errors. I've managed to fix the dependency errors by ...
0
votes
1answer
37 views

adminer- None of the supported PHP extensions (MySQLi, MySQL, PDO_MySQL) are available

whenever i login to the adminer, it always show: No Extension None of the supported PHP extensions (MySQLi, MySQL, PDO_MySQL) are available. I just installed this a while ago using ...
1
vote
0answers
23 views

$password with ssh chpasswd

I've a problem with "ssh chpasswd" .. I need to implement the "$password" of register.. Eg.. I've this code.. echo $ssh->exec("sudo sh -c 'echo $user:test | chpasswd'"); When the script is ...
2
votes
0answers
24 views

“-/+ buffers/cache memory” is zero

i have an OpenVZ VPS with ubuntu server 14.04.2 and i can access to a SolusVM control panel. Recently, "memory usage" is always 0 KB, and only "vswap usage" shows real swap usage. if i run free -k i ...
1
vote
0answers
43 views

Apache won't start - PHP issues?

I'm somewhat of a Ubuntu newb and have recently set-up a ubuntu VPS (on the azure network). I am using webmin / virtualmin as a means to administer the server and quickly * easily create and ...
1
vote
1answer
41 views

Can logrotate suffer race conditions?

I have a PHP application that can generate quite a lot of log information. I'd like to use logrotate to make sure these logs don't get out of hand over time. However, I'm concerned about race ...
0
votes
1answer
70 views

How to install PHP 5.2.x on ubuntu 14.04?

I want to run a version specific code on php 5.2.x which I have tried by many ways but not got any successful attempt. Please let me know that how I can install PHP 5.2 on ubuntu 14.04
0
votes
0answers
48 views

Failed to install Laravel PHP Framework using “composer install” on Ubuntu Server 14.04

I install Laravel via Download as indicated on http://laravel.com/docs/4.2/ Composer was already installed. But when I ran composer install to install all of the framework's dependencies, I got the ...
0
votes
3answers
47 views

How to run PHP files in Ubuntu

Here is a list of questions I've visited on AskUbuntu that are similar, but did not solve my problem: How to run a php file after installing LAMP in ubuntu 11.10? how to run php web application in ...
0
votes
0answers
40 views

Simple Netbeans Php Project displays 'The requested URL /PhpProject2/index.php was not found on this server' when run as 'Local Website'

I'm new to LAMP. I have followed Configuring the PHP Development Environment in Linux Ubuntu Tutorial and have two separate Netbeans projects with the same code in them: <!DOCTYPE html> ...
0
votes
0answers
10 views

Apache not interpereter after change Directory

I change root directory in apache2, and my directory is /home/saeed/PhpProjects but after change directory my apache work but nothing,means localhost run but php file not process, for example: I have ...
0
votes
0answers
21 views

Adding mysqli to php without recompiling it

I have php compiled and installed in a nonstandard location. I recently encountered an error: Fatal error: Class 'mysqli' not found perhaps because I configured php without --with-mysqli. I added ...
1
vote
1answer
49 views

Xampp htdocs folder , sub folders and all files permiossion

I am not familiar with Ubuntu , i copied my project folder in htdocs but when i open my project in browser it loads but styling files (css files) doesn't loads . Its permission problem . I have done a ...
2
votes
0answers
46 views

Why does libapache2-mod-php5 get removed whenever I upgrade apache2?

I hope someone can help me figure out what is going on with my apache upgrades. For years, whenever I upgrade apache2, it tries to install apache2-mpm-itk even though I use the prefork module ...
1
vote
0answers
26 views

Error compiling PHP extensions - phpize (Ubuntu 14.04 + PHP 5.5)

I'm trying to install the Paradox PHP extension to a Ubuntu Server 14.04. The easy solution may be: pecl install paradox But it fails with this error: Cannot find config.m4. Make sure that you ...
0
votes
0answers
36 views

NetworkError: 500 Internal Server Error

When I am trying to run a java services through php file(xyz), it is throwing this error (Firebug) NetworkError: 500 Internal Server Error http://127.0.0.1/dev/en/abc/xyz ...
0
votes
0answers
22 views

A blank page in ubuntu server

I installed Ubuntu server with lamp servr and after checking that PHP works (PHP5 -v) I put a file to the rootdirectory (/var/www/html) with the function phpinfo(); But I get a blank page. What could ...
0
votes
1answer
16 views

Did I install LAMP?

I just installed Ubuntu 14.10 server. While installing I asked it to install LAMP. But how do I tell if it is working? I tried http://192.168.0.20 which is my server, from a web browser on my ...
0
votes
0answers
9 views

Enable php pcntl: Cannot Create Regular File

I am trying to enable/install pcntl and I get the following error after running make: cp: cannot create regular file `/usr/lib/php5/20100525/#INST@24959#': Permission denied I am sure it is a ...
0
votes
0answers
10 views

php pages not working on ubuntu Trusty [duplicate]

i am using Ubuntu 14.04(Trusty) and have installed xampp. Everything seems to be working fine except that i created a "hello world" program, named it hello.php and tried to open it with my browser but ...
0
votes
0answers
14 views

Can i use the mail() function on localhost [duplicate]

I got my testsite test.php on my localhost I want to send an email using this code: I tried to send it to my own address and havent received anything What did i do wrong??
0
votes
0answers
35 views

Again trouble with php in localhost

I have a test file called index.php with some html and php code on it. This index.php file is located in my var/www/html folder. If I type in localhost I get an empty page, but if I move a different ...
0
votes
1answer
37 views

Where do I put my website php files in my virtual ubuntu server?

I am trying to create a website through my ubuntu. I also intend to host this website on my ubuntu. I am goign to use dreamweaver for my php files and then put those php files in my ubuntu server. ...
-1
votes
0answers
19 views

I can not connect ot my databse

I have a php connection code as below and i wanna connect to my db_shop database, but when i use localhost/MYshop/index.php on the browser it pop up as below message mysql_connect(): Access denied ...
0
votes
0answers
24 views

Link apache2 to PHP

Installed PHP like this: sudo -i wget http://in1.php.net/distributions/php-5.3.28.tar.bz2 tar -xvf php-5.3.28.tar.bz2 cd php-5.3.28 ./configure make make install Installed Apache2 like this: sudo ...
0
votes
1answer
25 views

cant get apache to run with php5 in Lubuntu

I was used to never had a problem with this issue. I installed like im used to sudo apt-get install apache2 sudo apt-get install php5 But apache won't execute the php I tryed and checked various ...
0
votes
0answers
33 views

Verifying the Current Version of PHPmyAdmin and Updating if Not

A question was asked on this forum concerning having the latest versions of MySQL, Apache, and PHPmyAdminn. In reviewing this question, I followed up on PHPmyAdmin to verify whether I had the latest ...
0
votes
0answers
12 views

phpMyAdmin slow import

When I try to import sql dump to phpmyadmin it takes forever and breaks down in the end. Any idea why? I've tried increasing PHP memory but nothing changed. I'm running Ubuntu 14.10 64b with i3 ...
0
votes
1answer
20 views

PHP & Init script

I've written a php job handler for mediawiki. The script will spawn 4 PHP processes (Scanner, and three workers). youri@pewpew:~$ ps -aux | grep php www-data 1579 0.5 0.2 263888 12752 ? SN ...
0
votes
0answers
31 views

How to shut down (or stop) Apache and My-SQL servers from my LAMP setup? [duplicate]

I just followed the fool proof instructions on how to set up LAMP server on Ubuntu (here: http://howtoubuntu.org/how-to-install-lamp-on-ubuntu). Now I need to know how to not have it running all the ...
0
votes
0answers
34 views

How to set PATH for apache/php?

on a Ubuntu 14.04 server I have a project (the Drupal module "Less") that requires the user under which apache/php is run to have access to /usr/bin/lessc without using the full path. Using a simple ...
0
votes
1answer
63 views

UBUNTU/PHP: Can not connect to sql server 2008

We took a copy of our Ubuntu virtual server and changed its name and IP. In every other way it is a duplicate of our production server. Now for some reason we can't get php connection to SQL-SERVER. ...
0
votes
0answers
29 views

Apache server not working after ubuntu update

I had ubuntu 13 on my server. I tried to upgrade it to ubuntu 14.04. Now the site is not working on http but working on https. Also apache_mod is not working. I have checked and Module rewrite is ...
2
votes
1answer
83 views

Accidentally removed /var folder

I did something real dumb. I was creating tarballs of files in my /var/ folder. The tarball i created was put into /tmp/test.tar In the process of testing the extraction process, I meant to delete ...
0
votes
0answers
20 views

Using lamp and wamp on same folder?

Hello I recently enjoyed using lamp server on linux in var/www. I also installed wamp server in windows and found out I can run wamp server in C:/wamp/www. Can I make lamp server be able to run or ...
0
votes
1answer
67 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
75 views

Error while installing php-pear , dpkg error returned error code 1

I was trying to install mongo php driver on ubuntu 14.04 on x64 system. I used this tutorial and when I was trying to install pecl to install the php driver I got an error at the end of the ...
0
votes
0answers
15 views

How to allow www-data to create a folder with read, write and execute permission [duplicate]

How do I create a directory with read, write and execute permission in ubuntu 14.04. I have a web-app written in php and I am using <?php mkdir('/items/folder', 0777, true); ?> to create ...
0
votes
1answer
89 views

Cant Create folder with full permission on ubuntu 14.04

I having a weird problem on my VPS with Ubuntu 14.04 as the server. I tried creating a directory with php mkdir using the code below <?php mkdir("/items/foldername", 0777, true); ?> ...
0
votes
0answers
106 views

Use the manually installed PHP Version 5.3.29

I am working on a project now and the project requires me to use PHP 5.3.29. I have successfully installed PHP 5.3.29 using this commands sudo -i wget ...
0
votes
0answers
45 views

Rscript behaving differently when run from PHP exec and from command-line

Hi I'm running an Rscript with PHP exec and it is behaving strangely.......It launches R but throws an error at the following line:- ...
0
votes
1answer
43 views

Couldn't find PhpStorm.sh file ( Ubuntu 14.04 ) LTE

Downloaded PhpStorm (PhpStorm-8.0.2.tar.gz) from https://www.jetbrains.com/phpstorm/download/ Instructions: Unpack the PhpStorm-*.tar.gz file using the following command: tar xfz ...