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
127 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 ...
0
votes
0answers
31 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
131 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
175 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
18 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 ...
1
vote
0answers
99 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
1answer
21 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 ...
1
vote
2answers
117 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
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
38 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
0answers
213 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
65 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
2answers
328 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? ...
1
vote
1answer
54 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
145 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 ...
0
votes
0answers
54 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
31 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
75 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
276 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
49 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
67 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
72 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
71 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
605 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
27 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
81 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
77 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
116 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
14 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
32 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
91 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
116 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
418 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 ...
0
votes
1answer
20 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
466 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
142 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
948 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
118 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
119 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
1k 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
66 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
1answer
132 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
108 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
240 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
16 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
65 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
100 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 ...
1
vote
1answer
684 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 ...