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
ADVERTISEMENT
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
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
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
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
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
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
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
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
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
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
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
May 6, 2011
etc/php5/cli/php.ini and in the apache2 folder
View 1 Replies
View Related
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
Apr 3, 2011
I can't run apache2 with php5. I follow instructions from here: SDB:Linux Apache MySQL PHP - openSUSE but seems stuck at Confirming apache2 works. It did not. I noticed that everytime I restart this 'error' will come out :
[Mon Apr 04 10:40:30 2011] [warn] module rewrite_module is already loaded, skipping
[Mon Apr 04 10:40:30 2011] [warn] module rewrite_module is already loaded, skipping
httpd2-prefork: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName Syntax OK Shutting down httpd2 (waiting for all children to terminate) done Starting httpd2 (prefork) [Mon Apr 04 10:40:32 2011] [warn] module rewrite_module is already loaded, skipping [Mon Apr 04 10:40:32 2011] [warn] module rewrite_module is already loaded, skipping httpd2-prefork: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
View 2 Replies
View Related
Nov 17, 2010
Someone accidentally upgraded our PHP5 to 5.3.3. We've uninstalled it but what's the best way to install PHP5.2.14?
View 1 Replies
View Related
May 11, 2010
want to upgrade php from 5.2 to 5.3 it can be possible with RPM and YUM but i want to know step by step how it can be upgraded using tar.gz file of PHP and from where i can download it.
View 1 Replies
View Related
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
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
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
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
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
May 24, 2010
I would like to upgrade from PHP 5.0.x to PHP5.2.13. My box is Suse 9.3.(Pleask 9.5.2).
View 2 Replies
View Related
Jun 17, 2010
I have a customer whose's webapps are all running under Tomcat5 on a CentOS 5 installation. They have requested to have PHP installed as they want to be able to deliver content in that form as well. I've installed PHP 5.2.13 using yum but I don't know how to configure it run under Tomcat. Does anyone know the best way to accomplish this?
View 1 Replies
View Related
Jul 7, 2010
I am using this command via ssh on my godaddy vps and receiving a no update available error. I talked to godaddy and they said there is no update available in the repository. Is there another way i can use to update php5.
View 9 Replies
View Related
Jan 1, 2010
I am trying to get PHP5 working on Apache 2.2.13. When loading the PHP file in the web browser, the server does not appear to be passing the php off to the interpreter.Instead, the browser just treats the first command as an HTML comment and displays the rest to the user.
Relevant lines from httpd.conf:
LoadModule php5_module lib64/httpd/modules/libphp5.so
AddType text/html .php
#AddType application/x-httpd-php .php
AddHandler php-script .php
The second AddType is commented out because it causes Firefox to try to download the php instead of displaying it.
Output from httpd -M:
Loaded Modules:
core_module (static)
[code]....
Does it sound correct to think that there is some type of disconnect between Apache and the PHP interpreter?
View 1 Replies
View Related
Nov 27, 2009
i have folder php5.2.6.tar.gz. and i want to install it .i have tried to copy this folder in usr/local/src but i didn't due to permission.
View 2 Replies
View Related
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
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
Feb 15, 2011
I have a personal apache server with php5 module in it that I have set to host user directories Host/~username. When I introduce any errors to the php file, such as echo "Syntax error; , I get a blank white screen. The error exists in the apache log file in /var/log.
I have found the php.ini file in and found every occurance of "error" in it and set it to "On" or E_ALL depending on what the argument wants. I still get a white screen.
View 4 Replies
View Related