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


ADVERTISEMENT

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 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 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 Servers :: Can't Reach Port On 10.04 64bits

Jan 11, 2011

I have ubuntu Linux xxxx 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 x86_64 / GNU/Linux / Ubuntu 10.04 LTS installed on two identical hardware machines. SSH server work, ping work, oracle11g server works, but on one of mi servers one port of a application that develp here can be reach, the port is 2809 (corba). If i do telnet xxx 2809 on the machine, port is responding, but if i do the same in any machine in LAN, dont respond. This only happend on one server!!! the other just work fine I have all firewall disabled!!

Code:

root@xxx:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

[code]....

View 5 Replies View Related

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 Servers :: 10.04 LTS - PHP5 Email Contact Form

Nov 24, 2010

I am running Ubuntu 10.04LTS on a server. I am trying to make an e-mail contact form. When I hit submit, it says the message was sent. I check my e-mail and I don't see it. Does it not work with gmail? or do I need to use a system username@mydomain.net? This is the PHP mailer.

Code:
<?php
if(isset($_POST['submit'])) {
$to = "myemail@mydomain"; #This is set to my gmail.com e-mail.
$subject = "Unserv Form";
$name_field = $_POST['name'];
$email_field = $_POST['email'];
$message = $_POST['message'];

$body = "From: $name_field
E-Mail: $email_field
Message:
$message";

echo "Message was sent!";
mail($to, $subject, $body);
} else {
echo "Error, it did not work! Please mention this to admin@unserv.net!";
} ?>

This is a snip of HTML from the contact site:
Code:
<form method="POST" action="sndmsg.php">
Name: <input type="text" name="name" size="19"><br>
<br>
E-Mail: <input type="text" name="email" size="19"><br>
<br>
Message:<br><textarea rows="20" name="message" cols="50">

View 6 Replies View Related

Ubuntu Servers :: PHP5 LAMP Configuration Break?

Mar 4, 2011

I've recently setup LAMP on my VPS.I believe I may have broken the PHP configuration somehow, not 100% sure exactly how, but I'm getting internal server errors upon loading .php files.

*Edit* phpmyadmin still runs fine so maybe there's an error in my Apache configuration or my VirtualHosts?

View 3 Replies View Related

Ubuntu Servers :: Apache From Localhost Can't Reach Internet / Resolve This?

Jul 11, 2011

I've installed apache2 on ubuntu 10.04 and everything works fine, but when I use functions that needs to connect to Internet, it doesn't work. Is there a simple setup I've forgot? I've been searching and looking for a solution, but I'm stuck!

View 9 Replies View Related

Fedora Servers :: Enable .php5 File Extension?

Sep 15, 2009

Platform information:
Fedora 11
HP a1250n PC w/3Gb RAM and 2Ghz (?) CPU
PHP v5 and Apache 2.2

The situation I've got is that my PHP and Apache installs do not recognize files with the .php5 file extension. I can successfully open .php files in my browser just as I have designed them. However, when I try to open a .php5 file in my browser, it simply outputs the code and not the web page (as it should). I've pasted (what I believe to be) the relevant parts of the output from phpinfo() command below. Any help correcting this is greatly appreciated as I have searched the forums and the Internet fairly exhaustively with various different keywords and still have come up empty. I think if I could figure out how to add ".php5" to the list of "Registered PHP Streams" then I would be all set, but I can't figure that out. I also tried copying /etc/php.ini to /etc/php.d/ and re-naming it php5.ini, but this did not work.

Clem
Configure Command
'./configure' '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--

[code]....

View 3 Replies View Related

Fedora Servers :: Unable To Reach Web Services Through Domain Name

Jan 29, 2011

i have installed apache and bind on my server and i've also registered a dynamic domain through dyndns as jan27.dyndns.biz. i am able to successfully host my own webpages using this method.

then i registered a domain name (lets call it "blah.com") through namescheap.com and have registered my nameserver to my ip address. after reconfiguring the my external zones in bind and restarted my services, i am unable to reach my webpages through the new domain name.. www.blah.com and blah.com would lead me to a opendns.com page but interestingly ns1.blah.com loads my webpages successfully.

View 8 Replies View Related

Ubuntu Servers :: Unable To Reach Domain With No "www"

Mar 1, 2011

I was just wondering if anyone could help me figure why I cant get my domain name to resolve with no "www." in Bind9 Ive tried a few different way to define my zone file, last one I tried was like this:

Code:
$TTL 604800
@ IN SOA ns.mydomain777.com. info.mydomain777.com. (
17 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL

[Code]...

View 8 Replies View Related

Ubuntu Servers :: 554 5.7.1 Relay Access Denied - Error "Your Message Did Not Reach Some Or All Of The Intended Recipients"

Jan 4, 2011

i have search for a long time regarding this matter but i couldn't found nothing.... The facts are like this:

1. I have a server on Ubuntu Linux 10.10 with the following modules installed:
- Webmin 1.530
- BIND DNS Server
- Fetchmail Retrieval
- Dovecot
- Postfix
- a domain (www.domain.com) - the website it's not hosted on my machine

What i did until now:

- establish a local mail network like user@testserver.local
- successfully installed and configure Fetchmail Retrieval. like: user@domain.com mapped to user@testserver.local

2. The problem: Sending an e-mail using a POP3 client like Outlook from an local account! If i use the local address and try to deliver a message outside my local network the following error is sent by System Administrator: Code: Your message did not reach some or all of the intended recipients.

[Code]....

View 4 Replies View Related

Ubuntu :: Can't Reach 1680x1050 Res

Apr 30, 2010

Intel motherboard DG33TL, chipset G33. I use the on-board graphics. The display is an Fujitsu-Siemens 22" with 1680x1050 res. The latest four versions including 10.04 of Ubuntu selects wrong resolution at boot up, 1024x768. There is no option for higher res. It should be 1680x1050 and I can't change it. Have not found a solution. It works on other quite modern motherboards, but just NOT DG33TL.

View 5 Replies View Related

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 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 Networking :: 10.04 Can't Reach Some Hosts

Aug 31, 2010

I have a problem reaching some hosts on the Internet, namely newegg.com and djangoproject.com. On the same machine and network connection using Windows 7 the host names resolve properly and I can connect to them. The host names are resolving in Ubuntu, but I cannot connect to them.

View 9 Replies View Related

Ubuntu Networking :: Can't Reach Any Computers On LAN

Mar 12, 2011

I'm using Ubuntu on my laptop but I'm having a small problem. The network is working fine except for the fact that I can't reach anything on my LAN (can't even ping the router), but everything on the outside works just fine. I can even visit my webserver if I type my public IP.

Where should I begin looking for faults?

Here, enjoy some data. I'm using my wlan0 interface, not sure whether eth0 works or not.

Quote:

$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0

[Code].....

View 2 Replies View Related

Ubuntu :: Cannot Reach Windows Partition

Jun 23, 2011

I run 11.04 from a USB-stick according to instructions on ubuntu.com (pendrivelinux) with persistence. I use an Acer Aspire One D255E (10" screen notebook).I cannot reach the Windows partition. (Win7 starter. It is not hibernated.) It was OK at first but the error then occurred suddenly. It has happened before and the only thing that helps is reinstallation. The problem causes me much trouble. I must find a way to reach the files. (There is no problem reaching the 4.3 G android partition. I always unmount Win before shutting down, but that does not seem to be the issue. When I tried to investigate the problem earlier I intentionally left Win mounted at shutdown, but it could not provoke the issue.)

View 5 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 :: 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

Ubuntu Networking :: Can't Reach Any Host With Either Interface

Mar 30, 2010

I am running a server that needs both a wired and wireless connection with static IPs, with wireless as the default link. I'm using the SMCWUSB-G for wireless. I was running Debian for a while and had some routing tables set up as in [URL].... Everything worked until I recently switched to Ubuntu Server 9.10. After the switch a weird behavior showed up: if wlan0 is down, eth0 works fine. But if wlan0 is up, I can't reach any host with either interface (even nameservers or the gateway I am supposedly connected to). ifconfig indicates that nothing is wrong. It's really not clear what is causing this problem. It seems like something has to be wrong with both the wireless hardware/drivers and the routing tables in order for turning wireless on to interfere with "ping -Ieth0".

[code]...

View 9 Replies View Related

Ubuntu Networking :: Suddenly Cannot Reach Internet

Aug 2, 2011

I used my computer this morning before leaving for the office, but when I returned this evening, I am unable to reach the internet. Also the light on the mobo where the ethernet cable is plugged in is steady yellow.

My limited experience would tell me it is a hardware failure, but it seems so strange with nothing happening during the day. How might I best diagnose the problem from within Ubuntu (10.04)?

View 4 Replies View Related

Ubuntu :: Can't Reach Wireless Network Configuration

Jan 4, 2010

In Ubuntu 9.10 (fresh install, not an upgrade from 9.04) on an ASUS EeePC 900, I was using wireless networking at home, which worked well. I took the netbook to work a few times and did not using it at home all that period of time. I connected it as a wired network (DHCP) at work, and it "just worked" fine (no configuration was needed). Now I tried to use it at home and wireless no longer works for all users. In System > Preferences > Network connections I can access the wireless configuration and it is still there, still with all the correct settings as worked before. However, in the network manager I access from the upper panel via the antenna icon, it now only lists a Wired network. The wireless network isn't in the list at all. No upgrades were done. I do those from home and tried to do one this morning but since wireless did not work I could not accomplish it.

I could hook it to a wired network, so if fixing this needs to upgrade something, that's doable (but I'd think it should not be needed since wireless did work before). I was going to try things like delete all networks and start again, but since that might lose information about a possible bug, I'm holding off.

View 5 Replies View Related

OpenSUSE :: Where Has Php5-imagick Gone

Oct 13, 2010

I used to run Apache + PHP5 + MySQL + ImageMagick locally, as a testing server for a project I'm working on. A while ago I updated a few things, with the php5-imagick library not matching dependency version numbers anymore. I decided to ignore it, since there was no update for the library. I have been without an internet connection in the meantime, but php5-imagick didn't work anymore at all. It didn't return any errors, but it simply didn't modify anything about the pictures anymore. A few minutes ago I decided to manually uninstall and reinstall the php5-imagick package.Uninstalling went fine. But when I wanted to reinstall it, the package was nowhere to be found! A quick Google search turned up no relevant results.

View 5 Replies View Related







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