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


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

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

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 :: 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 :: 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 Installation :: Gd Library Installed Via Apt-get Install Php5-gd Command

Jan 14, 2010

I've PHP5 installed on my server, and just recently I installed a new application that requires gd library.

understand that I can have gd library installed via apt-get install php5-gd command.

Question: do I need to remove php5 instance (which was installed together with apache2/mysql using tasksel command) prior to installing php5-gd?

View 1 Replies View Related

Fedora Installation :: Code To Install Php5.1.2 Using Yum On 9

Mar 23, 2009

Give me the code to install php5.1.2 on fedora 9 using yum

View 1 Replies View Related

Fedora Installation :: Display Screen Php5.3.1 Errors And 12

Dec 6, 2009

yum install httpd php mysql-server php-mysql

[url]

Not working

View 6 Replies View Related

Fedora Installation :: Downgrade Php From Php5 To Php4 On FC11?

Dec 23, 2009

how can i downgrade php from php5 to php4 on FC11 ?

View 3 Replies View Related

Ubuntu Servers :: Using Apt For Updating From A Local Directory And Samba Shared Directory

Jul 9, 2010

I want to update all the machines in the network from a central repository which is on my master server and whose archive directory is shared through samba.I searched in the man page of sources.list and found that there is an option for this but can't able to implement this. Can anybody kindly tell me the way to do the same.

View 1 Replies View Related

Ubuntu :: Get Cgi-bin From /var/lib To /var/www My Web Servers Directory

Jul 18, 2010

I have been trying to get my cgi-bin from /var/lib to /var/www my web servers directory. I used webmin as I run 10.04 lts server on a laptop. So I either ssh or use webmin to changes stuff on my ubuntu box. Using webmin I copied every directive from the /var/lib to my new one.

View 3 Replies View Related

Ubuntu Servers :: CD Into Directory Of Path Available

Apr 13, 2010

I was wondering if we could cd in the directory of the PATH variable. For example, if I type in echo $DISPLAY. It will give me /tmp/launch-3ee4fg/org.x:0
Is there any way that I can just take the value '/tmp/launch-3ee4fg/' from the output of $DISPLAY and exclude out the filename to the end of the command. I tried using the read command and the IFS variable..apparently IFS does not recognise / I guess.

View 2 Replies View Related

Ubuntu Servers :: FTP Directory From Another Machine?

Nov 29, 2010

using FTP Directory mounted, thus it could make my life easier. And the fact, it's not.well, I'm putting in the /etc/fstab file to be like this;

Code:

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).

[code]....

in a conclusion; every file i copy, move, to that mounted directory will fail. and the error given is that Input/Output error message only.Is it this effect, due to the script i put on fstab is wrongly?

NB: I'm using Ubuntu Server here.

View 5 Replies View Related

Ubuntu Servers :: No Such File Or Directory?

Jan 9, 2011

I've got a Ubuntu 10.04 Server edition installed as a VMWare ESXi VM. It's been working great for about 6 months. This morning, after not making any changes, I started seeing some errors. First problem was that my website (managed by apache2) was offline. SSH/ftp didn't work either. So I go through the console through vSphere. Tried a quick ifconfig, and I got this:

Code:
bash: /sbin/ifconfig: No such file or directory
mmk. Tried ls /sbin/ifconfig, got this:
Code:
bash: /bin/ls: No such file or directory

[Code].....

Commands known to work: dir, vi, dmesg, rmdir, mkdir, ifup (but it then returns ifconfig not found), shutdown, reboot, fsck (but I chose no to prevent damage) Commands known NOT to work: ifconfig, ps, ls

View 9 Replies View Related

Ubuntu Servers :: Shared FTP Directory ?

Mar 28, 2011

I am trying to setup 2 individual FTP users. They should both have access to the same directory. They both need to be able to read/write into the directory. But, I want them not to be able to write to each other's files (e.g. delete, remove, rename, etc.).

So let's say the shared directory is: /home/ftp/shared/

UserA needs read/write access to /home/ftp/shared/. UserA should only have write access to his own files.
UserB also needs read/write access to /home/ftp/shared/. UserB should only have write access to his own files.

It would be a unix box of sorts, but that is the only restriction. I could use whatever software. I am currently thinking pure-ftpd or vsftp but I am open to all ideas.

View 1 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 Servers :: Jailkit Msg: Directory Not Owned By User But Directory IS Owned By User

Apr 9, 2011

I'm trying to jail a sftp user. All I want is for my daughter-in-law to be able to download pictures of my grandson on his step-uncle's motorcycle. But I don't want her browsing around. She's not a techie, but she's smart enough to catch on how WinSCP is looking at my files. I've set up the jail using jk_init, adding ssh, sftp, bash, netutils, basicshell, jk_lsh.

The physical root of the jail is owned by root, as are all the binaries loaded by the jk_init. The user's home directory is owned recursively by the user and is writable only by the owner. The passwd and group files are in the jailed /etc and populated by the user's lines. Shell is bash, and bash is there too. The error message must be coming from some other problem that's not notifying, but what?

View 4 Replies View Related

Ubuntu Servers :: Connect To Specific Directory / FTP

Jan 1, 2010

I'm using VSFTP in my ubuntu server and I want FTP to show me only the /var/www directory and its files/sub-directories. How can I do this? This has to do with vsftp.conf?Also I've read is recommended to make a user only for FTP, thus limiting its access to the desired directory. How can I do such thing?

View 1 Replies View Related

Ubuntu Servers :: KVM - How To Change Storage Directory

Jan 24, 2010

I'm running Ubuntu 9.10 with Kvm. I've used a howto to configure my network. Seems to work fine, I've installed the Virtual Machine manager, when I go to create my Virtual Machine, I see the the image is automatically created in /var/lib/libvirt/images. I have a totally separate path for my images. How to I configure a different image directory

View 1 Replies View Related

Ubuntu Servers :: No Directory When Trying To Start Host ?

Apr 7, 2010

I type in /etc/init.d/hostname.sh start

And I receive bash: /etc/init.d/hostname.sh: No such file directory

For hostname I've use "hostname" and my actual hostname, and both receive the same error.

Although when I do hostname is shows the correct hostname but without the the comcast part of it , and when I type in hostname -f, I get the correct hostname with the comcast part of it.

View 8 Replies View Related

Ubuntu Servers :: Apache Won't Use User Directory

May 12, 2010

I'm configuring Apache for the first time on this box (8.04 LTS) and Apache2 for the first time ever. "Out of the box" it runs fine and I get the "It Works" page okay. But I'd like to use the virtual site feature to direct Apache to a folder in my user space, and I keep getting errors.

When I point a browser at localhost, the 404 message is "The requested URL / was not found on this server." and the /var/log/apache2/error.log ends with "File does not exist: /htdocs.

Here's my config file from the apache2/sites-available folder:

Code:

I diff'ed this file with the default and the only differences are in the DocumentRoot line and the <Directory ...> line.

My public_html folder has permissions 755 and the index.html file is 644.

View 7 Replies View Related







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