Software :: After Install LAMP The Apache2 Can't Access Php Files

Feb 24, 2011

After install LAMP, apache2 can't access php files; I can see the info from the phpinfo(); but when I create a php file in /var/www and try to access the file (via web browser), the page is blank. If I change the extension to html I can acces without problems. I checked everythig but I can't understand why any web browser access a blank page. Nothing appears when I'm cheking the error.log file (apache2)

View 12 Replies


ADVERTISEMENT

Ubuntu Servers :: Cannot Access Files / Folders In Www Directory / LAMP

Jan 21, 2010

Just installed lamp, I can access phpmyadmin mysql is set up and everything. When I try to view a directory [URL] I get an access denied error.

EDIT: I changed the permissions of the "folder" folder itself, I can access everything in that directory now but not any other folders in it. Do I really need to go through every folder every time and change the permissions?

View 4 Replies View Related

Ubuntu Servers :: Apache2 Cannot Access Image Files

Nov 12, 2010

I have installed LAMP server, I cant access any image files though Apache2.

All other, text document are showing, html, and php etc.

View 1 Replies View Related

Ubuntu Servers :: Uninstalling Apache2 From Lamp?

Aug 25, 2010

Basically I've made a right **** up of my apache2 configuration and I just want to un-install apache2 and re-install so I can start again.

I've done research on this but the guides have always been for people installing using "apt-get" or "rpm" packages. I've tried these methods but nothing has worked.

The way I installed lamp was from selecting it in the different options when installing ubuntu-server from disk.

Is there any way I can do this through the terminal and not through synaptic, only reason being is that I'm ssh'ing across a local network.

View 2 Replies View Related

Ubuntu Servers :: LAMP Apache2 Starts And Stops Well But No Website

Nov 17, 2010

I have a small network of an Ubuntu server 10.4 , Debian server, Win XP, and an ubuntu desktop 10.4. I have configured a DNS server and DHCP server successfully on my ubuntu server, also a slave DNS server on Debian. I recently configured apache2 as part of LAMP on ubuntu server, but when I type my ServerName in the URL of my Win XP browser, I get this response: The webpage "mansour.net" cannot be found DNS error occurred. Server cannot be found. The link may be broken.

I have an A Record in my DNS zone file for mansour.net and have that as my ServerName in apache2 Definition file, but I don't know why it is not working. I am trying to learn to install and configure various servers on ubuntu.

View 8 Replies View Related

Ubuntu :: 10.10 LAMP Workstation Setting Internet Access?

Feb 9, 2011

I have a Ubuntu 10.10 LAMP workstation and it's working good. I need people to see it from the internet. I assigned an IP address to it and added it to the DMZ list it in the router. My friend can't see it at all from his location. What should I do now? I can see it on my local network OK. I don't want to switch my domain over to it until I can see if from the internet.I gave him my external IP address to try to connect to the system. My external IP is 76.89.114.72

View 7 Replies View Related

Ubuntu Servers :: LAMP Setup With Limited Access To Users

Mar 9, 2010

I'd like to setup an Ubuntu LAMP server, and provide limited access to it for our in-house web developers/designers. I'm not quite sure how to go about the permissions side of things. Which user/group should "own" the /var/www directory? Is it www-data?

How do I create user accounts (for our developers) that have access to the /var/www directory - do I create accounts then add them to the www-data group? Or should I make a special 'webdev' group and give it access somehow?

View 5 Replies View Related

Fedora Installation :: Unable To Access Localhost On Webbrowser After Installing LAMP?

May 1, 2009

I did everything and restarted my machine, everything seems to be ok. But when i type in my IP on the browser which is 10.0.11.25 which would be the localhost machine, i get this below:

Code:

ERROR The requested URL could not be retrieved

While trying to retrieve the URL: [URL] The following error was encountered:

* Connection to 10.0.11.25 Failed

The system returned:

(113) No route to host

The remote host or network may be down. Please try the request again.

View 2 Replies View Related

OpenSUSE :: Run LAMP In A Virtual Machine And Access The Web Server Via A Browser On The Host?

Aug 31, 2010

How can I run LAMP (Linux, Apache, MySQL, PHP) in a virtual machine (Ubuntu in virtual box) and make it so the web server is accessible locally (and ONLY locally) on the host OS via an ip address?

View 3 Replies View Related

OpenSUSE Network :: Port Forwarding & Samba Access For An Apache Lamp Server?

May 23, 2010

How do you configure the firewall to allow external web access (it's a LAMP server) and internal access for samba shares ?

View 6 Replies View Related

Ubuntu :: Lamp Cannot Find Files

Feb 15, 2011

i have isntalled lamp following these isntructions : [URL]

however i cannot access my web content when i have put it in the WWW folder.

View 4 Replies View Related

Security :: Apache2 Access Restriction In Location

Jan 22, 2010

I've got this in my Apache2 config (on a Ubuntu 9.10 server):

Code:
<VirtualHost _default_:443>
DocumentRoot /srv/svn
<Location /repos>
DAV svn

[Code]....

When I comment out the "allow from" line, I have no access to this server at all, but when "Allow from 127.0.0.1 172.23.120" is activated, I can also access that location from other IP's (I can even access it from the internet).

What I really want is access limited to the IP's in "Allow from" because I don't want anyone accessing our subversion repo's from anywhere else.

View 5 Replies View Related

Server :: Cannot Access /var/log/apache2/*: No Such File Or Directory

Aug 24, 2009

I am trying to access log file which located in /etc/log/apache2. I could get into the directory using `su`. I was able to run ls command under the directory and everything was file. I could run a command,

ls -d /var/log/apache2/*

However after I switched to my account, I got an error. sudo ls -d /var/log/apache2/* ls: cannot access /var/log/apache2/*: No such file or directory

I want to use this command in a bash script to get a list of log files. Should I write the script as root and run it as root?

View 3 Replies View Related

Ubuntu Servers :: Can't Access Virtual Host (apache2)?

Jan 24, 2011

I've just installed LAMP. http://localhost/ page works fine. I need to create some virtual hosts. Localhost page is situated in /var/www/. It's normal for me, and I wanted to created virtualhost (in /var/www/vhost1) But it doesn't open in browser. Where is my mistake?

/etc/apache2/ports.conf
Code:
NameVirtualHost *:80
Listen 80
<IfModule mod_ssl.c>
# If you add NameVirtualHost *:443 here, you will also have to change
# the VirtualHost statement in /etc/apache2/sites-available/default-ssl

[Code]...

View 7 Replies View Related

Software :: Apache2 Remote Access Configuration Query?

Jan 22, 2010

I have some perl Web Interfaces for some project tools running on a Linux (Ubuntu) machine, they're in the /var/www directory and I want to view them from other computers on our network.

I have backed up then edited the /etc/apache2/sites-available/default file from:

</Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny

[Code]....

View 2 Replies View Related

Ubuntu Servers :: Apache2.2 Denies Access To Home Folders?

Jan 14, 2010

I configured my apache2. On my Intrepid I had apache2.0 while on my Karmic I have a apache2.2. Aftere configuring I tested it and got a an error page when I tested it in my web browser. I looked into the log file that showed the following error "[client 127.0.0.1] (13)Permission denied: access to /my_dir/ denied".

It appears apache2.2 can't access directories in my home folder. File system rights for the files and folders are correct. There is no AppArmor profile for Apache. User settings in "/etc/apache2/apache2.conf" file are correct. The inaccessible folder in "/etc/apache2/sites-available/default" looks as follows:

[Code]...

A trick using symbolic links didn't work either. On my previous Intrepid with Apache 2.0 my pages worked like a charm. Now on my current Karmic (before apache2.conf was pre configured, now it's not) with Apache 2.2 my pages are wrecked. how I can make Apache2.2 access folders in my home folder and which settings are needed in default file for that?

View 8 Replies View Related

Server :: Uninstalling LAMP Components - Various Config Files And Made The Setup Unusable

Mar 22, 2011

I am slowly learning Linux by bringing up a server. Using tasksel, I installed the LAMP-server, which went fine. Now, however, I have mucked about with various config files and made the setup unusable. I'd like to do uninstall all of the LAMP packages and do a clean (and more thoughtful) install. Here's the problem: tasksel returns an "aptitude failed (100)" error. I have search various forums and all of the help related to this error (which I can't actually find *explained* anywhere) is related to installing packages. I tried them anyway, without success. man pages and the stack of manuals I have don't seem to be of much help either.

- describe what the error message means?
- a way to remove the packages or the config files by hand?

View 3 Replies View Related

OpenSUSE Network :: Apache2 Not Processing Php Files

May 6, 2011

I'm running apache2 and I installed php5 with yast. httpd2 -M states that php5 is loaded. /etc/apache2/conf.d/php5.conf is being included in httpd.conf and it contains:

Code:
<IfModule mod_php5.c>
AddHandler application/x-php .php
AddHandler application/x-httpd-php .php4
AddHandler application/x-httpd-php .php5

[Code]....

The first line was added by me since that's what mime.types actually contains.

php.ini is in /etc/php5/apache2 and since I was not sure apache/php was finding it I added a PHPIniDir "directive" into httpd.conf. I have not changed it.

Test file is the typical /srv/www/htdocs/info.php with <?php infophp(); ?>

Normal index.htm is working fine. php -a is working fine.

I spent a long afternoon around this configuration and I looked in plenty of pages for solutions. I only do occasional system administration so I might have easily overlooked something trivial, but I run out of ideas.

There is a thread in this web site with a similar problem but no solution:

Php5 not recognized in SUSE 10.2 Apache2

What could be missing/wrong if php5 is loaded and the addhandler is defined? How can I further test?

View 9 Replies View Related

Ubuntu Servers :: Apache2 Log Files Not Rotating?

Mar 29, 2010

I can't get my apache2 log files to rotate on an Ubuntu 8.04 64-bit server install.

Does anybody know of logrotate creates an error log somewhere by default?

Here's my /etc/logrotate.d/apache2 file if someone has any insight if I am doing something wrong.

/var/log/apache2/*.log /var/log/apache2/portal/*.log {
weekly
missingok
rotate 52
nocompress

[Code].....

View 9 Replies View Related

Ubuntu Servers :: Apache2 - Cannot Parse PHP Files

May 5, 2010

I have apache2 installed along with php5 and mysql5.0. I have installed them by themselves along with just installing the full LAMP install through terminal. My problem is that I cannot parse php files, it will just download them instead. I did change my apache server to nick/projects (nick is my username). If I navigate to localhost/index.html it works fine but will not parse the php files I have put there. I also have rails working fine in that folder too using apache2.

View 7 Replies View Related

Ubuntu :: LAMP Server "forbidden" And Home Folder Access?

Sep 24, 2010

Instead of doing this by actually changing the apache directory, I simply put in a symlink from the WWW directory.This worked many times, but today, under Maverick, I got the following error : "Forbidden You don't have permission to access / on this server."I spent a LOT of time on the web trying to solve this error and in the end, it got solved simply by enabling permissions "access" to "others" direclty on my home folder (because my Dropbox folder is, of course, within my home folder).However, I have no idea if this is a good idea. Does this mean that simply anyone could access any file on my computer ??Alternatively, does anyone know how I could proceed to make this LAMP server work WITHOUT having to change my Home directy permissions this way ?

View 1 Replies View Related

Debian :: Apache2 Doesn't Start With Log Files Save To RAM?

Dec 12, 2010

I have apache2 running under debian squeeze on a Seagate DockStar of a USB flash drive. To reduce the wear on the USB stick, I want to move all log files to RAM. What I did was to update create an entry in /etc/fstab to mount /var/log to tmpfs.Things seems to work except apache2. y start apache2, it complains aboutStarting web server:apache2(2)No such file or directory: apache2: could not open error log file /var/log/apache2/error.log.If I create the file, apache2 starts fine. Is there a step or two I am missing so I don't need to do this every time I reboot

View 1 Replies View Related

Ubuntu :: Does Apache2 Have A Way To Automatically Delete Temp Files

May 1, 2010

I have a PHP script running on my website that can generate temporary images, but if I clean them up right away, then the browser doesn't have time to render them.Is there some way to make Apache2 delete them after 5 minutes or so?

View 3 Replies View Related

Ubuntu :: Does Apache2 Have A Way To Automatically Delete Temp Files?

Aug 14, 2010

I have a PHP script running on my website that can generate temporary images, but if I clean them up right away, then the browser doesn't have time to render them. Is there some way to make Apache2 delete them after 5 minutes or so?

View 1 Replies View Related

OpenSUSE :: .rpm Files Wont Install At All - URL Access Error

Jan 4, 2011

Every time I try to install something, I get an error message saying : Cannot access installation media hd:///?device=/dev/sdb1 (Medium 1). Check whether the server is accessible. Show details says : Empty destination in URl: hd:///?device=/dev/sdb1. What I gonna do? I'm new to Linux. Is it a NTFS access problem or something like that?

View 5 Replies View Related

SUSE :: Apache2 Reload Error Cannot Load /usr/lib64/apache2/mod_dav_svn.so Into Server?

Nov 19, 2010

I have suse10 64 bit installed. I am setting up a svn server on it. After installation and adding the modules ,while reloading the apache2 it's throwing the error as: HTML Code: httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server

View 9 Replies View Related

Debian :: Apache2 Start Error Starting Web Server: Apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost?

Dec 9, 2009

I am getting this error

Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 68.178.232.100:80
no listening sockets available, shutting down Unable to open logs failed!

also what is 68.178.232.100

View 1 Replies View Related

Ubuntu Installation :: Reinstall Apache2 - Recreating Config Files

May 11, 2010

I've deleted /etc/apache2 and did run:
Code:
sudo apt-get -o DPkg::Options::="--force-confmiss" --reinstall install apache2.2-common
to get the default config back.

But starting the server via:
Code:
sudo /etc/init.d/apache2
results in:

Code:
Syntax error on line 161 of /etc/apache2/apache2.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
line 160-163 look like this:

Code:
<Files ~ "^.ht">
Order Allow,Deny # line in question
Deny from all
</Files>

The funny thing is that the exact same definition is in a debian lenny server config on another server. So why did this install a not working config?

I just removed apache2 via:
Code:
sudo aptitude remove apache2
sudo rm -r /etc/apache2
and reinstalled it via:
Code:
sudo aptitude install apache2
which also did not fix the config bug?

For testing I installed apache2 on another ubuntu 9.10 and did just copy the folder /etc/apache2 to my local installation - this fixed the problem. Still, why cant I reinstall apache2 with a working config?

View 8 Replies View Related

Server :: Apache2 And Frontpage Support - Can't Find The Correct Files?

Jun 28, 2011

i want to ask for a guide how to install frontpage extensions on apache2 , i searched a lot but i can't collect the pieces , in the most cases i can't find the correct files..

View 5 Replies View Related

Fedora :: Install .bin Files Getting Error Installer.bin: Access Denied?

Apr 4, 2010

I have same problem with *.bin files.When I try to install software from *.bin file I see error:

Code:
[andrew@notebook Programming]$ ./installbuilder-qt-professional-6.3.0-linux-x64-installer.bin
bash: ./installbuilder-qt-professional-6.3.0-linux-x64-installer.bin: Access denied
[andrew@notebook Programming]$
When I run command ls -la I see this:

Code:
[andrew@notebook Programming]$ ls -la installbuilder-qt-professional-6.3.0-linux-x64-installer.bin
-rwxrwxrwx. 1 andrew andrew 82624164 Апр 4 16:39 installbuilder-qt-professional-6.3.0-linux-x64-installer.bin
[andrew@notebook Programming]$
This error exist if I try to install this application with root access. What I mast do for fix this error?

P.S. I have Fedora 12 x86_64 on my notebook ASUS M51Sn.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved