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
9 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
39 views

php shoping cart with loop [on hold]

//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
19 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
16 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
30 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
23 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
37 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
39 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
61 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
43 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
32 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
9 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
41 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
44 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
23 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
29 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
21 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
15 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
8 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
34 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
23 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
31 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
11 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
28 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
32 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
62 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
81 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
63 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
85 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
102 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
44 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 ...
1
vote
0answers
24 views

PHP5 shared (apache2 & cli) configuration

I need to set the date.timezone setting in my PHP5 configuration. Obviously I could simply edit the php.ini files (both /etc/php5/apache2/php.ini and /etc/php5/cli/php.ini), but that doesn't feel like ...
0
votes
0answers
16 views

disable passthru in php.ini

Ok, so I got hacked and I was checking out their file and noticed it was using the "passthru" php function, which I had disabled in php.ini. I tested it and passthru was still working. So I thought ...
0
votes
0answers
16 views

No access to SVN after updating PHP & Apache

I updated PHP to 5.5 and Apache2 using this: Updating PHP Since then SVN is not working. I get the following errors: I thought maybe the connection between SVN and Apache is gone. So I tried to ...
0
votes
1answer
116 views

Can i access a windows share directly from linux server and Copy files

I have a windows share created using samba . It is located in my ubunutu server /mnt/user_new I want to copy files from /var/www/myproject/files/ to /mnt/user_new/files . This is for backup my ...
1
vote
0answers
64 views

Server permissionsto allow php script to run but other users cant open

I have an apache server set up, there is a php script for a login page (contains passwords). I want to be able to give the server permissions to run the script but not for users who login through ...