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)

3
votes
0answers
65 views

Could I recompile php after install with apt-get?

the title says a lot I guess, I want to install my lamp serve with: apt-get install lamp-server^ And after that I want to recompile the php to add the pthreads, it is possible install the lamp ...
2
votes
0answers
24 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 ...
2
votes
0answers
47 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 ...
2
votes
0answers
193 views

403 Forbidden Error after changing LAMP Apache root/ www directory

I installed and set up all the LAMP services, and got it working from the www folder, thing it though I need it to point to a folder in my Dropbox (on the same partition) I modified the ...
2
votes
0answers
71 views

How to disable mpm-itk for a specific virtualhost?

I've a main site on a server that needs to run a sudo command which I white listed via visudo. That worked fine until I installed apache-mpm-itk and then I started getting the following error: sudo: ...
2
votes
0answers
226 views

How do I save an uploaded file in PHP?

In PHP, I'm trying to save a file to the /var/www/upload directory, but whatever I try, it doesn't work. I've tried giving www-data ownership of /var/www and subdirectories. I've tried modifying the ...
2
votes
0answers
123 views

Coordino permission issues?

I have downloaded the Coordino and wanted to run it on Ubuntu, tried to run it but its giving the following errors Warning: require(app/webroot/index.php): failed to open stream: Permission denied in ...
2
votes
0answers
382 views

Trouble with local server, URL not found errors with some, but not all local sites

I am setting up my Ubuntu laptop for my new job and I am having a strange issue. They have a crazy environment setup that I got working on my local Ubuntu 12.10 machine with Apache and PHP 5.3 (had to ...
1
vote
0answers
23 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 ...
1
vote
0answers
23 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
0answers
24 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 ...
1
vote
0answers
46 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
0answers
27 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 ...
1
vote
0answers
27 views

PHP5 shared (apache2 & cli) configuration

I need to set the date.timezone setting in my PHP5 configuration. Obviously I could simply edit the php.ini files (both /etc/php5/apache2/php.ini and /etc/php5/cli/php.ini), but that doesn't feel like ...
1
vote
0answers
70 views

Server permissionsto allow php script to run but other users cant open

I have an apache server set up, there is a php script for a login page (contains passwords). I want to be able to give the server permissions to run the script but not for users who login through ...
1
vote
0answers
12 views

Trying to get into Php and Apache2 and this came up

Okay so while I was installing Apache2 and php all of a sudden I got this `**Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ...
1
vote
0answers
52 views

Resetting a failed Horde installation on 14.04?

I first tried to install Horde Webmail by following the instructions on horde.org (ie PEAR install, like I did on my previous server, 7years ago) but it failed on connecting to mysql. I then noticed ...
1
vote
0answers
50 views

Why is apache still logging my PHP Notices?

I have edited /etc/php5/acpache2/php.ini and set error_reporting = E_ALL & ~E_NOTICE then restarted apache, yet my /var/log/apache2/error.log is still filling up with PHP Notice: Undefined index: ...
1
vote
0answers
207 views

Server slow after Nginx errors and restarting PHP

I have a server with Intel Xeon 2xE5520 2.27GHz, 48 GB Ram, 2x146 GB 15K HDD (Raid) OS Ubuntu 14.04.01, Nginx 1.6.2, PHP 5.5.9, MySQL. Webmin. My website is video portal. Traffic is approximately ...
1
vote
0answers
195 views

On terminal I see PHP 5.3.29, but in browser I am getting PHP 5.5.9. Please help

I want to install php 5.3.29 in Ubuntu 14.04. I have tried following this post: Installing PHP 5.3 in Ubuntu 14.04 Got it work. I am getting php version as 5.3.29 while I am in terminal. I created ...
1
vote
0answers
149 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
0answers
102 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 ...
1
vote
0answers
91 views

After Xampp install php files downloading when called

I recently installed xampp and when ever my html file calls a php script firefox downloads the script instead of running it. I have the php5 module installed and this is what my apache hhtpd.conf file ...
1
vote
0answers
47 views

Apache2 and PHP error logging

I've been running a local apache2 on a Ubuntu 12.02 LTS with the latest PHP version installed. I do need to debug some WordPress code to find out why certain values are not set in the database. I ...
1
vote
0answers
652 views

Problem with Apache - not starting?

I was trying to install ion cube, I was looking at an instruction online, and just copying and pasting commands to Putty I realized that I was trying to install a 32 bit version on my 64 bit ...
1
vote
0answers
271 views

Error message odbc_connect(): SQL error: [unixODBC][FreeTDS][SQL Server]

I'm trying to get my Ubuntu server to connect to my SQL server, without a lot of luck. I keep getting the error: Warning: odbc_connect(): SQL error: [unixODBC][FreeTDS][SQL Server]Unable to connect ...
1
vote
0answers
202 views

How do I downgrade php5.5.3 to 5.4?

I am trying to downgrade php from 5.5.3 to 5.4. I tried to find a 5.4 version using aptitude versions php5-common Package php5-common: p A 5.5.3+dfsg-1ubuntu2 saucy ...
1
vote
0answers
115 views

Why my apache service does not work correctly?

I am just a newbie using Ubuntu 12.04 LTS. In the beginning, I just want to install mcrypt, I followed this solution: cd /etc/php5/mods-available ln -sf ../conf.d/mcrypt.ini . php5enmod mcrypt ...
1
vote
0answers
175 views

XAMPP (LAMPP) on Ubuntu Touch

Can I install and run XAMPP (LAMPP) on Ubuntu Touch on a Nexus 10 in order to host a local website (that needs PHP and MySQL)?
1
vote
0answers
1k views

Apache Timeout (Problem loading page) on localhost

I am running a php script locally in my Firefox web browser. After exactly 300 seconds I get an error page. "Problem loading page. The connection has timed out. The server at localhost is taking too ...
1
vote
0answers
477 views

PHP 5.1.6 on Ubuntu

I want to install PHP 5.1.6 on Ubuntu in order to work on legacy PHP application. How can I install PHP 5.1.6 on Ubuntu. I have tried to install 11.10 and followed many online resources to get it ...
1
vote
0answers
301 views

Subdirectories Show 404 Not Found on 13.10 web server

I recently set up a web server on Ubuntu 13.10 and when I enter the external IP it works fine showing the index file of var/www/ but whenever I try to add a folder, say one called test, and I go to ...
1
vote
0answers
30 views

How would I tell the last time Apache served a file?

I'm trying to figure out how to tell the last time a .php file was served by Apache. I have written an application on an Ubuntu Lamp stack with Mysql & PHP. I have 1000s of files and I'm trying ...
1
vote
0answers
642 views

Ubuntu 13.10 install php-fpm with apache 2.4

I tried multiple tutorials on how to install php-fpm (cgi) with apache2. None of them worked with 13.10. I even installed ubuntu completly new after each one. This is one for example: How to configure ...
1
vote
0answers
671 views

Apache: New files and folders does not get correct permissions

This is what i'm working whit. Ubuntu Server 13.10 /w Kubuntu Desktop 3.11.0-17-generic Apache/2.4.6 (Ubuntu) PHP 5.5.3-1ubuntu2.1 (cli) Module SuPHP Enabled My issues: I can install Joomla, and ...
1
vote
0answers
339 views

Ubuntu Server 12.04 php5enmod

For the life of me I can not figure out why php5enmod can not be found in 12.04. I can not use it to install php modules like mcrypt. Any suggestions?
1
vote
0answers
724 views

nginx with hhvm - Not found

I'v set up nginx with hhvm but, any file .php returns me "Not found" except index.php that returns me Running on HHVM version 2.3.2. Some of my configurations /etc/nginx/sites-enable/default ...
1
vote
0answers
189 views

Executing pdftk with php exec on Ubuntu 12.04.3

exec("cd /var/www && PATH=$PATH:/usr/bin/ pdftk 1.pdf 2.pdf 3.pdf 4.pdf output final.pdf"); I'm trying to execute this command on Ubuntu 12.04.3, it's working fine when I'm connecting via ...
1
vote
0answers
225 views

Integrate ImageMagick & MagickWand with php ubuntu 12.04

I have installed both ImageMagick and MagickWand in my ubuntu system by refering to the detailed instructions provided in Install ImageMagick From Source and MagickWand For PHP. When I chack whether ...
1
vote
0answers
333 views

Setting up Virtualmin with PHP 5.4 or 5.5

I've tried various ways of getting a later version of PHP than 5.3 with Virtualmin. Each time breaking the server. I've tried adding ppa:ondrej/php5 and installing 5.5 both before and after installing ...
1
vote
0answers
341 views

Problem after installing phpmyadmin

I installed apache, mysql, and php on my Ubuntu 12.04 server but after logging in all I see is a white screen displaying a forward slash. Is there something else I need to configure or enable? / ...
1
vote
0answers
324 views

Need PHP5.3, lamp server is PHP 5.4.9

So I installed Ubuntu and installed lamp-server however this gave me PHP 5.4.9 and I want 5.3.25 to mirror a production server. I managed to use the dotdeb repos and get 5.3 installed, however its ...
0
votes
0answers
10 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
20 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 ...
0
votes
0answers
50 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
0answers
42 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
22 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 ...
0
votes
0answers
42 views

NetworkError: 500 Internal Server Error

When I am trying to run a java services through php file(xyz), it is throwing this error (Firebug) NetworkError: 500 Internal Server Error http://127.0.0.1/dev/en/abc/xyz ...
0
votes
0answers
22 views

A blank page in ubuntu server

I installed Ubuntu server with lamp servr and after checking that PHP works (PHP5 -v) I put a file to the rootdirectory (/var/www/html) with the function phpinfo(); But I get a blank page. What could ...