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 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.
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.
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?
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?
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?
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
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.
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?
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?