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

Ubuntu php and apache development!

I heard that Ubuntu has already available for installation packages as well , confirmed and it really is true , just installed that came with php5.5 , I need php5.2.17 for installation of vBulletin my ...
-1
votes
0answers
12 views

How to run cakePHP 1.3 in ElementaryOS [on hold]

I used to have a project before (before means Ubuntu 12.04). Now, I changed my OS to ElementaryOS Freya and try to reinstall my project from github. I successfully reinstall php, git and apache. The ...
1
vote
0answers
27 views

Downgrade PHP 5.6 to PHP 5.5

I installed Ubuntu 15.04, but I need to use PHP 5.5 and in 15.04 the standard is PHP 5.6 I added the PPA: sudo add-apt-repository ppa:ondrej/php5 But when I tried to install, I got: The following ...
0
votes
0answers
4 views

How to copy artifacts generated by a build (php web app) to a directory on the same server?

We're using TeamCity 9 on Ubunutu system. I want to copy the the artifacts published in the build to a directory (defined in Apache config as virtual directory) so that our application would get ...
0
votes
0answers
11 views

Connection refused error by soap-client curl while connecting to my zimbra server from cakephp2.6 app from my website?

I am testing zimbra server.I have details of configured linux zimbra server like: ZIMBRA_LOGIN, ZIMBRA_PASS, ZIMBRA_SERVER, ZIMBRA_PORT as in the script at https://github.com/libersoft/zcs-php. I ...
1
vote
1answer
161 views

Crontab not executing script with cURL

I have a cron that's set to run every ten minutes that works fine if I execute the file manually by entering php register.php But, my cron will not execute this file once it includes anything cURL ...
1
vote
2answers
52 views

How to execute a php script using cron?

I am trying to execute a php file via cron every 2 minutes, but it's not working. My crontab is: */2 * * * * usr/bin/php /var/www/test/cron.php What am I doing wrong?
0
votes
0answers
10 views

php not working nginx load balancer

I am trying to set up my server so that when all traffic coming throught the email_admin directory are worked through the current server otherwise they are sent to myapp1 this is what my ...
1
vote
1answer
9 views

PHP/Apache runs as which user on Ubuntu Server

I have a PHP script (in /var/www) that is supposed to write down the logs of operation in a file deploy.log (also in /var/www) and perform operations on a file situated in other directories of the ...
0
votes
1answer
17 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
21 views

Bad Gateway on Nginx Server

I have a nginx server that I was trying to setup a wordpress (Actually multiple) sites on. I used the tuxlite script to setup my lemp server and add security, and everything seemed to work fine. ...
0
votes
0answers
16 views

Folder name are different with local acess

i don't understand... i'm renaming my folder on my server ubuntu with my web service on php. When i'm connecting with sftp all my folders has the good name but when i'm connectiong localy like that ...
0
votes
1answer
12 views

Localhost not finds other routes

I'm new on Linux systems and I moved into it because that they work better than a Windows for web development. I have Ubuntu gnome 14.04 LTS and I've installed PHP, Apache and MySQL using this ...
2
votes
1answer
3k 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 ...
0
votes
2answers
2k views

How to stop cron from mailing me?

I have setup a ssmtp server with my gmail username and password. After that i have been getting constant emails from my laptop to my gmail. Here the mails. The first one is somewhat like this: The ...
3
votes
4answers
15k views

Run PHP from the command line

I have installed XAMPP v1.8.3 for my PHP development. I am new to Ubuntu, so I don't know how to set environment variable for PHP which is located at /opt/lampp/bin/php. I can run PHP scripts from ...
0
votes
0answers
17 views

Unable to install php5-intl on Ubuntu 13.10 [duplicate]

I am trying to install phpt-intl extension on Ubuntu 13.10 using the following command: sudo apt-get install php5-intl And I am having the following output: WARNING: The following packages ...
0
votes
0answers
14 views

How to access Canon CR-50 check scanner connected to Ubuntu 12.04 using CLI?

I am developing a project which needs to access Canon CR-50 check scanner using PHP. How can I make it work? I am currently working on Linux (Ubuntu 12.04) machine, any solution will help me a lot. I ...
0
votes
2answers
25 views

PHP.ini change not reflected

I am trying to install Zabbix and the following errors appeared during pre-installation I proceeded to change the setting in PHP.ini file to the minimum requirements The problem is that though ...
0
votes
0answers
31 views

Problem after upgrading php from 5.3 to 5.5 ( Apache / Ubuntu 12.04 / Plesk )

After upgrade from php 5.3 to 5.5 , I got the following problem when I type service apache2 start * Starting web server apache2 apache2: Syntax ...
0
votes
2answers
29 views

Error Message while installing php5-intl

When I try to install php5-intl, I got this error message. What does mean of this message? Anybody can help me to explain this message? Should I remove php5-common first? or anything else? ...
0
votes
0answers
18 views

How to configure bind,apache and Joomla [closed]

ifconfig eth0:0 192.168.201.x+1 netmask 255.255.255.0 Edit /etc/network/interfaces /etc/init.d/networking restart apt-get install apache2 create file in /etc/apache2/sites-available mkdir ...
1
vote
1answer
12 views

.htaccess causes 500 Error

I am trying to use the Rewrite Engine in Apache. This is my .htaccess <IfModule mod_rewrite.c> Options +FollowSymLi2nks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ ...
0
votes
0answers
15 views

Problem getting curl working in php and broken packages on install.

Im trying to get curl running in php on ubuntu 12.04. (A setup script complains that curl is not enabled, which appears to be true). phpinfo does not list curl at all ie it doesnt appear to even say ...
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 ...
-1
votes
0answers
20 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 ...
1
vote
2answers
1k views

Location to edit xdebug.max_nesting_level in ubuntu 14.04 PHP using Lighttpd

I am getting fatal error maximum function nesting level of '100' reached aborting.. It seems I have to edit xdebug.max_nesting_level from 100 to more. But I am unable to find the correct file ...
0
votes
0answers
26 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
13 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
vote
2answers
623 views

PhpStorm theme installation folder not found

I am new to ubuntu and I am trying to install theme for PhpStorm. this question point out the folder ~/.WebIde50/config/colors but I am unable to find ~/.Webide50 folder.
-1
votes
2answers
16 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. ...
1
vote
1answer
3k views

Install PHP 5.4 on Ubuntu 14.04 LTS without Compiling

ppa:ondrej/php5-oldstable does not support PHP 5.4 for Ubuntu 13.10 and higher. There seems to be no official or a stable way to install PHP 5.4 instead of 5.5 on Ubuntu 14.04 LTS currently. I've seen ...
0
votes
1answer
12 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
1answer
46 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 ...
2
votes
2answers
46 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
1answer
72 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
0answers
25 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
2answers
4k 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
12 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 ...
0
votes
1answer
5k views

Apache doesn't load .php files

First, sorry for my English and asking something that it's quite answered all over the web. I've read a lot of post about this problem but I still can't find the solution. I'm a web developer who ...
0
votes
2answers
78 views

Ubuntu 14.04 Remote shutdown teamviewer or php script

when I try to remotely shutdown with teamviewer my Ubuntu 14:04 pc turns off uncompletely because of the teamviewer team advice appear on the desktop (wine supported). I solved by running the coomand ...
10
votes
5answers
56k 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 ...
5
votes
2answers
7k views

php not executing on apache server

I have just reinstalled apache and php5 but when I visit my doc root it just downloads a "download" file and when I try documentroot/index.php it just downloads the php, I have php installed but it ...
1
vote
0answers
23 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 ...
1
vote
2answers
50 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
69 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
30 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?
38
votes
8answers
78k views

Mcrypt extension is missing in 14.04 server for mysql

The php mcrypt extension on ubuntu 14.04 shows that it is installed properly, but phpmyadmin says: The mcrypt extension is missing. Please check your PHP configuration. My current php config is ...
0
votes
1answer
94 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 ...