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)

1
vote
1answer
36 views

How to update PHP to the newest version(5.5) on LAMPP Ubuntu 12.10 [on hold]

I have installed LAMPP about a year ago, I remember that it was very easy because I just had to download a tar.gz file and extracted it to the /opt/ folder it always worked great. Now I want to ...
0
votes
1answer
15 views

Safest place to get latest Apache and PHP or switch to debian?

I'm a relatively new Ubuntu user and would like to use the latest version of PHP 5.6 and Apache 2.4 I've been using the latest versions of Apache and PHP on Windows without any problems for a few ...
2
votes
1answer
67 views

How to upgrade to PHP 5.5.25(The Latest Stable Released Version of PHP) on Ubuntu 12.04 LTS 64-bit OS?

I tried following commands but after running these commands I got upgraded from PHP 5.5.23 to PHP 5.5.24. I want to upgrade to PHP 5.5.25 which is a latest stable released version. sudo ...
1
vote
0answers
21 views

Pear upgrade all is not working in Ubuntu

When I try to upgrade Pear It shows message on terminal as follows Will upgrade channel://pear.php.net/xml_util Will upgrade channel://pear.php.net/pear Will upgrade ...
0
votes
0answers
14 views

php exec() not working properly

I have a server running Ubuntu 12.04.3 LTS and a LAMP stack used for processing files uploaded to it (hashing, size, path, etc.) and it seems to be acting up. When a file is uploaded it goes through ...
0
votes
1answer
13 views

Forbidden to access PhpMyAdmin in VPS of Ubuntu,Apache and Mysql

I get this error through access phpmyadmin in my vps. Forbidden You don't have permission to access /phpmyadmin on this server. Apache/2.4.7 (Ubuntu) Server at 188.165.168.89 Port 1091 I config ruby ...
0
votes
0answers
14 views

Blank page rendered for php file in ubuntu 14.04 lts. Installed Lamp

I had all my tool in Linux, but i want to test my webpages. I used to use easyphp devserver on window, but here in linux it's not available. Lamp is available here, but my php pages do not render. It ...
1
vote
1answer
20 views

How to prevent Apache and use NGINX alone?

I've installed Nginx Mainline/Dev, PHP 5.6 from webupd8 repo and MariaDB 10. But with Software Updates/PHP update, Apache is being installed also. How can I prevent this? I just don't like apache ...
0
votes
0answers
18 views

Error while updating with drush

I have an ubuntu server with apache that is going to be the host of our public web site (the site is using Drupal). We currently have a public web site and are moving that site to a new server. I ...
0
votes
0answers
31 views

Ubuntu Lamp - Proxy - Firewall - Joomla curl and fsockopen wont work

Ok i have been struggling with this for a couple of days now. I have a Joomla installation on a local machine on our network for our intranet, also installed is Jomsocial. The problem is that when i ...
0
votes
0answers
20 views

Image in a csv file [closed]

I have some CSV files with 3 sheets and I want to add an image into a each sheet using php code. Is it possible? If yes,please give me the solution
1
vote
0answers
23 views

php doesn't work on all directories

I installed lamp server and changed it's directory to my Dropbox folder following all the instructions here. The first page I opened was in http://localhost/askRond/Website/ and it opened without any ...
0
votes
0answers
7 views

Install and phalcon extention in php 5.6

I'm install php 5.6 from source file in thiis path (/user/local/server/php) and mariadb from source in path (/user/local/server/php) and apache in path (/user/local/server/apache). How can i add ...
0
votes
0answers
18 views

php-java bridge Error: Could not connect to server

I'm trying to set up php-java bridge for the past day and cannot figure out what is not working. I have Apache2 and Tomcat7 running JSP server pages work fine. But PHP pages produce an error. I'm ...
1
vote
0answers
17 views

Screen in crontab

I'm trying to run 9 screens windows by crontab, and then, run some codes (basically the same for all of them), but they don't work. The code runs all of 9 screens, but run code only on the first. Aah, ...
-1
votes
0answers
17 views

cannot set header('Content-Length') greater than 2GB

i am using the following code to download files from the server: <?php ignore_user_abort(true); set_time_limit(0); function my_filesize($fp) { $return = false; ...
0
votes
0answers
8 views

Add Pango to php5-imagick

I've already installed php5-imagick and want to add Pango to manage some texts on images by php. http://www.imagemagick.org/Usage/text/#pango For using of pango , I don't want to use CLI of ...
0
votes
0answers
12 views

Meaning of the php vesion on ubuntu and available update changes

I'm little bit confuse about the php version shown in ubuntu. When I check the php version on windows it shows as follows. PHP Version 5.4.25 In ubuntu the php version is shown as follows. PHP ...
0
votes
1answer
37 views

“PHP Fatal error: Call to undefined function” triggered by different apps

In the last 3 days I've been struggling to get a couple of PHP apps(phpmyadmin and drupal 7) working on my Kubuntu 15.04 box and consistently receive a "PHP Fatal error: Call to undefined function" ...
0
votes
1answer
26 views

Install libtidy with php 5.3.28

I have php5.3.28 Installed, I want to install libtidy on the server. I am using command apt-get install php5-tidy. This upgraded php 5.3.28 to 5.5.9. What is the solution to install libtidy with php ...
-2
votes
1answer
52 views

Apache not allowing php to create file

I am trying to save data using html and php in localhost in ubuntu.My html & php files are working great but when i am using commands to open a file in the localhost using $myfile = ...
0
votes
1answer
13 views

Apache with xDebug loaded but not working?

I've installed the php5-xdebug package through apt-get, I enabled it with php5enmod xdebug and when I run php -v, I get this: PHP 5.5.9-1ubuntu4.9 (cli) (built: Apr 17 2015 11:44:57) Copyright (c) ...
1
vote
0answers
43 views

Ubuntu Coovachilli freeradius phpmyprepaid

I have installed Freeradius Coovachilli Captive portal successfully on my Ubuntu 14.04 Server. but when i downloaded Phpmyprepaid RC3 and extracted to /var/www/html folder it returns a login page and ...
1
vote
1answer
98 views

How to install PHP 5.6.8 on Ubuntu? [duplicate]

I am using Ubuntu and I'm quite new to this OS. I Googled it but I did not find a satisfactory answer.
1
vote
1answer
20 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 ...
2
votes
2answers
259 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
5 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
34 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
17 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
22 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
41 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 ...
0
votes
0answers
44 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
15 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
68 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
23 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
71 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
30 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
65 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
22 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
37 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
38 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
votes
2answers
23 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
60 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
19 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
36 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
22 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
37 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 ...