Not a real problem anymore, but a weird Apache behavior wrt .php files

Hello everyone. Yesterday I was trying to set up an ordinary LAMP server in my VPS, running Arch (first time ever touching apache). After all was said and done, and apache and PHP were correctly configured following the Arch Wiki, I tried to get some things like phpmyadmin and ampache running, but I found out that my browser was asking me to download either a login.php file or an index.php file (to be more specific: I added a test.php file in /srv/http and that was interpreted correctly and I could see all the information as intented; if i pointed my browser to /phpmyadmin or /ampache though I would see the first page but after trying to, for example, logging in with phpmyadmin I'd get the download prompt). I googled around and yes, everything was configured as it should have, I had the AddHandler directive in the apache conf file and all that jazz. This morning, I log in, I start apache (since it wasn't working I figured that I might as well shut it down for the night and yes, while testing and setting up things yesterday I restarted the daemon every time) and everything works as it should: ampache lets me create my configuration, phpmyadmin lets me see my DBs and everything works. So, the problem apparently fixed itself, or at least the weird behavior I was witnessing is no more. Is there any specific reason for this? I wouldn't want to start from scratch (and I probably will, since I like to mess up a lot, that's how i learn!) to perhaps find myself in this spot again and not know what to do!
Last edited by mrz87 (2011-05-11 09:12:21)

This was a problem with apache-2.2.17-2. Don't worry, it's fixed for good.
https://bugs.archlinux.org/task/24208

Similar Messages

  • Hello, I want to perform a simple task. I have two Adobe ID accounts linked to two different email addresses. One account i do not want to use anymore but it is linked to my main email account. the account i do not want anymore is still in its free stage

    Hello, I want to perform a simple task.I have two Adobe ID accounts linked to two different email addresses. One account i do not want to use anymore but it is linked to my main email account. the account i do not want anymore is still in its free stage and i have not purchased anything with it. My other Adobe ID account is linked to an email i rarely use and don't particularly want to use. i have tried changing the linked email account to my regular one i use. But it obviously does not allow me because of it already being linked to my other non used obsolete Adobe ID account. Is there any solution to this?? Please help.

    Adobe contact information - http://helpx.adobe.com/contact.html may help

  • TS1382 I have a ipod classic 160GB and it's not showing any music anymore, but there is still 7GB of memory being used, and I don't have it back up on my itunes, since I had to put a new hard drive on my computer. Any suggestion to find out whats on that

    I have a ipod classic 160GB and it's not showing any music anymore, but there is still showing 7GB of memory being used, and I don't have it backed up on my itunes, since I had to put a new hard drive on my computer. Any suggestion to find out whats on that memory or to get it the music back, there is approximately over 1400 songs on it?

    What is the memory being used by, is it Other? If it is, that means the iPod can no longer read the music, so it has put it all in "Other".
    The usual fix for this is to allow the iPod to Sync with its iTunes Library. If that doesn't work, the next option is to Restore the iPod using the Restore command in iTunes, on the Device/Summary pane.
    Unless you are very (very) lucky, I suspect that you are going to have to Restore your iPod. Restoring will remove everything form the iPod and put back onto it only what it finds in your iTunes Library, which you say is currently empty.
    If you have to rebuild your Library after this issue, by adding all the music back again, this is going to be hard to hear, but for the future, you may want to consider always having a backup of your library. The easiset way to back the Library up is;
    if the Library is small enough, burn it to a DVD, as digital files, not a "music CD".
    If your Library is too large for a DVD, buy yourself an external hard drive and copy the Library onto the drive. Remember to update the backup every so often.

  • I burned disks of previously purchased content that is not available thru iTunes anymore but the latest ver. of iTunes won't let me copy this same content onto a new comp.  Is there a way to do this or maybe an earlier ver. of iTunes to download?

    I burned disks of previously purchased content that is not available thru iTunes anymore but the latest ver. of iTunes won't let me copy this same content onto a new comp.  Is there a way to do this or maybe an earlier ver. of iTunes to download?

    Those links in case you need them:
    iTunes Windows 10.3.1 (32-bit)
    iTunes Windows 10.3.1 (64-bit)
    tt2

  • Hi. My mavericks is crashed and when i on my mac always showstha disk utility window. I do everything like repair and all but not fix this problem. I have no back up of my files. Is there any way to reinstall mavericks without erase my old data ?

    Hi. My mavericks is crashed and when i on my mac always showstha disk utility window. I do everything like repair and all but not fix this problem. I have no back up of my files. Is there any way to reinstall mavericks without erase my old data ?

    To back up your data, either use Target Disk Mode and a cable from another Mac (which mounts your problem Mac as an external disk of the other Mac) and Disk Utility on that other Mac, or — and this is all assuming you either have a slow Internet connection and don't want to use Internet Recovery, or if you have an older Mac that doesn't support Internet Recovery — you can create a bootable USB key disk on another Mac and then boot your problematic Mac from that keydisk, then use Disk Utility from the installer to make a backup to another (external) (scratch) disk.  You can also use that keydisk to reinstall OS X, to repair or to reinstall OS X.

  • How do I remove an old phone number from my macbook imessage. My apple ID does not show the number anymore but I cannot remove it from the imessage accounts. Its driving me mad !

    Can someone please help me to remove an iphone telephone number from my imessage application. I no longer have a phone which I registered on my apple ID as a second phone. I have been on my apple ID and it does not seem to be there but cannot remove it from imessage, which still has it as an option to connect to. I am concerned that someone else who inherite this old phone will see my messages if I accidentally enable it again. I have read and re-read various postings and tried all options given but no luck, the **** thing stays there.....

    Hey Chappers64!
    Here is an article that will help you with this issue:
    iOS: Deactivating iMessage
    http://support.apple.com/kb/ts5185
    If you have already tried these steps, you will want to utilize the information at the end of the article:
    If you can't deactivate iMessage after you perform the steps above or you can't access the iPhone, please contact Apple Support.
    Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

  • Problem with OsCommerce : Safari just offers to download PHP files...

    When browsing my oscommerce website, Safari doesn't jump from a page to another, but only offers to donwload PHP files.
    I have to cancel several times to access other pages...
    Any idea of the trouble?
    Thanks.

    What Mac OS X are you using? What version of Safari? What internet plug-ins? What version of Java?

  • Yahoo mail new style - My contact list will not work on FIREFOX anymore but does on IE

    on Firefox 5 my contact list will not load and cannot be used
    the address bar goes haywire if you make a mistake , making it difficult to amend or correct - ie. sends mail to draft's box - will it be fixed anytime soon or do i need to use IE for Yahoo Mail now they have cancelled old classic version that worked reasonably well on firefox

    Me too, 23 July 2011. Can get YahooMail contacts in IE but not in Firefox. What is going on and who will fix it?

  • Why does upgrade not work without problems anymore?

    It's not the first time in the last two months:
    # pacman -Syu
    Proceed with installation? [Y/n]
    checking package integrity...
    (43/43) checking for file conflicts [#####################] 100%
    error: could not prepare transaction
    error: failed to commit transaction (conflicting files)
    poppler: /usr/bin/pdffonts exists in filesystem
    poppler: /usr/bin/pdfimages exists in filesystem
    poppler: /usr/bin/pdfinfo exists in filesystem
    poppler: /usr/bin/pdftoabw exists in filesystem
    poppler: /usr/bin/pdftohtml exists in filesystem
    poppler: /usr/bin/pdftoppm exists in filesystem
    poppler: /usr/bin/pdftops exists in filesystem
    poppler: /usr/bin/pdftotext exists in filesystem
    poppler: /usr/include/poppler/Annot.h exists in filesystem
    poppler: /usr/include/poppler/Array.h exists in filesystem
    poppler: /usr/include/poppler/BaseFile.h exists in filesystem
    poppler: /usr/lib/libpoppler.so exists in filesystem
    poppler: /usr/lib/libpoppler.so.4 exists in filesystem
    poppler: /usr/lib/libpoppler.so.4.0.0 exists in filesystem
    poppler: /usr/lib/pkgconfig/poppler-cairo.pc exists in filesystem
    poppler: /usr/lib/pkgconfig/poppler-splash.pc exists in filesystem
    poppler: /usr/lib/pkgconfig/poppler.pc exists in filesystem
    poppler: /usr/share/licenses/poppler/COPYING exists in filesystem
    poppler: /usr/share/man/man1/pdffonts.1.gz exists in filesystem
    poppler: /usr/share/man/man1/pdfimages.1.gz exists in filesystem
    poppler: /usr/share/man/man1/pdfinfo.1.gz exists in filesystem
    poppler: /usr/share/man/man1/pdftohtml.1.gz exists in filesystem
    poppler: /usr/share/man/man1/pdftoppm.1.gz exists in filesystem
    poppler: /usr/share/man/man1/pdftops.1.gz exists in filesystem
    poppler: /usr/share/man/man1/pdftotext.1.gz exists in filesystem
    poppler: /usr/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-0 exists in filesystem
    poppler: /usr/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-1 exists in filesystem
    jre: /etc/profile.d/jre.sh exists in filesystem
    jre: /opt/java/jre/COPYRIGHT exists in filesystem
    jre: /opt/java/jre/LICENSE exists in filesystem
    jre: /opt/java/jre/README exists in filesystem
    jre: /opt/java/jre/THIRDPARTYLICENSEREADME.txt exists in filesystem
    jre: /opt/java/jre/Welcome.html exists in filesystem
    jre: /opt/java/jre/bin/ControlPanel exists in filesystem
    jre: /opt/java/jre/bin/java exists in filesystem
    jre: /opt/java/jre/bin/java_vm exists in filesystem
    jre: /opt/java/jre/bin/javaws exists in filesystem
    jre: /opt/java/jre/bin/jcontrol exists in filesystem
    jre: /opt/java/jre/bin/keytool exists in filesystem
    jre: /opt/java/jre/bin/orbd exists in filesystem
    jre: /opt/java/jre/bin/pack200 exists in filesystem
    jre: /opt/java/jre/bin/policytool exists in filesystem
    jre: /opt/java/jre/bin/rmid exists in filesystem
    jre: /opt/java/jre/bin/rmiregistry exists in filesystem
    jre: /opt/java/jre/bin/servertool exists in filesystem
    jre: /opt/java/jre/bin/tnameserv exists in filesystem
    jre: /opt/java/jre/bin/unpack200 exists in filesystem
    jre: /opt/java/jre/javaws/javaws exists in filesystem
    jre: /opt/java/jre/lib/audio/soundbank.gm exists in filesystem
    jre: /opt/java/jre/lib/calendars.properties exists in filesystem
    jre: /opt/java/jre/man/ja exists in filesystem
    jre: /opt/java/jre/man/ja_JP.eucJP/man1/java.1 exists in filesystem
    jre: /opt/java/jre/man/ja_JP.eucJP/man1/javaws.1 exists in filesystem
    jre: /usr/lib/mozilla/plugins/libjavaplugin_oji.so exists in filesystem
    Errors occurred, no packages were upgraded.
    Of course, I could use --force or deinstall poppler, jre & co. with dependencies and reinstall it after other packages were upgraded. I will do so, anyway. But seriously, with upgrades this files do exist in filesystem, of course the do. And this can't be the standard way with virtually every upgrade. Is there a pacman issue I haven't found here? Is there another workaround?
    Regards

    The upgrade packages:
    Targets (43): automake-1.10.2-1 xcb-util-0.3.1-1 cairo-1.8.4-1 dbus-core-1.2.4-1 dbus-1.2.4-1 libspectre-0.2.2-1
    glib2-2.18.3-1 pango-1.22.3-1 gtk2-2.14.5-1 poppler-0.10.1-1 poppler-glib-0.10.1-1 evince-2.24.2-1
    fftw-3.2-1 gpgme-1.1.7-2 imlib2-1.4.2-2 intltool-0.40.5-1 jre-6u11-1 kernel26-2.6.27.7-1
    latex2html-2008-1 libdrm-2.3.1-2 libsoup-2.24.2.1-1 libv4l-0.5.7-1 libwnck-2.24.2-1 man-pages-3.14-1
    xkeyboard-config-1.4-1 libpciaccess-0.10.5-1 xf86-input-evdev-2.0.7-1 xorg-server-1.5.3-2
    nvidia-96xx-utils-96.43.09-1 mesa-7.2-1 nvidia-96xx-96.43.09-1 p7zip-4.61-1 pciutils-3.0.3-1
    policykit-0.9-7 poppler-qt-0.10.1-1 tdb-3.2.5-1 smbclient-3.2.5-1 vlc-0.9.8-1 wavpack-4.50.1-1
    xf86-video-nv-2.1.12-1 xf86-video-vesa-2.0.0-2 xproto-7.0.14-1 xvidcore-1.2.0-1
    The last time it was also poppler. I haven't installed jre for so long time (2 or 3 weeks?), so it's the first time it has happened with it. Do you mean this with complete packages?
    Last edited by Trac3R (2008-12-05 13:34:44)

  • Not a programming problem! but need help

    last week my teacher taught us some addition and subtraction of binary, decimal, hex and octal number. and it's quite easy. but the last topic for me seems to be hard. MULTIPLY AND DIVISION of number system.
    can anybody point me out to some text or link in the web pertaining to this subject
    please!!

    Here is one page: http://www.cut-the-knot.com/blue/SysTable.shtml
    The idea is basically the same as in base 10 (you do know long multiplication and division?), only need to use the multiplication and addition tables of the correct base...

  • I have had a real problem after installing ML. In mail my archive files were tripled (exact copies), then when I tried to remove one set of the archives, they all disappeared taking all of my files with them.  Any comments which could be useful would good

    I have had a real problkem after installing ML.  The archives in my MAIL tripled (exact copiesof the original files) and when I tried to delete the extra ones, all of my files disappeared.  Is there any way that I can get them back as I need them for business?

    Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
    This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.

  • Gsmartcontrol polkit problem: Not asking for password anymore [solved]

    polkit 0.112-2
    polkit-gnome 0.105-2
    gsmartcontrol 0.8.7-4
    DE: LXDE
    When trying to use gsmartcontrol as normal user it does not ask for permission anymore but starts and the drives are shown as 'unknown model' now.
    The polkit-gnome-authentication is autostarted at boot and works fine with gparted e.g.
    But with gsmartcontrol I get:
    polkitd[356]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.archlinux.pkexec.gparted for unix-process:1126:101937 [/bin/bash /usr/bin/gparted_polkit] (owned by unix-user:user)
    How can I get gsmartcontrol working again as normal user?
    SOLUTION:
    Use '/usr/bin/gsmartcontrol_polkit' instead of (de)fault '/usr/bin/gsmartcontrol' in your starter.
    Last edited by renegat (2014-11-28 15:44:38)

    Hello,
    I sometimes have the same problem, but there's a secure way to overcome this behaviour : when you have finished your purchases, simply go to "configuration" and "store" folder where you'll simply deactivate your account. It's the safest way, sure.
    When you wish to access appstore again, go to this folder back and activate. ID & Password will be required then to download.
    Hope this will help.
    Cheers.

  • PHP file in DW but not in directory

    Hi all. I created a test file called datetest.php in my newly
    created local DW site but when I click on "Live Data View" I get an
    error that says either:
    1. .php file extensions are not being executed by the test
    server (I can view a php file in my browser so it is working)
    2. The C:\Program Files\Apache Group\Apache2\htdocs\ folder
    does not map to the
    http://localhost/Program
    Files/Apache Group/Apache2/htdocs/ URL on the testing server.
    The odd thing is I can see the datetest.php file in my site
    in Dreamweaver (it's there along with other php files like
    test.php). I saved it specifically to C:/Program Files/Apache
    Group/Apache2/htdocs/) but when I drill down to the folder in
    Explorer (I'm using Vista Home Premium) the file is not viewable,
    nowhere to be seen, so I think that's the problem. It can be seen
    in DW but not in the Vista folder itself.
    I've tried to change permissions for those folders but I
    still can't see the file so I'm not doing the right thing.
    Thanks for any insight and help!

    Hi all. I created a test file called datetest.php in my newly
    created local DW site but when I click on "Live Data View" I get an
    error that says either:
    1. .php file extensions are not being executed by the test
    server (I can view a php file in my browser so it is working)
    2. The C:\Program Files\Apache Group\Apache2\htdocs\ folder
    does not map to the
    http://localhost/Program
    Files/Apache Group/Apache2/htdocs/ URL on the testing server.
    The odd thing is I can see the datetest.php file in my site
    in Dreamweaver (it's there along with other php files like
    test.php). I saved it specifically to C:/Program Files/Apache
    Group/Apache2/htdocs/) but when I drill down to the folder in
    Explorer (I'm using Vista Home Premium) the file is not viewable,
    nowhere to be seen, so I think that's the problem. It can be seen
    in DW but not in the Vista folder itself.
    I've tried to change permissions for those folders but I
    still can't see the file so I'm not doing the right thing.
    Thanks for any insight and help!

  • Is there any timeline soon that apple users will be able to open things that need adobe flash player?  I can not even play any games on Facebook, I can't open certain files, pictures sent to me or things like forms I news to see when I am not home

    I am so frustrated about Adobe Flash player. I can not play any Facebook games, open certain files and pictures and documents that I need to access because not only does this phone not do it but my old Palm Pre couldn't do it either. I have had so many times where I needed to access things either online or via email, or message that I can not even look at because of this. I have to wait until I for home or ask someone else to do it for me which is embarrassing. I rave about my iPhone 4S all the time because it is truly great except for this. When it use to happen with my Pal Pre I figures once I got my iPhone that it wouldn't happen anymore but I guess I was completely wrong. I have had this problem for years and always get a message saying that it's being worked on. Well a couple of years is a long time to work on it. I understand about contracts and stuff but why is it taking a company such as Apple to be able to get it for their products? I get a lot and always want to play the games on Facebook but I can't do it on most of them at least the ones I have tried. So I can not play against anyone at that time I have to wait until I get home or use someone else's computer or something. Please tell me that in the extremely near future that this will not be a problem anymore. PLEASE!!  I am sure I am not the only one out there who is having issues and if you do get it available please let there be an upload/upgrade for current phones and not just for future versions of Apple phones. That just wouldnt be very fair to all of your loyal customers and tell everyone to get your products because they are great and end up leaving this little problem out until they by your phone.  Especially if they just got the phone they have. You guys are awesome with technology I have faith that you can make this available to all Apple products old and new by uploads or upgrades. Thank you hopefully can give me some info about the status with this or if there wen is one. I would have thought that being a company such as you are that it would already be taking care of right from the beginning and not wait years to take care of somewhat that is very important ro have especially when there is so much our there using Adobe Flash now. I am not sure if this is just a blog with customers or if the company actually sees these posts but I am just hoping company or not that someone knows something about this. Thank you for your time and for reading this entire post if you have even gotten this far.

    Oh no... NOT THE 99-PAGER!!! Anything but THAT!!!

  • Design panel not active with php file?

    I have DW CS5 on two computers.  One one the design panel is active with a PHP file. On the other, it is not active.
    I must have a setting wrong on the one computer. What do I need to do to make the design panel active?  The code panel is fine on both.
    It is very hard to work on a PHP file when I can't see the design panel.
    Regards,
    Bill Schaepe

    The problem is that I have a number of PHP files that I need to modify the words in a form and it is hard to see what I am doing.
    You can't do this in Code view?
    On both computers, I just generate a new PHP file.  On the one computer the design panel is active and I can click design tab on it to see the design.  On the other one, I  can't click on the design panel tab to see the design.
    Both the same version revision level of DW?  Both on the same platform?  Do you have an option to click on "Design" under View on the main menu?

Maybe you are looking for