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.
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.
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.
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...
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?
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'];
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">
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?
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.
I am able to copy mails from another account to the account on my server. But I've got no clue of where dovecot stores them. Not in /var/mail I've checked..
This happened after I re-installed with a 9.10 Ubuntu Server disc.
i run ubuntu 10.10 on a 3.5ghz quad core, 4gb ram.
I had the idea to make an inranet for me and my housemates.... i have an extensive video collection mostly in .avi and .mkv. i would like to make a page which diplays this video and lets you select from a playlist/browse the directory, howeve i didn't really want to have to recode all the video to flv.
is there a way i can do with VLC? i have looked about and the vlcwebplayer just looks like another flash player... does it support VLC recoding on the fly? or am i missing *something*
I have installed ubuntu 10.10 server which runs postfix and dovecot and squirrelmail for emails.There is something that i could not solve by myself.Squirrelmail sends emails fine however it does not show the mails that are received. I can see new mails via ssh in /var/mail.What could be the possible reason for this?
Each time I boot I have to restart samba to see the shared printer on other windows machine. I tought it was the cups problem listed on the forum, but I'm not sure anymore if it's related!Could it be related to the service sequence? I don't know how to look at the service load sequence in ubuntu?
I have apache installed and I have it all setup so that when I create a user, in their home directory i created a folder called public_html and then that user can upload web content. Users then can browse to their site by going to[URL],,.How can I get apache to show a different or default page if the user does not have a index.html file in their public_html folder. Cause if they dont, you get a 401 saying you dont have permissions to view, etc. So id like apache to default to something else if the user doesnt have a index.html.
I have just tested this 3 times now and everytime I got the same result. I have two identical servers, they are both IBM x345 and everything has been copied directly from one to the other so they are exact duplicates other than the hard drive and partition sizes. When copying over the /svn directory it looks like everything copied successfully (I have tested rsync and cp) but when I go to look at the files locally there is nothing there. I can view the files without issue over the nfs share that I am using to copy the files but nothing is there locally. Even df shows that there is nothing there. The other server on the network shows the files there and using du I can see that the size is correct on all of them.
Before anyone suggests this is a permission issue, I was using root to see if the files are there but even root does not see anything. I am completely lost on this and even google does not seem to come up with anything. The servers are running fedora 12, the /etc/exports file is placed below.
I am trying to make my Apache server show symbolic links in a directory listing, but have so far been unsuccessful. In my latest attempt, I have placed the following code in .htaccess, in the directory with the symlinks that I want listing:
Code: <Directory /> Options All </Directory> Im httpd-vhosts.conf, I have also placed the following code within the relative <VirtualHost></VirtualHost>:
I've been having some problems w/ a my RAID 5 array, and after extensive investigation, I'm fairly sure that my last resort is rebuilding the array. I'd tried --assemble, b/c it's a previously created array, but it didn't seem to like that. So, I checked into --create, and it will re-create the array w/out destroying the data, if the superblocks are persistent, which they seem to be. However, here's what I get:
[Code]....
My question is: why do /dev/sdb1 and /dev/sdi1 show as both ext2fs and also as part of a RAID array?
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
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?
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.
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?
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.
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?