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


ADVERTISEMENT

OpenSUSE :: PHP5 Soap Extension Not Loading?

Feb 10, 2011

I have no hair any longer on the sides of my head... after trying to deal with this problem. I have installed apache2 on a SuSE 11.3 box, with php5, php-pear, php-gd, etc, and I cannot get php-soap to get recognized. Do I need to see the soap.[URL]..When I run an installation wizard for the web app I am planning to host, and it says that there is no soap installed. When I place soap php-soap php5-soap in the APACHE_MODULES of /etc/sysconfig/apache2 (just to make sure at least one is the right name) and restart apache2 I get error messages that say, soap (or php-soap, or php5-soap) is not installed, so its being ignored. When I run my phpinfo.php script, I see PHP is working, and soap is one of the successful modules (!?).

So, why can't apache see soap? I can find my soap.so within /usr/lib/php5/extensions/soap.so (how would I successfully load that into Apache, when it starts? I have been using yum, so I went to yast, and installed php-soap again. restarted apache, and still no success.

View 4 Replies View Related

Fedora :: How To Enable Dom Extension

Aug 2, 2010

i'm using fedora 13 with php 5. how can i enable the dom extension. this is being asked for some web application like the bambooinvoicing.

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

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

Debian Configuration :: How To Enable RANDR Extension

Mar 6, 2016

Running the nvidia driver 304.125 from the repos. Debian 8.

I am running 4 monitors without xinerama. I'm not using xinerama because there is a bug which prevents opengl acceleration from working on all four screens since one of the gpus is a bit older than the other.

The solution for this, I am told, is to use xrandr instead of xinerama.

I'm using arandr as a nice front end to xrandr. However, when I run arandr on each screen, the only output it shows as available is the current screen.

I also see:

Xlib: extension "RANDR" missing on display ":0.0"

etc.

How do I enable the RANDR extension so I can get arandr working and unify my four monitors into one?

View 6 Replies View Related

General :: Enable Php-mysqlnd Extension In Php-5.3.6 In Centos 5.5

Jun 2, 2011

how to enable php-mysqlnd extension in php-5.3.6 in centos 5.5. I tried no solutions and no proper google docs.

View 1 Replies View Related

Red Hat / Fedora :: File Extension Executable In RHEL 5?

Jan 4, 2010

As we have executeable file extensions .exe , .msi and .msp for Windows. What is the file extension that is executable in Linux RHEL 5

View 3 Replies View Related

Fedora :: Error Message: Sox Formats: No Handler For File Extension `mp3'

Aug 23, 2010

Odd that no posts come up in the search for "sox" or "specifically sox mp3"

How to get it up and going?

Which yum libraries need to be installed to get sox to recognize mp3s,

example: yum -y install force-mp3-to-start-working

its producing this error message: sox formats: no handler for file extension `mp3'

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

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 Servers :: Installing File Sharing Using EBox - Failed To Enable: "root Command /usr/share//ebox-samba/ebox-samba-enable Failed"

Sep 27, 2010

Installing file sharing using eBox and get the following error:

[Code]///

View 1 Replies View Related

General :: Install Php5.3.0 And Run Any Php File In Web Browser In System 5.0?

Oct 25, 2009

I want to install php-5.3.0.tar.bz2 in linux5.0 and then want to run the saved php file in firefox web browser. please explain me all the detailed steps of installing & configuring and also about running php file.

also tell me if any another rpm or package we have to install to run the php

View 4 Replies View Related

Ubuntu :: File Extension Z - Unix Compressed Archive File?

May 6, 2010

Anyone know how to compress a file to extension z?not tar.gz , zip, 7zip

View 6 Replies View Related

General :: Add A File Extension To A Bunch Of File Names?

Oct 20, 2010

I have a considerable number of files in a subdirectory (some fascinating old military clips from archive.org - search on Big Picture if interested). Anyhow, I am downloading them using Internet Download Manager running in an XP virtual machine in VMWare on my Ubuntu 10.04 PC (due to the queuing, restart and speed capabilities of IDM). But I digress - the files are being saved on the host (Samba share) without a file extension. So I have a collection of files with names like

Quote:

The Douglas MacArthur Story
THEY WERE THERE (1960)

I wish to add the extension ".mp4" In Windows this is simply done with the command

Quote:

rename *. *.mp4

This of course does not work in Linux. I have researched the Linux rename command and reviewed a lot of examples. However, I have not found a way to add an extension to a batch of files which are named with no extension to start with. The spaces in the file names also seem to present an issue. At the moment I am renaming them from the Windows VM while they are sitting on the Samba share using the ancient File Manager program from Windows NT which works great on XP. I have experimented with the file rename facility in Gnome Commander however, it does not seem to want to do something so simple.

View 10 Replies View Related

Fedora :: Is There Any Player To Play SWF File Enable Forward And Rewind?

Dec 10, 2010

I've tried the Browser,Unfortunately,both the Firefox and Chrome do not support the function forward and rewind.

View 7 Replies View Related

OpenSUSE :: Read A File With An .odc Extension?

Sep 10, 2010

I trying to read a file with an .odc extension.Using openOffice Calc, However there is a of garbage and irreadable characters, I found out it is a Microsoft office data connection file. Is there a way around it?

View 4 Replies View Related

Ubuntu :: Open And Run File With Extension Nds?

Jun 26, 2010

How to open and run file with extension nds in ubuntu linux?

View 1 Replies View Related

Ubuntu :: Hiding The JAR File Extension?

May 5, 2011

I installed Minecraft and I want to hide the .JAR extension on the file on my desktop. I tried just renaming it and deleting the ".jar" from the name, but when I tried opening it, it opened as an archive, rather than an executable, even though I had the "Allow executing file as program." box checked off. What can I do to hide the extension?

View 1 Replies View Related

General :: Accessing .dd File Extension

Mar 2, 2010

I am trying to access a .dd file extension. Do I have to mount it?

VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd
# fdisk -ul VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd
Blocks Id System
VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd1 8192 1535999 763904 5 Extended
VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd4 * 32 8191 4080 4 FAT16 <32M
VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd5 8224 106495 49136 6 FAT16

[Code].....

I am trying to grab some files off this file to create a PXE vmware boot.

View 2 Replies View Related

General :: Match A File Name Without Extension In Csh?

Aug 8, 2011

#!/bin/csh -f
source /xxxx/
set $spicedir = `sim_${1%.*}`
printf "Output folder is %s
" $spicedir
toolcommand -i $1 -o $spicedir
(-o output directory, -i =input)

I got spicedir: Undefined variable in my xterm

How could I match a file name without extension in csh

View 1 Replies View Related

General :: How To Open The File With Extension .pmd

Apr 26, 2010

How will I open a file with extension .pmd in linux ?

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

General :: Unable To Get Basename Of File Without Extension

Mar 4, 2011

Trying to get the basename of a file without the extension, I found this snippet but it just returns command not found twice:

[Code]....

Also tried (with and without the quotes on input and file_ext):

input=$1
file_ext=.${input##*.}
base=`basename "$input" $file_ext`

executed: convert.sh /path/music.wav But it echoes base as music.wav

View 14 Replies View Related







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