Tagged Questions
0
votes
1answer
20 views
Whay apache2 does not process PHP files?
I have installed Apache server using TaskSel from Synaptic package manager.
I did the following:
sudo a2enmod php5
Module php5 already enabled
sudo a2enmod userdir
Module userdir already enabled
...
0
votes
1answer
25 views
php-in-homedirs
I am trying to get php to work in user's public_html folder using the instructions found at:
https://wiki.ubuntu.com/UserDirectoryPHP
If I follow the first part and comment out the IfModule lines in ...
0
votes
1answer
17 views
How to enable PHP on LAMPP?
I installed lampp a couple of weeks ago. Everything works fine when it comes to html files, but when I try to open a php file, the browser asks me where to download it. :/
I tried with my php files, ...
1
vote
1answer
39 views
how to run php web application in lamp server and mysql connection also
i need your help.
1.i wanted to install php , mysql and server appache like..
2.how to run php web application in server?
3.how to connect php web application into mysql.
2
votes
0answers
24 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 ...
0
votes
2answers
48 views
How to compile php in after installing php, apache and mysql severs?
I have installed all the necessary servers to work with php in Ubuntu..
But i don't know how to compile php in Linux.
My hostname is "blackparrot"
my user name is "red"
Pls tell or show me a way to ...
1
vote
0answers
251 views
MySQL stop/waiting issues; “can't connect … through socket” [closed]
So first time putting up a LAMP stack on a Bodhi machine (previously experience with WAMP, and LAMP on 10.04); I got Apache going, and a Drupal install begun, then I go to create a new database and ...
1
vote
0answers
24 views
How to relay gmail using postfix? [duplicate]
Possible Duplicate:
How can I configure Postfix to send all email through my Gmail account?
I want to test php mail function from my ubuntu desktop. I heard that postfix can do this. But I ...
1
vote
3answers
322 views
How do I setup php+My sql development environment
How do I setup php + My sql development environment in Ubuntu ?
0
votes
2answers
175 views
Can't deploy to localhost with PhpStorm
I installed LAMP using
sudo tasksel install lamp-server
I configured PhpStorm to use /var/www folder as root deployment folder, also specified http://localhost as web-server root url:
When I ...
1
vote
1answer
164 views
LAMP Stack Location
I have installed the LAMP stack on Ubuntu 12.04 LTS using the tasksel command.
I checked - it works. But I cant find the location of the installaton,
I worked with WAMP - there you have a separate ...
0
votes
2answers
2k views
Can't find Localhost files
Hope you can help. This is my first time trying Ubuntu/Linux.
I am logged in as root
I have downloaded and installed LAMP and PHPMYADMIN.
I get the test page under localhost say that It works and is ...
2
votes
2answers
754 views
LAMP: Apache not accepting “index.php” files and displaying directory listing
I just installed lamp here on my desktop. i am using 12.04. Installation works perfectly but when i tried to access localhost/wordpress/ it doest read the index.php. It shows like this:
Why is it ...
1
vote
1answer
273 views
How do I get mrbs installed and working?
I'm trying to install Meeting Room Booking System on ubuntu 12.04
I think I have apache and php5 up and working fine. A test.php file with contents:
<?php phpinfo(); ?>
loads and gives me ...
0
votes
2answers
570 views
How can I view the contents of “/var/www” in browser, like 'wamp' in windows OS?
I'm new for PHP. I've installed Apache, MySQL, PHPmyadmin in Ubuntu 10.10.
Is there any way to access the contents(folder/files) of /var/www in browser like 'wamp' in windows OS?
3
votes
1answer
1k views
Connection failed to open the DB connection: could not find driver
I am newbie for ubuntu and I was trying to run lamp.
I installed mysql, and pdo extensions. when i show config(with phpinfo()):
Configuration File (php.ini) Path: /etc/php5/apache2
Also I see mysql ...
0
votes
0answers
22 views
Can't save a php file in /var/www [duplicate]
Possible Duplicate:
Whats the simplest way to edit and add files to “/var/www”?
A completely newbie here.
I just finish typing my first PHP script in Sublime Text, now I need ...
1
vote
1answer
603 views
How to run a php file after installing LAMP in ubuntu 11.10?
I installed lamp on ubuntu. Apache2 and Mysql are working fine.
The folder apache2 is in /etc and contains:
apache2.conf envvars magic mods-enabled sites-available
conf.d ...
0
votes
3answers
494 views
MySQL and PHP problems
I'm new in server-side programming. I need lampp and mysql running on my computer. I have installed mysql using tasksel lamp-server, and then install php with apt-get install libapache2-mod-php5 ...
0
votes
1answer
113 views
Downgrading LAMP's PHP?
i'm somewhat new to Ubuntu. I am a web developer, and I've been trying to install LAMP properly so I can test my creations.
Here's my issue, I use PHP 5.2.5 to program as I find it to be the superior ...
0
votes
1answer
94 views
xamppp lampp unistall and error
Today I installed xampp from their website and just downloaded and extracted on my linux os (using tar xvfz) command and I started it using /lampp start.
everything started perfectly and I wanted it ...
1
vote
1answer
100 views
Does the apache/php5 package include Zend?
I'm loading up a fresh development computer for one of my new hires. As a standard, I put in a very basic LAMP server on all of our development computers. The one I'm currently loading is running ...
2
votes
1answer
1k views
LAMP Server not working on Precise
I've installed Ubuntu 12.04 LTS Precise a few days ago. I tried installing LAMP Server as I've been done in last four Ubuntu versions, simply by using these commands:
sudo apt-get install ...
1
vote
1answer
498 views
Facebook application apache setup
I'm trying to setup the dev environment for facebook apps and I was following official Hiroku guide for setting up everything for local development ...
0
votes
2answers
425 views
Ubuntu 11.10 LAMP is very slow
My lamp stack on a local machine is too slow.
I have successfully installed wordpress but any request (e.g login,add new post) is too slow.
How can i resolve what's wrong ?
Thank you in advance!
10
votes
4answers
12k views
How to update to PHP 5.3.10 in 10.04?
I'm new to Linux and have only the basic experience with Ubuntu and installing LAMP Server. I've successfully installed all using the "apt-get install" method. My problem is I want to update PHP 5.3.2 ...
1
vote
1answer
1k views
PHP shell_exec() in ubuntu
I am using ubuntu with libreOffice. I have installed unoconv for convert a *.odp file to *.pdf. When i run the command unoconv -f pdf myfile.odp from terminal then it works very fine. I want to do the ...
0
votes
2answers
854 views
Installing php5 gives an error for some unment dependencies!
When I try yo install php5 using
sudo aptitude install php5
I get the following error.
The following packages have unmet dependencies:
apache2-mpm-worker: Conflicts: apache2-mpm which is a ...
3
votes
2answers
3k views
Sending mails with PHP, LAMPP and PostFix
I've been trying for 2 whole days now, and I just can't get the most simple thing to work.
The problem: Sending eMails from PHP to my eMail address does not work
I've been working with Windows and ...
0
votes
2answers
618 views
500 Error on index.php file. All other php files are working well [closed]
I've successfully installed LAMP and created some virtual hosts. Everything is working fine except index.php files.
When I try access them, browser returns 500 Error, regardless of their content. ...
1
vote
1answer
180 views
Custom php version when installing LAMP
Does anyone knows how do we force a php version to be installed when installing lamp via command line? For example I want to php5.1 when installing LAMP.
0
votes
2answers
1k views
Having problems getting LAMP installed
Okay, this is like my fifth time trying to get LAMP set up on Ubuntu, and yes, that includes using XAMPP. (All I want to do is practice my PHP so I can write WordPress plugins! sob Why does the ...
4
votes
2answers
190 views
Have lampp use PHP code in a directory not under /opt/lampp
I have my lampp installed in the default /opt/lampp directory and the PHP code is in the htdocs folder. Now, to edit any of the files I have to use sudo permissions and have to type my password (or ...
8
votes
5answers
2k views
How to have two version of PHP installed and switch easily?
I want to have both PHP 5.2.17 and PHP 5.3.5 installed on my Ubuntu machine and switch as per my necessity. How can I achieve this?
5
votes
1answer
2k views
Manually Start LAMP Server
I setup a LAMP server on my desktop Ubuntu install for testing web applications. How do I set it to only run when I tell it to rather than at startup? It is not used as a production web server but ...
2
votes
0answers
413 views
How to setup LAMP environment? [duplicate]
Possible Duplicate:
What's the easiest way to set up a LAMP stack?
I have been using XAMP in windows for a long time. Recently I have moved to Ubuntu and now want to have a similar ...
0
votes
1answer
185 views
gvim causes apache to return empty page instead of php file [closed]
I have just started using ubuntu 10.10 and gvim. When I modified one php file with gvim, I somehow changed it so apache won't display the file.
The start of the file look like this now:
<?php
...
2
votes
3answers
3k views
How to fix phpMyadmin login?
I've isnstalled phpMyAdmin with apt-get install phpmyadmin. When I open "http://localhost/phpmyadmin/", enter "root" as the user name and my MySQL root password and press go, then if I use Firefox, I ...
4
votes
4answers
3k 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 ...
53
votes
11answers
3k 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 ...
