0
votes
0answers
12 views

Installing xajax on Ubuntu Server 12.04

I am trying to migrate a website over to a new server running 12.04LTS. I have installed php-xajax with apt-get (also tried via the .deb file download from the Ubuntu servers manually). My PHP config ...
0
votes
1answer
21 views

How do I set up a localhost website?

I have created a simple index.php file which I have places in /var/www/ next I changed the permissions of the file with sudo chmod +x index.php I then ran Chromium and typed in localhost to the ...
0
votes
0answers
14 views

Mysql, Apache, Php and phpmyadmin problem [closed]

I wanted to make a Mysql server so I searched and found something on YouTube: http://www.youtube.com/watch?v=ioqa-ZT-WSg The only problem is, I messed the installation up really badly. There were ...
0
votes
1answer
22 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 ...
1
vote
2answers
570 views

can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

I just installed appache, MySQL and PHP, suring my installation, I was prompted for a MySQL root user password, but when I start my MySQL, it pops the error, and I just can't seem to find a way around ...
0
votes
1answer
26 views

Set up PHP and Django Virtualhosts on a single Apache2 Server

Here is the problem: I want to host several development projects in Zend, Drupal, and Django on a single Apache2 server. While I have had this working in the past, the method of getting it to work was ...
0
votes
0answers
32 views

vhosts Document Root path query

Not sure where to post this really, as it could be PHP specific or more for Superuser. I've just moved my testing environment into a VirtualBox running Ubuntu Server 12.04. Works like a dream apart ...
1
vote
0answers
20 views

Can I change to lighttpd without problems?

I've purchased some new 'cloud hosting space' with VMs running 12.04.2 server. I'm looking for a LAMP stack, but I'm considering switching out Apache for lighttpd - for the speed and resource-usage ...
0
votes
0answers
38 views

Cannot display php files on my localhost site

I have Ubuntu 12.04(32-bit) installed, apache2 [ Server version: Apache/2.2.22 (Ubuntu) ] , mysql[ version : 5.5.31-0ubuntu0.12.04.1 ] , phpmyadmin [Version information: 3.4.10.1deb1] installed on my ...
-1
votes
0answers
42 views

php jquery and ajax in mozila [closed]

Does anyone try to work with jquery ajax and php in mozila's browser? And get the same result, when try to get some result from php file with jquery: RESULT THAT IT DOES NOT WORK? If someone knows ...
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
1answer
48 views

How to call php or apache to render a page from the command line?

I am running apache2 as a web server. I have a local file, example.php, which I need to see as rendered by apache. The easiest way to do this would be to move or link the file to the folder apache ...
0
votes
0answers
11 views

php script kills rest of the page when it is included

ok, i work with php and, i created file that collects all of data from database for user with the $_SESSION['email'] but, when i try to represent data for that user, it works in that file, also if ...
0
votes
0answers
47 views

Cannot display test site for php

I installed Lampp from this: sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server phpmyadmin php5-curl Server Apache work but I have problem with display test.php in browser. My ...
0
votes
1answer
71 views

What's wrong with PHP 5.4.6 and what can I do about it?

I recently installed Ubuntu 12.10 server with the stock version of Apache2, PHP and MySQL. Something is wrong with PHP - first I thought it was an issue with PHP Markdown, as the script came to a ...
0
votes
1answer
40 views

How to set up apache user and group to current?

When i trying to install some CMS it couldn't create config files because apache user is different. On OS X i solved this problem by adding user and group inapache2.conf, but on Ubuntu i can't figure ...
2
votes
1answer
54 views

How to prevent caching of php files?

After removing varnish cache from local server I noticed strange behaviour of Apache server. When ever you update a php file and try to open it in a browser old response is shown, CTRL + F5 does not ...
0
votes
0answers
97 views

Unable to produce core dump for apache running php as module

My php code causes intermittent crashes with php-5.4.12 as apache module (from Ondrej PPA) on 12.04. After while of searching I decided to get a core dump and investigate further but I'm unable to get ...
0
votes
1answer
103 views

Compiling php 5.2 from source under 12.04, apxs2 (via libtools) ignores the -prefix used with ./configure

In the source directory: ./configure --prefix=/home/ashkan/Development/php/bin/php-5.2 --with-mysql --with-apxs2=/usr/bin/apxs2 make works fine but make install says: Installing PHP SAPI module: ...
1
vote
1answer
68 views

How to enable Multiviews in Ubuntu 12.10

https://help.ubuntu.com/12.10/serverguide/httpd.html It said that: Multiview - Support content-negotiated multiviews; this option is disabled by default for security reasons. How to enable ...
0
votes
1answer
50 views

Can someone make this modx .htaccess file work for me? I am trying to make friendly URLs work

I now have my ModX install working but am unsure how to edit my htaccess file so my friendly urls (trying to alias pages) can anyone help? If you can a copy of my htaccess can be found at ...
0
votes
1answer
51 views

How do I change the timezone on PHP5 for Apache?

Ok I have a VPS running Ubuntu Server 12.10 32Bit and I need to set the timezone in my PHP.ini file so my PHP Script's time and date features will work (I am trying to setup ModX) I have tried to go ...
0
votes
0answers
330 views

Install php 5.3.10 in ubuntu 12.04

I have been trying to downgrade the php version from php 5.4 to php 5.3. I tried removing php5, purging php5 and then reinstalling using "apt-get install php5=5.3.6-13ubuntu3.6", but it did not help, ...
0
votes
2answers
106 views

Error 504 while accessing a php page from Internet

I'm trying to access to a test website from Internet but I mostly get 504 errors. Any php pages take long time to show, when they show. My web server is an Ubuntu Server 12.10 on a virtual machine ...
2
votes
2answers
1k views

Unable to set password for the mysql “root” user

I am new to Ubuntu. I am running Ubuntu 12.10. I am trying to install apache,php,mysql. However I have installed apache and it is running perfectly. sudo apt-get install apache2 But when I tried to ...
0
votes
2answers
63 views

Erased root trash but still getting no memory

I was coding my site on Apache Server. Suddenly an error came and I got the warning This computer has only 1.3 GB remaining. I knew that this was because of the log file in ...
0
votes
0answers
69 views

short_open_tag not working

Yesterday I installed php5 and apache2 webserver on Ubuntu (12.10). I don't know why the short_open_tag (/etc/php5/apache/php.ini) does not work properly. I have already changed it to Off as per ...
1
vote
0answers
40 views

Intermittent slow intranet

I have a Linux server (Centos 6.2) running apache2, Mysql and PHP. Everything runs fine when accessing a page from any browser (all clients are ubuntu 12.04) but begins to get slow after say about 2 ...
1
vote
1answer
146 views

ubuntu server: can't access apache hosted pages after changing ip

I moved my server to a different office. Since they wanted to access it, I joined their network by changing my server's IP. The server hosts LAMP + postgres. Now I can't get the basic web apps to ...
0
votes
0answers
16 views

How to install Bonefire on Lamp. i have an error : /install/account was not found on this server

While installing Bonefire on Lamp , Ubuntu 12.10 i have this error message after clicking on test database: /install/account was not found on this server. the full error : **Not Found** The ...
1
vote
0answers
121 views

XAMPP ORACLE 11g

I have downloaded XAMPP for Linux. Have installed it. It works fine. But I have problem with oci8 extension. I have downloaded oracle instant client for linux and extracted it to /opt/lampp/lib. Then ...
0
votes
1answer
388 views

Symfony2 - Apache vhost for app_dev different port

As I'm using url rewriting to access my Symfony2 application, it is directly available from http://my_application.my_domain.net Now I'd like to be able to access the dev environment simply using a ...
-1
votes
1answer
62 views

Allowed Memory Size of x Bytes Exhausted [closed]

am getting the follwoing error : Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 7680 bytes) in /home/*/public_html/index.php on line 14 what i did trying ...
0
votes
2answers
231 views

installing apache2, php5, mysql, phpmyadmin

I used the following commands sudo atp-get install apache2 sudo apt-get install mysql-server sudo apt-get install php5 sudo apt-get install phpmyadmin sudo /etc/init.d/apache2 restart after ...
0
votes
1answer
90 views

unable to display index.php

I'm trying to load a website I've development and transferred from windows to ubuntu. I've installed apache2/php5/mysql and I've confirmed that it works by using the default index.html file displaying ...
0
votes
2answers
181 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
98 views

PHP `virtual()` with Apache MultiViews not working after upgrade to 12.04

I use PHP's virtual() directive quite a lot on one of my sites, including central elements. This worked fine for the last ~10 years -- but after upgrading to 12.04 it somehow got broken. Example ...
1
vote
2answers
253 views

500 Error on index.php file

I have found a question very similar to this, which I thought would solve my problem. However, after changing my .htaccess file, with index.php on the end of the list, and then index.php as the only ...
1
vote
1answer
225 views

Installing apache , php and mysql on ubuntu 8

I want to install php, mysql and apache on my ubuntu , I tried all tasks but I can not do it. there is no package php, apache or mysql please help me
0
votes
0answers
174 views

How to install PHP 5.4 as CGI next to PHP 5.3 as Apache module

I am developing on PHP 5.3 version branch which is installed from the default packages as Apache module. Now I would like to install 5.4 as CGI module, to be set for single directories on my test ...
0
votes
1answer
306 views

Change permission for ALL folders and files [duplicate]

Possible Duplicate: How to avoid using sudo when working in /var/www? I've been around Ubuntu for not too long now and I'm getting tired of a thing I used to accept. When I installed Apache ...
1
vote
0answers
517 views

Problems starting Apache2 on Ubuntu 12.04.1 LTS

I recently installed Ubuntu 12.04.1 on my EC2 Micro instance and then installed Apache2 and PHP5. I am now having trouble starting Apache2, I've checked the error logs and here's the result: [Sun Oct ...
0
votes
1answer
257 views

php.ini shows “magic_quotes_gpc = Off” but phpinfo shows it as 'On'

I am installing Joomla. It reported that magic_quotes_gpc is switched on so I went to check out php.ini. In there it's showing as off. I did a bit of googling and it turns out the server could be ...
1
vote
1answer
518 views

Apache / MySql is not running. What is wrong?

I installed lampp / xampp on my Ubuntu 12.04. After installing, Apache and MySQL were running properly. Now, they're not. Here's what I get when I try to run apache: Command: /etc/init.d/apache2 ...
1
vote
1answer
82 views

I have no extension=* statements in my php.ini yet they load. How?

How are my php extensions loading if there are no extension=* statements in my php.ini? Does it just automatically load everything in my /conf.d/ directory? I can even find the path to /conf.d/ ...
1
vote
1answer
402 views

How to encrypt php folder under /var/www?

I need to encrypt the folder /var/www/test. The folder contains PHP files. The goal it to prevent any user to read the php content AND if the HD is mounted on another computer, the /var/www/test ...
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 ...
1
vote
1answer
186 views

How would I know if my OS is compromised?

I had opened a php folder from a friend's web host. I run it on mine to fix some bugs. Then I tried attaching the code to be emailed and GMAIL stated that the attachment was infected by a virus. Now ...
0
votes
1answer
455 views

Can't install libapache2-mod-php5

When I try to install libapache2-mod-php5, I get an error: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable ...

1 2 3