PHP is a scripting language, often used for websites.

learn more… | top users | synonyms (2)

0
votes
1answer
240 views

phpmyadmin not longer working after updating to php5.5 on LTS12.04

After i upgrade to PHP5.5 like in this thread How do I install latest PHP in supported Ubuntu versions (like 5.4.x in Ubuntu 12.04)? my phpmyadmin is not working after i try to access to over my ...
0
votes
3answers
189 views

upgrade php - php5 is already the newest version. - but it is not

Followed steps on Update server php version to 5.4.10 via the command line and finnaly I get message that it is newest. But it is 5.36 - its far from newest. I want at least 5.37 so my laravel ...
0
votes
1answer
43 views

php and mysql issues

I've recently read Wallace Wang's “Beginning Programming for Dummies, 7 books in 1” and found it to be very enlightening, as it highlighted various differences between the three main operating systems ...
0
votes
2answers
303 views

How to remove or delete single cron job using linux command?

I have created cron jobs for my site which is listed below and they are working fine.I print all cron job by using this command $cronfiles=exec('crontab -l',$output); echo "<pre>"; ...
1
vote
2answers
128 views

Apache permission problem in ubuntu 12.04

i am new to ubuntu , i have install ubuntu 12.04 install in my system i have install localhost(lamp) in my system . i was trying to import a data base with more size so dor that i need to change the ...
11
votes
1answer
215 views

Strange POST requests to my Ubuntu server - am I in trouble?

I have an Ubuntu Server 12.04 installed on a VM. This server has apache2-mpm-prefork and libapache2-mod-php5 installed. I was looking through the logs and recently came across these rather ...
0
votes
0answers
24 views

i installed php5 in ubuntu 13.04 but when i restart apache sever using command “sudo /etc/init.d/apache2 restart” it was showing error [duplicate]

it is showing error, when i restarting apache sever. It was showing like below image. I am using internet with proxy (172.31.1.6) on ironport.
0
votes
1answer
37 views

How to create new files or modify existing files in a sym link?

I am new to the LAMP environment. I wanted to create files directly in my home directory instead of always copying it to /var/www. I created a sym link using the following command : ln -s /var/www ...
1
vote
0answers
83 views

ubuntu 12.04 - fuser high cpu

The problem is fuser high cpu and server load high. root 20 0 7580 840 692 D 10 0.0 0:00.31 fuser 16061 root 20 0 7580 844 692 D 10 0.0 0:00.31 fuser 16062 root ...
0
votes
0answers
32 views

How to set up a Ubuntu with php 5.3

Hi I have the problem that I have multiple projekts who are not compatible to php 5.4 yet. Now I have to move some of these projects to a new Server and our admin told me that its not possible to ...
1
vote
1answer
73 views

Can't purge libapache2-mod-php5, corrupt registry

I can't purge libapache2-mod-php5. Give me this error. ucfr: Corrupt registry: Duplicate entries for /etc/php5/apache2/php.ini libapache2-mod-php5 /etc/php5/apache2/php.ini libapache2-mod-php5 ...
1
vote
1answer
73 views

I can send mails from shell with PHP, but I can't send from the PHP web page

I'm trying to send mails from a contact form in a page on my server. I followed this post. My PHP file /var/www/my_project/test.php is this: <?php $myemail = "my_mail@gmail.com"; $subject = "my ...
0
votes
1answer
80 views

Cannot load module after updating php to 5.5

after updating php and restarting the apache2 i get this error: Cannot load /usr/lib/apache2/modules/mod_R.so into server: /usr/lib/apache2/modules /mod_R.so: undefined symbol: ap_log_rerror This ...
0
votes
2answers
286 views

Php broken, “held broken packages” error on install [duplicate]

I've completely destroyed everything and now php wont install. I had php5.4 and everything was great. I then needed to run Magento locally which wasnt working. I saw one of the requirements was ...
2
votes
1answer
438 views

Install PECL packages on ubuntu

I've tried it a 100 times I'm really new to Ubuntu and ended with a bunch of error that I don't even understand can any one please help me?? Here is what I did: I installed PHP I installed libcurl ...
2
votes
1answer
55 views

sendmail & MySQL

I had MySQL and PHP working good in the nginx server. For mailing purpose I installed sendmail. Now all I get is Your PHP installation appears to be missing the MySQL extension which is required by ...
0
votes
1answer
23 views

Mysql/php connection

I'm a newbie to ubuntu,and im trying to connect the mysqlworkbench(database) with php5.3 if (function_exists('mysql_connect')) { echo "Good<br />\n"; } else { echo "Bad.<br />\n"; } ...
0
votes
2answers
6k views

ERROR 1045(28000) : Access denied for user 'root@localhost' (using password: no )

I got a problem with mysql server Actually i am not sure im tring to install queXS cati app on my ubuntu desktop i installed mysql server and php5 and when im trying mysql -u root it says "ERROR ...
0
votes
1answer
47 views

Impossible to install php5

I had php5 installed today, and, I don't remember how, but I guess it not installed anymore ... When I try something like that: aptitude install php5-cli It tells me that no version of package ...
1
vote
0answers
327 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 ...
0
votes
0answers
58 views

cron job exetue, but receive error + 500 internal server error

I created a cron job on my apache server's cPanel, every 5 minute push the script, with this command: lynx -source http://mydomain.com/...c_html/xxxx.php and that script does not execute.. i receive ...
1
vote
1answer
678 views

How to enable OpenSSL for PHP Cli?

There is no major difference in the php.ini files located at /etc/php5/apache2/php.ini and /etc/php5/cli/php.ini. But <?php phpinfo(); ?> when accessed from a browser says OpenSSL support ...
0
votes
3answers
1k 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 ...
0
votes
2answers
242 views

Ubuntu-Lampp PHP path issue

I use Ubuntu 13.10 and Lampp. When I try to run sudo php artisan job-daemon I get the above message. But when I run php artisan job-daemon it works just fine. php -m gives me the following: [PHP ...
0
votes
2answers
85 views

Is it Good Practice to Change Apache's /var/www/ (Default Root Directory)?

When you install Apache, PHP's default folder is /var/www/ by default. Some developers find it necessary to change the root directory to something like: /home/public_html/ (many shared hosting ...
0
votes
0answers
104 views

Trouble Configuring Wordpress with PhpMyAdmin

So I'm trying to set up Wordpress to run through Phpmyadmin, in conjunction with LAMP. I'm running Ubuntu 12.10(if that matters), and I haven't found the answer to this question on this site yet..... ...
0
votes
0answers
42 views

Nginx bad behavior while parsing Links

I use Nginx 1.1.9 and ubuntu 12.4 LTS and following config file for my VHOST config. server { server_name www.DOMAINNAME; rewrite ^(.*) http://DOMAINNAME$1 permanent; } server { ...
0
votes
1answer
72 views

Gearman problem when trying to run PHP cli

When I run the following command in terminal: php somePHPfile.php The following error happens: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/gearman.so' - ...
0
votes
1answer
223 views

Error in apache configuration

Initially my PHP was running well and after that when I installed perl CGI modules in order to run my CGI programs, there was problem. From the local host, I am not able to compile my PhP files nor ...
0
votes
0answers
3k 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 ...
0
votes
1answer
274 views

Ubuntu 12.04, Php5-fpm, Apache2, Postfix: impossible to send a mail with PHP

Resources I followed I followed several howtos and questions on askubuntu: https://help.ubuntu.com/community/Postfix How to configure apache / php / postfix website emails when using vhosts? ...
0
votes
1answer
88 views

Timezone error in php.ini on lamp

I am trying to learn SOAP(Simple Object Access Protocol) following an example mentioned here downloaded the SOAP library , including the file lib/nusoap.php which gives a warning which is Warning: ...
0
votes
1answer
37 views

How can I find and edit the php.ini file?

I am trying to find the php.ini file on Ubuntu server with the command: sudo vim /etc/php5 However, this tells me that the file does not exist. How can I find and edit the php.ini file?
0
votes
1answer
476 views

How can I make my localhost server be available online? (Apache,PHP)

How can I make my localhost server be available online? (Apache,PHP) When I try to enter my IP address into the URL bar I get no result.
0
votes
1answer
33 views

Http 500 while running .php code [closed]

I'm trying to create a VirtualBox that I can recycle across multiple projects, using a shell script to install all packages I need. I got Apache2, MySQL and PHP5 installed regularly and running a page ...
1
vote
0answers
87 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 ...
0
votes
2answers
317 views

Ubuntu server sending mail from www-data

I am running a server with Ubuntu 12.04 and three wordpress installations, some ftp server and a basic postfix to send mails with wordpress. additionally I am using webmin to administrate this system. ...
2
votes
1answer
111 views

Wordpress alias problem

I have configuration like this: Alias /blog /usr/share/wordpress Alias /blog/wp-content /var/lib/wordpress/wp-content <Directory /usr/share/wordpress> Options FollowSymLinks ...
1
vote
1answer
115 views

Debugging PHP in Ubuntu (Xdebug)

PHP Vim Debugger: Configuring Apache I am trying to install Vdebug to debug PHP in Vim. Unfortunately, when I press F5 this message appears after a few seconds Waiting for a connection (Ctrl-C to ...
0
votes
1answer
51 views

Apache configure file: how to edit it

I need to edit the Apache configure file because I wish to set the debugger port in my VirtualHost section as it says below. How can I do it? I searched in Google but it is not clear for me what I ...
0
votes
0answers
102 views

Can't use PHP extension gettext in Ubuntu 13.10 (Apache2)

I have installed the module: $ dpkg -l | grep php-gettext ii php-gettext 1.0.11-1 all And i have created the related gettext.ini file in /etc/php5/mods-available/ whit: extension=gettext.so ...
1
vote
1answer
713 views

PHP-FPM eating memory & Creating many Pools

I set up my nginx with php-fpm. each vhost has its own unix-socket and separate POOL. But the problem is that php-fpm is creating 7 thread for each config pool that I created in /etc/php5/fpm/pool.d/ ...
0
votes
0answers
29 views

Error in creating a blob on Microsoft Azure

I'm trying to create a container on Windows Azure. The files are located remotely. I don't get the error when I run the same script on localhost. The problem is when I run the script which is deployed ...
1
vote
0answers
456 views

php-fpm high memory and cpu usage

My Real Ram and Virtual Memory is of each 1 GB. but php5-fpm uses very high memory approx 885MB. I searched for solutions but there is no effect. I have wordpress site and currently at a time there ...
2
votes
1answer
387 views

is this malcious traffic?

I was reviewing my server logs, when I came across several thousand this gem: from a multiple IP addresses: My question is what is all this junk? what is this trying to execute? I am pretty sure that ...
0
votes
0answers
21 views

Can't install PHP5 because of “held broken packages” [duplicate]

I try to install PHP5 on my Ubuntu server. But I have the following problem: root@myserver /etc/apache2/mods-available # sudo apt-get install php5 Reading package lists... Done Building dependency ...
0
votes
1answer
270 views

Can't install php5-curl, getting “404 Not found” errors

My problem when trying to install php5-curl on my virtual box linux server. I did ifconfig eth1 up: err http://nl.archive.ubuntu.com/ubuntu/ precise-updates/main php5-curl amd64 5.3.10-1ubuntu3.8 ...
0
votes
1answer
212 views

Run X11 GUI application from browser (apache - php)

The same way as Running Gui App with PHP, I need to run a X11 application (VLC) from a php page on Apache server. I need to open the VLC application on the server, not on the remote system. I'm ...
0
votes
0answers
90 views

How to manage sqlite database with ubuntu server 12.04

I have installed php and sqlite in my Ubuntu server running nginx. I'm in doubt in how I should manage the SQL database. How should I install something like phpmyadmin that would work in these ...
0
votes
0answers
14 views

How can i install xampp on directory cd/var/www in ubntu? [duplicate]

I have insatlled ubnutu 12.04..and install xampp, it is working properly but it is installed in opt/lampp/htdocs instead /var/www... How can i fix it??