0
votes
2answers
37 views

Make Ubuntu acknowledge that a custom built version of PHP is installed

I'm trying to install PHP from source code on my Ubuntu 12.04 VPS. I'm installing PHP like this: Download the latest version from the php.net website. Configure it using the parameters below. ...
1
vote
0answers
58 views

Mail server broken my LAMP installation

I was installing mail server, postfix/sendmail I suppose. Then I had no need to use it anymore so I removed it. But now when I type localhost in my browser it redirects me to https://mail.example.com. ...
0
votes
0answers
35 views

Why is PECL installing a beta package?

I'm running Ubuntu 12.04. If I type # pecl install apc it tries to install 3.1.13 which is beta rather than 3.1.9. $ pear config-get preferred_state stable Looking inside the two archives ...
0
votes
0answers
264 views

How to change default sender name in PHP mail()?

I'm using LAMPP and sendmail on Ubuntu 12.04. When I call the mail() function in PHP specifying a sender address, it won't work. Every mail I get is sent by an address "daemon@myhostname". I've ...
0
votes
1answer
520 views

Installing php5-mcrypt for phpmyadmin

I am trying to install phpmyadmin on a server. Unfortunately, I get the following error: Reading package lists... Done Building dependency tree Reading state information... Done Some packages ...
2
votes
2answers
393 views

Find out screen id

I want to start a program with SSH using PHP, which works fine, but now I want to kill the screen with PHP, but the only thing I know is the name of the screen. How do I find out the screen ID ...
0
votes
1answer
295 views

How to start a GUI program with PHP from website

My firm has some Ubuntu 12.04 running where there is no display attached and that are behind different firewalls. The visitor on local websites on that servers should be able to start a GUI program ...
0
votes
0answers
64 views

How to start a GUI program in a VM with PHP

I have an Ubuntu 12.04 VM running on my online server where there is no display attached. I want to start Teamviewer there on that VM to get graphical access to that server. I guess I have to give ...
0
votes
0answers
86 views

My APC opcode cache stopped working without a clearly identifiable cause

My APC 3.1.13 had been running fine for weeks, and today, it stopped working after I restarted PHP5-FPM. If I check out my apc.php it shows it caches some files, and then it just stops caching. I ...
0
votes
0answers
71 views

sybase and iconv

I inherited an old Ubuntu 6.10 server running php 5.1.6 which is using sybase to connect to MSSQL. A user submitted some text containing an en-dash and crashed one of my script. It turns out sybase ...
0
votes
0answers
98 views

uploading from Netbeans to remote CentOS server failed

I have a php web application on Netbeans on my Ubuntu , and server is CentOS on a virtualBox . Suddenly uploading to server stopped and I'm getting these errors for non-root user : Failed: file ...
0
votes
1answer
40 views

How to resolve midgard2 already loaded?

When running PHP on my Ubuntu 13.04 machine I get the following warning: PHP Warning: Module 'midgard2' already loaded in Unknown on line 0 This tells me exactly nothing. How could I resolve this ...
0
votes
2answers
1k views

Ubuntu crontab php not working

Yes, I have read many, many documentations but I can't get it to work. I have a simple single php file which I want to run once or twice in a minute. My php file is called: cronjob_refresh.php and I'm ...
1
vote
2answers
454 views

Nginx + PHP + FTP - user permission issue

I have a wordpress copy installed on /home/username/public_html/site, and now the problem is : Nginx running PHP with "www-data" identity The site folder owner and group are "username", not ...
0
votes
1answer
644 views

Nginx Ubuntu PHP5 - not found php-fastcgi.pid

I was setting-up Nginx with PHP5 on Ubuntu 10.04.4 TLS Server, and follow this instructions - http://library.linode.com/web-servers/nginx/php-fastcgi/ubuntu-10.04-lucid Everything is fine before I ...
1
vote
1answer
2k views

Not able to configure phpmyadmin in Ubuntu 12.04

I tried to configure LAMP on Ubuntu 12.04 following this guide (http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-ubuntu-12.04-lts-lamp). But when I point to ...
1
vote
2answers
485 views

run script asynchronously / in a different process

I have a simple php script <?php for($i=0;$i<10;$i++){ sleep(1); echo $i; } Which I run from the command line php myfile.php & I would expect I can do other things in the command line, ...
0
votes
2answers
355 views

suphp directory not owned by user

I have an odd problem with suphp. I have logged in as tom and added some php to a directory in my web server. Now I'm getting this error: Directory /home/.../web/public_html is not owned by tom I ...
2
votes
2answers
945 views

Update phpmyadmin manually when installed as an package

Is it possible to manually update phpMyAdmin when I installed it as a package? The current version in Ubuntus package list is 3.4.5deb1 but I want to upgrade to 3.4.8
3
votes
2answers
570 views

Installing php-cgi under Ubuntu for Cherokee web server

I have set up Cherokee web server on my server, and want to enable PHP and MySQL support for applications like Wordpress and phpBB. I have tried running these commands: sudo apt-get install php5 ...
2
votes
1answer
304 views

How can I monitor the load of a php script on a server?

We've got a website on our dedicated server which seems to be causing problems. Recently it has been crashing our dedicated server - it's very annoying. It will crash at random times. The tech ...