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

Can't see apache2 default page in ubuntu

I have successfully installed lamp in my virtual machine which is currently in azure cloud,but when i access the public ip through web browser i will get webpage not available error message.I have ...
0
votes
0answers
18 views

php issues after upgrading

My ubuntu 12.04 with apache2/php 5.3/ mysql 5 was working without any problem. I had to upgrade to php 5.4 to install a software and later i found that many of my official projects started showing ...
0
votes
0answers
11 views

PHP 5.2.6 make test failling

I need to setup a test environment that runs PHP 5.2.6 but I keep running into problems with the make test script. For testing purpose I am building this setup on a virtual machine running ...
-1
votes
2answers
15 views

how to move a file in desktop in a directory?

I want to move a .php file named My Form.php which I have saved on my Desktop before to \var\www. When I use: sudo mv My Form.php www in terminal, it says there is no such file My.php and Form.php. ...
0
votes
1answer
35 views

Remove '.php' from url - Nothing works

Ubuntu 14.04LTS 32bit LAMP I know it's an old question but.. I need it to remove .php anywhere it finds it from the visible url. It needs to work with /showthread.php?id=XX ---> /showthread?id=XX ...
0
votes
1answer
10 views

Apache 2.4: pcfg_openfile unable to check htaccess / php warning include() failed opening for inclusion

Situation I've installed Ubuntu 14.04 on my desktop, and now need to get Apache 2.4 working with my local websites. With 12.04 this all worked. Now I get two errors, and googling for these errors I ...
0
votes
0answers
20 views

Owncloud server upgrade to 14.04 or just upgrade php

I have a Ubuntu 12.04 server (on digital ocean) running owncloud 7. I want to upgrade Owncloud to version 8. The problem is Owncloud 8 requires php version 5.4 or higher. I am currently running php ...
0
votes
0answers
10 views

'LIBXML2_2.9.0' not found (run PHP-file with shell_exec)

I wrote a PHP-script to execute another PHP-file in the terminal and got an error. If I run: $output = shell_exec("/usr/bin/php -v 2>&1"); echo "<PRE>$output</PRE>"; then I get ...
1
vote
0answers
13 views

is package php5-mysql_5.5.9+dfsg-1ubuntu4.7_amd64.deb compatible with mysql 5.6.24?

I have installed php with sudo apt-get install php5 followed by sudo apt-get install php5-mysql but received a warning when trying to use mysqli class: mysqli::mysqli(): Headers and client library ...
0
votes
0answers
48 views

http://localhost/phpmyadmin Not found

I have tried to run myphpadmin and I get this message: Not Found The requested URL `/phpmyadmin` was not found on this server. Apache/2.4.10 (Ubuntu) Server at localhost Port 80 I have reinstalled ...
0
votes
0answers
9 views

what are the available servers like mediawiki with user group access control?

I need to host a server inside LAN for the purpose of keeping documentations and other data. Mediawiki supports collaborative editing with no user group restriction. I have tried Access control ...
0
votes
1answer
24 views

Can't install phpmyadmin on ubuntu 14.04+apache2

I installed phpmyadmin via sudo apt-get install phpmyadmin but here what gives me http://localhost/phpmyadmin/: php5, phpmyadmin etc. modules are activated for apache. How can I fix this?
2
votes
2answers
44 views

Automate user creation [closed]

I have a site for my students, and it is running on Ubuntu 14.04. When my students register themselves on my site, I store user info in an MySQL DB. I would like to give my students a website on my ...
1
vote
2answers
43 views

Connecting phpmyadmin to seperate mysql server

I've got what's probably a very easy question to solve, but I've been stuck on it for a few days now. I've got 3 servers running in a small network, DNS, HTTP and MySQL. I've got apache2 and PHP5 ...
0
votes
0answers
13 views

Unmet dependencies while installing php5-curl [duplicate]

I am trying to install php5-curl via terminal in Ubuntu 14.04. I got following error. sanchit@sanchit-Satellite-A660:~$ sudo apt-get install php5-curl Reading package lists... Done Building ...
0
votes
0answers
14 views

dpkg: error processing php5-mysql (-configure): the thread installed the script post-installation error 10 exit code returned

I'm trying to install php5-mysql but when I put the command apt-get install php5-mysql I get this error of dpkg. http://pastebin.com/ZEn4fydB Note: the operating system is in Spanish.
1
vote
0answers
20 views

Installing php5-fpm with php version 5.4.x

I'm installing a Lemp stack for the first time, and although I've got everything set up right now, I was hoping to install php 5.4.x to work with my Magento installation. Installing php5-fpm ...
0
votes
1answer
32 views

'iptables -S' to be accessed by www-data

I've had a look around on Ask Ubuntu and can't find an answer to what I'm looking for. Basically, I have an admin panel for a website I run and recently just installed fail2ban, which has made my ...
0
votes
1answer
78 views

PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Connection refused

I have a different server for my database. When I connected to database with PDO, I used the IP address of database VM for host parameter: $dbh = new ...
0
votes
0answers
12 views

PHP code is not executed in Apache [duplicate]

I am a new user in Ubuntu. I installed Apache, MySQL and Php5. I created a php file to test on Apache. Php code dosen't work(see below). <?php phpinfo(); ?> How can I fix it to run Php code ...
-1
votes
0answers
15 views

Vdebug no connection made

I am trying to install Vdebug to debug PHP in Vim. Unfortunately, when I press F5 this message appears after a few seconds Waiting for a connection (Ctrl-C to cancel, this message will ...
0
votes
1answer
9 views

CMSs not sending emails (but php mail works)

I have a Ubuntu 14.04 VPS with a few sites. If I run php -r "mail('mytest@emailaddress.org, 'test', 'test');" this goes delivered, but I have a couple of CMSs (Drupal and dokuwiki) that don't send ...
0
votes
1answer
60 views

Access Denied for user 'linuxuser'@'localhost' (using password: no)

My client asked me to move his Wordpress site from a shared server to AWS. The AWS EC2 instance is Ubuntu 14.04 LTS with PHP 5.5.9 with MySQL 5.5.38. Old server has PHP 5.4.30 and MySQL 5.5.42. ...
0
votes
1answer
31 views

How to install php apd?

How can I install Advanced PHP Debugger in ubuntu? I have tried sudo pecl install apd. It gives error Cannot find config.m4.. Is there any way I can install it via apt?
0
votes
2answers
38 views

Install Composer and configure with XAMPP

After reading on web, I learned that XAMPP has php-cli pre-installed and it is accessed by /opt/lampp/bin/php . I installed composer using the following and all went well: sudo curl -s ...
0
votes
1answer
25 views

file readable and writeable by the web server

I am try to make a file readable and writable by apache web server. I have use the following command: sudo chgrp apache /var/www/html/itdb/data/itdb.db When I try to run the php application I get ...
1
vote
0answers
24 views

php5-fpm tuning - why do I have too many sleeping php-fpm processes?

So I recently went from apache2 with mod_php to apache2 with fastcgi and php5-fpm. (still same prefork module). But I am not sure if we have configured php5-fpm properly. We don't run a website but ...
1
vote
1answer
60 views

How to install eclipse php in ubuntu 14.04?

I have php,mySql and apache2 installed but I needed a IDE for development.So How can I download Eclipse Php with out any errors please help me. And Help me in supporting installed apace2,mySql and php ...
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
22 views

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

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
41 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
30 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
21 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
11 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 ...
0
votes
0answers
32 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
46 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
113 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
35 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
31 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
78 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
66 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
177 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
127 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
71 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
87 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
32 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
62 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
78 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
38 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 ...