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


ADVERTISEMENT

Fedora Servers :: Any Way To Install Mysqli Extension For PHP?

Mar 15, 2009

I was wondering if there is a way to install mysqli extension for php on Fedora without having to recompile whole PHP.

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

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

Ubuntu Servers :: Dovecot Won't Show Mail

Jan 15, 2010

I've got the problem that Dovecot won't show me my mail!

I've set up my mail_location to maildir:~/Maildir/, and set up a namespace

Code:
namespace private {
separator = .
prefix = INBOX.
inbox = no

[Code]....

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.

View 1 Replies View Related

Ubuntu Servers :: Show HD Video Over Intranet?

Feb 23, 2011

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*

View 9 Replies View Related

Ubuntu Servers :: Show History Of Reboots On Login?

Jun 15, 2010

i wanted to know what script i would put where that would tell me the last 5 times the server rebooted whenever i logged on.

View 9 Replies View Related

Ubuntu Servers :: Squirrelmail Doesn't Show New Mails

Feb 13, 2011

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?

View 2 Replies View Related

Ubuntu Servers :: Samba Doesn't Show Printer At Boot

Jun 6, 2010

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?

View 5 Replies View Related

Ubuntu Servers :: Phpinfo Didn't Show Configure Options?

Oct 22, 2010

I created a file to show phpinfo. But configure command is missing from the list.

Check some other servers, confiugure command is there.

Is this an ubuntu issue?

View 1 Replies View Related

Ubuntu Servers :: .screenrc Entries To Show Always The Windows In Bottom?

Mar 2, 2011

I added following to my .screenrc

[Code]...

View 1 Replies View Related

Fedora Servers :: Get Apache To Show A Different Or Default Page?

Jul 15, 2009

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.

View 1 Replies View Related

Fedora Servers :: Files Show Up When Viewed Through NFS But Not Locally?

Jul 19, 2011

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.

Code:
/ export 10.0.0.201(rw,no_root_squash)

View 3 Replies View Related

Ubuntu Servers :: Make Apache Show Symbolic Links In A Directory Listing?

Jul 17, 2011

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

View 5 Replies View Related

Server :: Program With Web Interface To Show My Servers Hardware Status?

Jan 30, 2011

I am looking for a program with a web interface to show my servers hardware status. hdd usage, cpu load, memory etc.

View 2 Replies View Related

Ubuntu Servers :: Mdadm - Why /dev/sdb1 And /dev/sdi1 Show As Both Ext2fs And Also As Part Of A RAID Array

May 31, 2011

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?

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







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