Ubuntu :: Can't Seem Php5 Work With Apache2

May 12, 2010

I can't seem php5 work with apache2. I am getting the text openning instead of php. I think this is infamous problem, found many suggestions adding AddType application/x-httpd-php .php, did that in/etc/apache2/apache2. conf and /etc/apache2/httpd.confwith no luck, it's still opening text

View 6 Replies


ADVERTISEMENT

Ubuntu Servers :: Apache2 + PHP5 And Fileuploads Via POST - 1GB

Feb 22, 2010

my server :

ubuntu jaunty 9.04 32bits
apache2 2.2.11-2ubuntu2.5
php5 5.2.6.dfsg.1-3ubuntu4.5

I have a problem uploading large files : from 0 to 1 048 576 000 octet (1000mega) : OK greater... KO... i mean even no file uploading temporaly in /tmp I have tried using "jyraphe" or "openupload" in the server part and from mozilla or IE in the client part.... always the same thing...

php.ini :
post_max_size = 5G
upload_max_filesize = 5G

I even set "LimitRequestBody 10000000000" in /etc/apache2/sites-available/default thinking the default value (not set OR 0) didnt work but...

View 4 Replies View Related

Ubuntu Servers :: Seg Fault With Apache2 (SSL) And PHP5-Curl

Jun 3, 2010

I'm trying to run apache2 with mod_ssl and php support and I need curl too. When php5-curl is installed apache doesn't work with ssl and I've got this one in error.log:

Code:
[Thu Jun 03 10:00:39 2010] [notice] child pid 26013 exit signal Segmentation fault (11)
[Thu Jun 03 10:00:39 2010] [notice] child pid 26014 exit signal Segmentation fault (11)

It's strange because it works well without ssl. The problem occures only when I'm trying to access and SSl page, doesn't matter if it's a html page or php file. I'm using Ubuntu 10.06 Desktop version which is x64. Below are the packages which I've got installed related to apache php and curl. I successfully compiled php5 from source, but the problem still exists so probably it's somewhere in apache?

View 7 Replies View Related

Ubuntu :: Cannot Install Mysql, Php5 And Apache2 Server On 10.04?

Aug 4, 2010

currently I am using Ubuntu 10.04.I want to install mysql, php5 and apache2 server in my machine. I have tried this- aptitude install mysql-server mysql-client

But the outcome is
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done

[Code]...

View 2 Replies View Related

Ubuntu :: Apache2 Server Configuration With MySQL And PHP5

Jul 2, 2009

I am new to linux. Currently I am using ubuntu 8.10 desktop operating system. As part of my academic project. I need to configure webserver to access from external. I installed all these using apt-get packages but when it comes to configuration. I am really not understanding. I read some documentation about this configuration but I couldn't get and fully in confused. I formatted my machine 3 times. When I tried to use localhost in firefox its working fine.

1. I need to change port from 80 to 7574. In port.conf I changed, in place of 80. I kept 7574. After that I restart and tried to access but its not working.

2. My admin provide to me. 7574 port to route it into my machine. When the user hits for suppose:
59.160.188.190:7574/project/route.html
It should goes to:
192.168.202.236:7574/project/route.html
Project folder is in /var/www
I wrote the form, to update user vehicle details. They can able to update their details in mysql server from any where.

3. Just I need the application user can access my files and update from their desktop by using path:
59.160.188.190:7574/project

How to update user details (there is no login form is directly visible to every one) in server from their desktop. What I need to configure.

View 1 Replies View Related

Debian Configuration :: Can't Get Php5 To Run In Apache2 Userdirs (Squeeze)

Aug 11, 2010

I'm running an up-to-date install of Squeeze, and I'm having an annoying issue where php5 won't parse in userdirs (/home/*/public_html), although it works fine in the main document root (/var/www). I found this bug: [URL] Which seems to say the issue is fixed. However, the last comment for this bug suggests it is still an issue for some.

I've had a look at: /etc/apache2/mods-enabled/php5.conf and commented out the lines suggested in the comment:

[Code]....

..and it still doesn't work. I've googled this and can't find an answer. Anybody know? Am I missing something simple?

View 1 Replies View Related

Server :: PHP5 And Apache2 Parsing Code But No Output?

May 2, 2010

I have apache 2.2.3 installed with php5 and libapache2-mod-php5. The server displays web-pages fine, but when I try to load a .php file, nothing shows up. There aren't any errors, not in the browser and not in the Apache2 error logs... just nothing shows up. When I look at the page source on the browser, all the HTML code is there, but all the PHP code is gone, as though it was parsed. I can't get any output to show up though, echo and print both do nothing.What could be the problem?Example:

Code:
<html>
<body>

[code]...

View 7 Replies View Related

Software :: Apache2 Won't Serve Php5 In Home Directory?

May 21, 2010

Running Ubuntu 10.04

Installed apache2 and php5 and it works in /var/www

but once I point it to a home directory it won't serve php. Normally I have used phpcgi but I am currently trying to use regular php.

Here is my default file.

Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home/greensmoothiegirl/public_html
<Directory />

[Code]....

View 4 Replies View Related

OpenSUSE :: Php5-mbstring Don't Work

Nov 5, 2010

There are installed software:

SuSe Linux 10. Linux version 2.6.16.21-0.8-smp
php5 - PHP5 Core Files Installed Version 5.3.2-28.1
php5-mbstring - PHP5 Extension Module, Installed Version 5.3.2-28.1

But php5-mbstring don't work. The command php5 -m and phpinfo() show that a extension php5-mbstring not present, but in the Yast2 this extension installed (Installed Version 5.3.2-28.1)???

View 6 Replies View Related

Ubuntu Servers :: Use PHP5.2 Instead Of PHP5.3?

May 3, 2010

I'd like to use PHP5.2x instead of PHP5.3x on my Ubuntu 10.04. There is a small bug in Drupal where tweaking Views causes an error which seems to be associated with php5.3.

So, how would I regress to using 5.2x on Ubuntu?

View 1 Replies View Related

Ubuntu :: Getting CGI To Work In Apache2 Server

May 12, 2010

I'm running 10.04 with Apache2/PHP5.x I wanted to test some basic cgi scripts, but my browser is displaying the code (#!...) If I run the scripts on the console, they work fine so CGI is not the problem, it's apache. To install the CGI module I ran sudo apt-get install libapache2-mod-perl2 with no problems. By the way, I installed Apache through apt-get instead of doing it manually, but it seems that the installation divides the conf file in different parts, so the regular apache2.conf has this:

Code:
# Include module configuration:
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
# Include all the user configurations:
Include /etc/apache2/httpd.conf
# Include ports listing
Include /etc/apache2/ports.conf
[Code]....

I can't figure out what I need to do to get CGI working on my server.

View 9 Replies View Related

Ubuntu Servers :: Apache2 - HTAccess Will Not Work

Feb 9, 2010

I'm a newb when it comes to linux operating systems so I'm attempting to get better through experience. I work for a web development company and we use Ubuntu for our operating systems (the programmers at least). Anyways, I'm trying to install LAMP services and get them working. I have all L.A.M.P. services installed... but Apache2 is giving me a problem. I have an .htaccess file installed in a directory under my document root. But Apache2 is not interpreting it. I have AllowOverride All on but I can't figure it out. I did make a bogus .htaccess file attempting to make apache give me a error, nothing.

View 2 Replies View Related

Ubuntu :: Apache2 Options Indexes Does Not Work?

Mar 27, 2010

I'm running 9.10 and apache2.I have a virtual hostThis works. I'm trying to share some files in a directory: added this in the virtualhost section:

<Directory "/var/www/hindbrain/test">
Options Indexes MultiViews +FollowSymLinks
IndexOptions +FancyIndexing

[code]....

View 9 Replies View Related

Ubuntu Servers :: Apache2 Alias Doesn't Work

Nov 29, 2010

I'm trying to set up 2 aliases with PHP files in it. But in both cases I get a 403 Forbidden error. This is what the /etc/apache2/conf.d/alias file looks like:

[Code]....

View 9 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

General :: Error While Starting Apache2 / Syntax Error On Line 113 Of /etc/apache2/httpd.conf?

Nov 19, 2010

I have suse10 64bit and I was setting up SVN server on it. After all required setup while reloading apache2,its giving the error:

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 6 Replies View Related

OpenSUSE Network :: Apache2 - Server Doesn't Work And Say's "No Database Selected"

Oct 17, 2010

I broke my apache server. I went into the Yast administrator / HTTP Server and enabled the "rewrite" module. The server stopped working so I went back in and disabled it. Now the server still doesn't work and when I try browsing to any of the sites on it all I see is a page that says "No database selected" for any sites using databases. For static sites I get a 404 error. I broke rule #1 and didn't have back-up configuration files so now I'm stuck. What could the Yast module have done to my configuration files? I have restarted apache several times and even re-booted the computer.

View 3 Replies View Related

Software :: Apache2 Multiple SSL Vhost In Different Vhost Files, Does Not Work

Sep 24, 2010

I have two sites (actually more) configured in apache2. All sites have their own vhost file, which I enable or disable with a2enmod or a2dismod.

This works fine.

I have configured some SSL sites inside the vhost files, where I have created two different certificates. One for each site.

BUT, if I enable example2.com, it will always load the certificate from webmail.example1.com when i go to the ssl site webmail.example2.com, nomather what (because it comes first in the alphabet maybe) ?.

If I then uncomment the SSL site for example1.com if will work fine with webmail.example2.com, but of course then the site for webmail.example1.com is not working since it is uncommented.

So for some reason, it "falls back" to this site webmail.example1.com everytime, which I have absolutely no idea why it does this. All the other vhost running on port 80 configurations, works fine, but just not the SSL (port 443 ones).

Example1.com:

Code:
<VirtualHost *:80>
DocumentRoot /home/example1com/wwwroot/
ServerName www.example1.com:80
ServerAlias example1.com:80

[Code].....

View 2 Replies View Related

General :: Configuration Error In Apache2 / "cannot Adjust Apache2 Service" Error?

Mar 11, 2011

Installation of SUSE 11 server now when I try to configure apache2 (opening port 80) I get a "cannot adjust apache2 service" error??? Can anyone shed some light on this.

View 1 Replies View Related

Ubuntu :: PHP5 Not Working Out / Resolve This?

Aug 5, 2010

Ok so I have:

a)apt-get install apache2

b)apt-get install php5

c)placed a php test file into my var/www folder

d)go to 127.0.0.1 in my browser and all I see is a blank page, when I should see the php info page.

So what the heck is wrong here? I figure it's just something I'm too noob to know, yet I can't find anything about it on the net...

View 2 Replies View Related

Ubuntu :: How To Install Php5.2.6 In 10.04 Server?

Jan 27, 2011

I have a ubuntu10.04 server 64bit, my application can under run under php5.2.x. So there anyway i can install the php5.2.x in ubutnu 10.04 without the need to source compile?

View 1 Replies View Related

Ubuntu :: Etc/php5/cli/php.ini - Will Not Display Errors

May 6, 2011

etc/php5/cli/php.ini and in the apache2 folder

View 1 Replies View Related

Ubuntu Servers :: PHP5 Can't Reach From Outside LAN?

Jun 23, 2011

I have just installed ubuntu Server with Apache2, PHP5, MySQL and PhpMyAdmin.
Everything works fine when I access the server on the LAN. I have forwarded port 80 in my router to the LAN ip of this server. (I have other windows based web servers so I am familiar with port forwarding) however when I try to access the server from the true static IP outside the LAN I cannot reach it and the connection just times out with the Ubuntu server connected if I use canyouseeme it says port 80 is closed. If I replace the Ubuntu server with another server I can reach this just fine from outside and canyouseeme says the port is open. So I am pretty darn sure the router is correct and that there is some config problem with the Ubuntu box, but I cannot find it. the ports.conf file has listen 80 in it and the apache2.conf includes the ports.conf file.

View 2 Replies View Related

Ubuntu Servers :: Php5 Installation Directory

Jun 9, 2010

I have installed LAMP on ubuntu server 10.04. where can i find the installation folder...the extension folder and so on ? i tried the command locate php but it didnt return the path i wanted.

View 2 Replies View Related

Ubuntu :: Install Php5-curl To Use Magento?

Oct 25, 2010

I already have php5 installed but when I try to install php5-curl to use magento I get this message,The following packages have unmet dependencies: php5-curl : Depends: php5-common (= 5.3.3-1ubuntu9) but 5.3.3-1ubuntu9.1 is to be installed E: Broken packages. Is there anyway around this? I'm using Ubuntu 10.10 desktop.

View 2 Replies View Related

Ubuntu :: PHP5 And Apache Installed - Do I Need Firewall?

Oct 26, 2010

I'm doing some light web development, I installed php5 and apache on my laptop and read that when running apache your computer is technically a server and is thus vulnerable to computer wankery. I'm looking for advice on whether or not I should install a firewall or if I don't really need it. The work I'm doing is not a professional website, just a place for some experiments. All the info I found on the web was targeted to professional web-developers, not so much for amateurs like myself. What do you think?

View 6 Replies View Related

Ubuntu :: Upgrade To 10.10 Stuck On Libapache-mod-php5

Nov 7, 2010

I decided to upgrade from 10.04 to 10.10 and now upgrade manager is just sitting there saying "About 1 minute remaing" with "Setting up libapache-mod-php5 (5.3.3-1ubuntu9.1) ..." in the terminal.

There is not disk or processor activity.

View 1 Replies View Related

Ubuntu Servers :: Can't Use Mysqli() With Php5 / Show That?

Apr 10, 2011

When try to do a database query with php5 and mysql. I encounter this error:

Code:
Fatal error: Call to undefined function mysqli()
while phpinfo() says mysqli support is enabled? What's wrong in this picture?

View 1 Replies View Related

Ubuntu :: Php5 In Lib Not Bin - Line 90: /usr/bin/php: No Such File Or Directory

Jun 6, 2011

i have installed php5.apt-get install php5 installed fine but when i got to a php program its looks for it in

line 90: /usr/bin/php: No such file or directory

whereis:

~# whereis php5
php5: /usr/bin/php5 /etc/php5 /usr/lib/php5 /usr/share/php5

iv added a symlink to bin as u can see above but thats no good as the php is looking for it in /usr/bin/php how can i get /usr/bin/php. drag php5 folder in there and rename it?

View 3 Replies View Related







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