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
6 views

exec PHP and Rscript

I'm completly new to ubuntu, well more precisely i am using xubuntu. The point is that i want to run a program.R using Rscript in PHP. I can do it on a terminal writing something like Rscript ...
0
votes
0answers
16 views

dpkg: error processing package libapache2-mod-php5

I have a problem at moment of use my apt-get/aptitude package manager When I want install some packages I get the following output: sudo aptitude install libxslt1.1 libxml2 The following partially ...
0
votes
0answers
11 views

cakePHP project's sub-directory cannot be access in ubuntu server but it works fine for others

My CakePHP Project's root .httaccess file is given below, <IfModule mod_rewrite.c> RewriteEngine on #Rewritebase /my_project RewriteRule ^test_folder/(.*) test_folder/$1 [L] ...
0
votes
1answer
16 views

How to make Curl and PHP available when installed from Xampp

I have installed a recent copy of XAMPP on Ubuntu 14.04. However, when I issue this command: curl -sS https://getcomposer.org/installer | php I get the following error messages: The program ...
0
votes
0answers
17 views

htaccess, how to hide php extensions

I am trying to use the .htaccess file to hide php extensions but it doesn't seem to be working. It does work if there is a html file in the directory and I don't use the .html extension. This is ...
0
votes
1answer
17 views

Replace DEB.SURY.ORG PHP with original

I added Ondřej Surý's repository which was a great help at the time. Now I have issues installing cURL and I think returning to "original" PHP would solve the problem. Currently all my PHP packages ...
0
votes
1answer
17 views

get php info for apache 2

I want to see my php information on my apache2, how I can configure to see php info? your help and information is great appreciated,
-1
votes
0answers
12 views

NEXT AND PREVIOUS button for wordpress

<?php next_post('&laquo; &laquo; % ', 'PREVIOUS ARTIST', 'no'); ?>&emsp;&emsp;|&emsp;&emsp;<?php previous_post('% &raquo; &raquo;','NEXT ARTIST','no'); ?> ...
0
votes
1answer
25 views

Broken packages for apache2 and php [closed]

I had apache2 installed on my Ubuntu (13.04). I installed php5 using sudo apt-get install php5 sudo apt-get install libapache2-mod-php5 Then I wanted to install php5-mysql but it gave me broken ...
1
vote
1answer
26 views

Php not running for fog web management server

I am making an imaging server for my computer engineering course. I have installed ubuntu server 12.04 32bit on the dual processor server, then I upgraded using d-release-upgrade to 14.04. I then ...
1
vote
3answers
177 views

When will PHP 5.6 be in the official Canonical repos?

I imagine it won't up until 14.10 is released, but even if that is the case, could we expect to see it show up in the repos that 14.04 uses?
0
votes
1answer
47 views

How to upgrade softwares from currently installed LAMP on Ubutu 12.04 LTS system? Please provide me the step-by-step instructions

Someone had installed LAMP on my machine almost two(2) years back. I got this machine since last six(6) months. The LAMP is working fine for all of the PHP project work I do. But the issue is all the ...
0
votes
1answer
34 views

Cannot get nginx to render my WordPress site

I am new to nginx but I followed religiously all the tutorials and tried to setup my WordPress site but I have an issue at the moment I cannot resolve. Basically I have the following configuration in ...
1
vote
0answers
14 views

locate [file] but go to directory, it's not there [duplicate]

I am root. I have PHP webpage on Apache 2 server putting .stl files in /var/www/upload using move_uploaded_file( 'from', 'to' ) When I use locate, I see the file is in /var/www/upload When I cd to ...
0
votes
1answer
19 views

Allow PHP for accessing filesystem [on hold]

I'm a newbie and I have installed Linux Mint (x64 Ubuntu-based) and Apache v2.0, PHP 5.5.9 and MySQL. Then I installed WordPress and I was almost unable to upload and edit files (I got "Permission ...
0
votes
1answer
41 views

phpmyadmin not found

I am using ubuntu 14.04. I have made setup LAMP by going through step by step what in this link. For apache I mean http://localhost all the files are working fine . But when I am doing ...
0
votes
1answer
28 views

permission denied access php5 folder

I wanted to access files php5 folder on \var\lib\php5, but I got permission denied. I use Ubuntu 14.04 LTS. Is it Ubuntu lock the permission for the folder and need root access? Your help and ...
0
votes
2answers
51 views

Forbidden You don't have permission to access /phpmyadmin on this server

I installed php, mysql, phpmyadmin on my Ubuntu 12.04 localhost in the following steps: I try these steps: sudo apt-get install apache2 sudo /etc/init.d/apache2 restart sudo apt-get install php5 ...
0
votes
1answer
29 views

Alternatives to Cron

I'm doing a server running Ubuntu Server 12.04 and Apache. The users have continuous updates in the dinamic pages through a Java script, downloading JSON files through Ajax request to server. All the ...
0
votes
1answer
45 views

Ubuntu - Is it normal that my apache webroot is in html directory [duplicate]

I have installed PHP, MySQL, and Apache in my machine by following this tutorial. I created one file info.php to test if php is working on my apache server, but I go message file not found. Then, I ...
-1
votes
0answers
25 views

Can not create text files with PHP code into /var/www/html folder using 14.04 LTS LAMP [duplicate]

I am using Ubuntu 14.04 LTS & installed LAMP successfully & its working perfectly. But, i am unable to create a folder & a text file within /var/www/html folder using PHP code. Gets error ...
0
votes
1answer
64 views

Cannot install libapache2-mod-php5 because of unmet dependencies

I have a vagrant box that installs php 5.3.28 and most php libraries dpkg -l |grep '^ii' |grep php ii php5-cgi 5.3.28-1~dotdeb.0 server-side, HTML-embedded ...
0
votes
0answers
30 views

Install PECL_HTTP

I'm close to the madness with this problem. I need to use the HttpRequest class on PHP, I've followed the steps on this site Ubuntu PECL HttpRequest installation, but when run the sudo pecl install ...
0
votes
1answer
30 views

to render a simple html file in localhost

I am going through the david malan lecture on php,, So I have created a simple google.html file on /public_html/google.html which is as follows: anupam@JAZZ:~/public_html$ more google.html ...
-1
votes
1answer
60 views

Best IDE for php/web developement in Ubuntu [duplicate]

Can anyone suggest an IDE for php development in ubuntu 14.04. In Netbeans fonts looks narrow and ugly. Is there anyother alternative ? What about Aptana Studio 3 ?
0
votes
1answer
20 views

PHP5-FPM w/Apache2 FastCGI Error -1 Copy file failed

I'm using php5-fpm with apache2 and I'm receiving the below error message. FastCGI: comm with server "/var/lib/apache2/fastcgi/php5.fcgi" aborted: error parsing headers: invalid Status '-1 Copy file ...
-2
votes
0answers
16 views

I m not able to download apache2-prefork-dev [duplicate]

I m using ubuntu12.04 I use command: sudo apt-get install apache2-prefork-dev error: Some packages could not be installed. This may mean that you have requested an impossible situation or if you ...
0
votes
0answers
29 views

Unmet dependencies when installing apache2-prefork-dev [duplicate]

I m trying following command: sudo apt-get install apache2-prefork-dev And getting this error: The following packages have unmet dependencies: apache2-prefork-dev: Depends: libaprutil1-dev but it ...
1
vote
0answers
48 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 ...
0
votes
0answers
16 views

Installing PHP 5.4 instead of 5.5 on Ubuntu Server 14.04 [duplicate]

Any one please suggest commands to install PHP 5.4 instead of PHP 5.5 that comes default with Ubuntu server 14.04 For some compatibility issues i want to install PHP 5.4 not 5.5. I have a fresh ...
0
votes
1answer
23 views

apache broke after upgrading

I tried to upgrade my php version with the help of this and somehow the apache version also upgraded. After this upgrade I got a lot of errors obviously and I managed to solve lots of them except this ...
1
vote
1answer
23 views

Can I debug PHP scripts running in Apache on Ubuntu?

Coming from the Microsoft world, where Visual Studio, Windows, and IIS seemingly play nice together, I can attach the Visual Studio debugger to the IIS process and debug code in play. When a web ...
0
votes
0answers
30 views

“php-clamav: depends on: phpapi-20090626+lfs but it is not going to be installed”

I want to install "php-clamav" . But... msy@msy-Inspiron-One-2020:~$ sudo apt-get install -f php-clamav 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是 ...
1
vote
1answer
41 views

Why won't this php script execute bash script?

Why am I not able to execute this bash script using php? I have tried exec() as well as shell_exec(). index.php <?php $old = getcwd(); echo $old; chdir($old); $message=exec("a.sh"); ...
0
votes
0answers
32 views

PhpMyAdmin wont let me log in without password

I am preparing a Vagrant box to develop websites and I wanted to install phpmyadmin, to log in just as "root", no password needed, since it is just for development, but whenever I try it, I get the ...
0
votes
1answer
50 views

testphp.php 404 Not Found

I installed LAMP Server. I can access http://localhost. I can also run successfully phpmyadmin. But when I go to http://localhost/testphp.php, I get a 404 not found. The file is in ...
0
votes
1answer
85 views

Downgrading PHP from 5.5 to 5.3 on Ubuntu 14.04

now, I know that this question has been asked tons of times over the internet, but I followed lots of tutorials on the argument without being able to get to the answer. This is my situation: Ubuntu ...
1
vote
1answer
103 views

Apache + php5 problem after 12.04.3 to 14.04.i do release upgrade (server)

I did a 'do-release-upgrade' Most upgrade went fine. But the upgrade from Apache 2.2.22 to 2.4.7 went wrong. There seems to be something wrong with the php5 apache module. I get the following error ...
0
votes
1answer
90 views

Installing mysql-server gives 504 Gateway Time-out

So I have this site im coding on that requires a database and is based on PHP. So for this site i installed phpmyadmin that also installed mysql-server. Before I installed phpmyadmin I didn't get a ...
0
votes
0answers
68 views

I'm not sure if LAMP on my Ubuntu 14.04.1 works correctly

I installed LAMP on Ubuntu 14.04.1 following this guide. However, when I go to http://localhost/testing.php/ from the browser, all I get is this: Not Found The requested URL /testing.php/ was not ...
2
votes
0answers
246 views

Updating Php 5.6.0 on Ubuntu

my question is how to update Php 5.6.0 on ubuntu if my folder with php5 is at: etc/php5
0
votes
0answers
64 views

Uninstall PHP 5.3 Ubuntu 14.04

I recently followed instructions given by AgentCool in Installing PHP 5.3 in Ubuntu 14.04. And I have PHP 5.3.28 as >PHP PHP 5.5.9 as >PHP5 How can I undo these steps and go back to original ...
0
votes
1answer
94 views

Php.ini file change not reflecting in phpinfo()

My php.ini settings are not reflected in phpinfo. It still shows upload_max_filesize as 2M but I have set it to 50M in php.ini. Can you please tell how to change php.ini properly? I'm using Ubuntu ...
1
vote
1answer
76 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 ...
1
vote
1answer
114 views

php not running on ubuntu 14.04

OS: ubuntu 14.04 Apache2: 2.4.7 php: 5.5.9 I've just made a fresh install a few days ago. Then install LAMP, set up apache virtual hosts, etc. Everything seem to be running fine... except for php. ...
1
vote
0answers
42 views

Cannot load /usr/lib/apache2/modules/mod_mpm_itk.so

I ran tasksel to install lamp server, but I accidentally delete everything, when I got everything work as before I noticed that apache is not working and here is there message I get while trying to ...
0
votes
0answers
14 views

Temporarily unable to connect to database

I've got a fully patched Ubuntu 12.04 Server VM that I'm using to host a few low traffic sites. My site is PHP (WordPress) and uses mysqli to connect to a MySql database - pretty standard stuff :) ...
2
votes
1answer
222 views

Should I upgrade to “Ubuntu 14.04 'Trusty Tahr'” from “Ubuntu 12.04 LTS” and what care do I need to take if I upgrade? [duplicate]

I'm basically a Web Developer(PHP Developer) by profession. I mainly work on PHP, jQuery, AJAX, Smarty, HTML and CSS, Bootstrap front-end web development framework. I've also installed and using ...
0
votes
0answers
34 views

Joomla with postfix php mail not working

I am getting this error in mail.log (after trying to submit a contact form): fatal: Recipient addresses must be specified on the command line or via the -t option Its worth mentioning that I have ...
0
votes
0answers
23 views

phpmyadmin not longer working after updating ubuntu LTS12.04 to ubuntu LTS14.04

After I upgraded Ubuntu 12.04LTS to Ubuntu 14.04LTS, I found that phpmyadmin is no longer working by calling http://localhost/phpmyadmin. It did work on before upgrading. Now I get this when trying ...