Tagged Questions

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)

4
votes
1answer
7k views

Broken Packages: php-apc: Depends: phpapi-20090626+lfs

I need to install php-apc on Ubuntu 10.04 and Ubuntu 9.04 First of all, can I just install this package to make it work with php 5.2 + lighttpd on these Ubuntu versions ? I've tried to install it on ...
3
votes
1answer
846 views

Installing APC on lighttpd + php 5.2

I've found this tutorial to install APC on servers with lighttpd + php 5.2 on Ubuntu 10. However, when I run sudo pecl install apc the package is just downloaded and is not installed. (i.e. I'm not ...
1
vote
0answers
472 views

Good php editor [duplicate]

Possible Duplicate: What are some good PHP editors? i have seen through other questions on the topic but most are a bit old. I looking for a good editor for developing on PHP in ...
0
votes
2answers
183 views

Web developing- Strange happenings

As I'm teaching myself PHP and MySQL during break, I'm experimenting coding in a Ubuntu virtual machine where Apache, MySQL and PHP have been installed and configured to a shared folder. I'm not a ...
1
vote
1answer
9k views

How do I enable a user to sudo without password?

I have a php script with this: <?php #echo exec('whoami'); $output = shell_exec('bash /usr/local/svn/bash_repo/make-live'); echo "$output"; ?> The make-live script contains this: ...
4
votes
4answers
371 views

How to work on *.php pages without LAMP

I am learning PHP, which means I'd have to install LAMP on my laptop and I think LAMP would degrade my battery life which is already very low, So is there substitute to the LAMP so that I can see how ...
32
votes
3answers
83k views

Where are the Apache and PHP log files?

I've installed Apache, PHP, and MySQL on Ubuntu 10.10 desktop edition, and it's working fine. Except I have no clue where to look for Apache or PHP log files.
9
votes
2answers
3k views

What does .: mean in php include_path?

I'm trying to install Zend on a machine running xampp. Zend's help file says that in order to set up the command-line tools, I need to make sure that the contents of the /library directory are placed ...
0
votes
3answers
9k views

Installing phpMyAdmin from repository, 403 Forbidden error

I have installed phpMyAdmin from the repositories, but I get 403 forbidden when I access http://localhost/phpmyadmin/index.php Apache is running fine, and so is PHP (I'm using apache2-mpm-worker with ...
4
votes
1answer
5k views

Debugging php with gdb

I am attempting to debug a SIGSEGV on PHP on my Ubuntu 9.10. I've installed php5-dbg to have the debug symbols available, however, when I start gdb, it shows the following output: Reading symbols ...
1
vote
3answers
4k views

How to use VirtualBox as a SQLServer Host?

I installed Windows server 2008 and SQL Server 2008 on VirtualBox, now I want to remotely connect to it via php. I don't know what kind of network connection is needed, how to set it and...
1
vote
4answers
6k views

Apache alias not working correctly

I have added these lines in my 000-default virtual host file: Alias /antoniocs/project "/home/antoniocs/www/project" <Directory "/home/antoniocs/www/project"> Options Indexes FollowSymLinks ...
8
votes
1answer
9k views

How to set up PHP with Nginx, APC and PostgreSQL?

I use Ubuntu Server 10.10 and I would like to set up a web server environment with NginX, PHP 5.3.3, PostgreSQL and preferably APC and PHP Suhosin. I have already set up PostgreSQL with apt-get ...
72
votes
5answers
122k views

How do I install curl in php5?

I currently have PHP 5.3 installed with Apache in 10.04 Lucid. How can I add the PHP Curl libraries? Do I need to install any other dependencies for curl?
0
votes
2answers
378 views

After upgrade to 10.10, mediawiki on postgres is broken

I upgraded to Ubuntu 10.10 from 10.04. 90% of the upgrade was ok but my Ubuntu-apache2-postgres-8.4 - mediawiki1.16 does not work anymore. Is there a bug in the postgres client or in php5 pg?
3
votes
1answer
1k views

Webmin seem to think Apache isn't started when it really is, how do I fix this?

I performed a sudo apt-get install lamp-server^ on my Ubuntu 10.10 desktop for development purposes and then installed Webmin. Now, Webmin doesn't seem to think Apache is running when it really is, ...
1
vote
1answer
538 views

Should I use spawn-fcgi or dotdebs php5-fpm?

I am setting up an Ubuntu server with nginx, php and mysql. I have found two options for fast-cgi php. Firstly I can use the spawn-fcgi package and make some startup scripts, similar as done here ...
21
votes
10answers
23k views

What are some good PHP editors? [closed]

I'm currently using PhpStorm by Idea JetBrains, but its buggy and I'm really looking for something that will allow me to get work done without too much hassle. Please limit one IDE/Editor an answer.
4
votes
1answer
3k views

Custom php.ini for VirtualHost

Is there a way to use a different php.ini file foreach VirtualHost in apache? I know that there are the php_admin_values <Location /stat/> php_admin_value safe_mode off </Location> ...
4
votes
4answers
7k views

http://localhost/ not working

I've just done a fresh install of Ubuntu (10.04.1) plus LAMP (via sudo tasksel install lamp-server) and everything is working fine. However, it does so until I need to work on localhost when I do not ...
0
votes
3answers
782 views

How to install php-gtk?

I can't find it in the repositories.I am using Maverick.
3
votes
2answers
772 views

How do i create my own php 5.3.3 package/ppa?

I really would like to create a package for php 5.3.3 and then make a ppa for it (I would like the php-fpm support but inside the newest release), however this question goes further than this. I ...
9
votes
4answers
4k views

How to rollback to PHP 5.2?

I have just installed a 10.04 LTS on my development server but the system that I need to run on it (Magento ecommerce) is not compatible with PHP 5.3 which ships with the newest version of Ubuntu. Is ...
69
votes
11answers
11k views

What's the easiest way to set up a LAMP stack?

I set up a new VPS instance of Ubuntu and am wondering what the easiest way is to get up and running with a basic LAMP stack (i.e. which packages are required, which configuration options need to be ...