Installing php  on Lion

Does anyone know how to install php on Lion?
I tried editing the config file, but it doesn't allow me to edit the file: httpd.conf
I can edit the folder(apache2) but not the file, I have full admin rights but when I try to edit the file in text edit it doesn't work...
Thanks!

php is a web server feature are you sure what you mean by wanting to install
it on lion ?
are you setting up a websever on your lion os ?
http://en.wikipedia.org/wiki/PHP

Similar Messages

  • How do i install php on my mac pro os x lion

    I want to install php on my macbook pro that currently runs os x lion.

    It is built-in to every web browser.   Look in your browser preference to make sure it is turned on, and make sure you are using the most current version of the browser.   Mind you some scripts depend on Microsoft's ActiveX, which is not supported by Mac OS X.  For those, see this tip:
    https://discussions.apple.com/docs/DOC-2741

  • Help. I accidentally formatted by the device name not the volume name when trying fresh install osx Mountain lion.

    I was trying to do a fresh instal of Mountain Lion. By fresh I mean clean.
    Firstly, my iMac disc drive isn't really working to well, so I have Mountain Lion on a usb.
    I started up and held the option key.
    Entered into disc utility mode, and started doing everything correct.
    Then near at the end I when i'm required to select a start up disc it doesnt show anything... Help?
    I checked around online and saw this tutorially and notice I had done something different.
    http://macs.about.com/od/MountainLion/ss/How-To-Perform-A-Clean-Install-Of-Os-X- Mountain-Lion-On-A-Startup-Drive.htm
    on page 2. where it says
    When Disk Utility opens, select your Mac's startup volume from the list of devices. If you never changed its name, the startup volume will be listed as Macintosh HD. Be sure to select the volume name and not the device name, which will usually be the name of the physical drive, for instance, "500 GB WDC WD5."
    I think I may have selected the device name. Is this the cause of my problem?
    Can I fix this ? Please help?
    I live in Auckland in New Zealand, I don't have any apple stores here

    Ok, I realized that won't work, I don't think, because you can't enable it on your Mac.
    However, if you have another Mac, you can use Firewire Target Disk Mode to install. Boot your Mac while holding down the T key. You will see a FireWire symbol on the screen. Then, connect the two with a Firewire cable. Your Mac hard drive will show up on the other. Try to install onto that.
    This may not work, depending on the other Mac. If it is similar to yours, it should.
    I'm not sure if you can do it the other way. If you put the DVD into the other Mac and boot it into Target Disk Mode, then boot yours holding down the option key, you may be able to select the DVD on the other Mac as the startup.
    This very old article seems to indicate it will work: http://lowendmac.com/misc/06/0914.html
    Remote Disc Instructions:
    Here is Apple's info: http://support.apple.com/kb/HT5287
    Here is now to enable seeing the Remote Disc on your Mac: http://hints.macworld.com/article.php?story=2009012605560521

  • After installing the new Lion OSX, I get "power PC applications no longer supported" on things. How to fix?

    After installing the new Lion OSX, I get "power PC applications no longer supported" on things. How to fix?

    Silly rabbit wrote:
    Ah, you didn't read the fine print on installing Lion, did you? None of your old software will run in Lion.
    You have two choices:
    A) Buy all new or updated software
    B) Partition the hard drive and install an older version of OSX to run your older apps.
    You did not give us any idea of what PowerPC apps you were running, so additional options:
    C)  Restore to Snow Leopard
    D)  Install Snow Leopard (and Rosetta which runs PowerPC apps) in Parallels 7 in Lion:
    Installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439

  • I've just installed Mac osx lion and my mac doesn't recognize (don't see) my audio interface. Focusrite Saffire pro 24 dsp.

    I've just installed Mac osx lion and my mac doesn't recognize (don't see) my audio interface. Focusrite Saffire pro 24 dsp.
    I had no problems on snow leopard.
    thanks

    Well I found my answer…
    http://www.focusrite.com/answerbase/en/article.php?id=1159
    At the time of writing, the following products arecurrently not working with OS X 10.7:
    Saffire PRO 14
    Saffire PRO 24
    Saffire PRO 24 DSP
    Saffire PRO 40
    Liquid Saffire 56
    Liquid Mix HD
    Forté Suite
    Scarlett Plug-In Suite
    Focusrite is committed to providing support for ourproducts with the latest operating systems. We are currently working onproviding full support for our products with OS X Lion, and these will beavailable as soon as they are complete.
    Please check this page regularly for the most up to dateinformation regarding OS X 10.7 Lion compatibility information.

  • HT1473 I got my MAC PRO installed with iOS lion and since then i'm unable to add music on my iTunes and i tried adding to library option but still it copies and at the end it stays empty, doesn't even open new songs on it. any suggestions ?

    hey,
    I've rebooted my mac before installing new ios lion, so after everything was done i copied my data back to my mac book pro, then simple clicked on adding to library option in itune and it only synced half of the track and rest simply didnt copy, i thought maybe some error occured and i tryed the same procedure again but its not adding more tracks in it. and i just notice when ever i try play a new song through my data it does not open in itune these are the same tracks and songs i been listening to since ages on different note books and pods..
    Help me i've tryed everything but nathing seems to be working. and my itune is uptodated =S

    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.

  • Hyperlinks from Office for Mac don't work after I installed OS Mountain Lion

    I installed OS Mountain Lion a week ago. Since then hyperlinks have not functioned from e g Word, Excel or Outlook for Mac. I am running MS Office for Mac 2011.
    I was earlier using Snow Leopard and did not have any problems with that at all!
    Needless to say, this is quite urgent as many emails contain important links, which I am unable to use
    Is this a known bug??

    Office 2004 is a PowerPC-only suite and will not run under Mountain Lion. You'll need to upgrade to Office 2008 or Office 2011, or get one of the various programs/suites that can open and save in Office format (Apple's iWork apps, LibreOffice, OpenOffice.org, etc.)
    Or you'll have to downgrade back to Mac OS X 10.6.
    Regards.

  • New Mac, fresh install of Mountain Lion When I click to open a .Pdf from a web page,while in Safar, I get a black window Nothing opens in Preview or in Acrobat No option to download

    New Mac, fresh install of Mountain Lion
    When I click to open a .Pdf from a web page,while in Safar, I get a black window
    Nothing opens in Preview or in Acrobat
    No option to download

    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type of copy paste the following:
    /Library/Internet Plug-Ins
    Click Go. If you see this file:  AdobePDFViewer.plugin
    Drag it to the Trash, empty the Trash.
    Quit and relaunch Safari.

  • I installed OX S Lion today but now my safari quits every time I open it. Any ideas why and how I can resolve?

    I installed OX S Lion today but now my safari quits every time I open it. Any ideas why and how I can resolve?

    Yes done that several times. Went online with with my service provider, O2. Spoke to a "Guru" sent me an E-Mail with the settings so I could put them in manually incase the reset did'nt work.

  • Trouble installing Mavericks over Lion on iMac 12,2; hangs.

    Hi Folks,
    iMac 12,2 16 Gigs RAM, i7  4-core 3.4 GHz 1-TB HD for data, 1-250 Gig SSD for systems - running Snow Leopard on one partition and Lion on the other. (Full hardware description at bottom.)
    Purchased new in New Zealand about 14 months ago from Apple authorized reseller; no AppleCare. Not registered with Apple. No seerrious problems since, until this.
    Ethernet lan connection to Airport and then ISP's modem/router (Telecom New Zealand, . Fixed IP. No problems there, I think.
    Lots of USB stuff plugged in during install, but that shouldn't matter.
    Attempt to install Mavericks on Lion partition while booted in Lion partition failed.
    Attempt to install Mavericks on Lion partition while booted in Snow Leoepard partition failed.
    (Download to Snow seemed to work fine. Installer ran, finished in 20 minutes instead of 35, but when I restarted the computer the startup hung. Shutdown, restart, hangs. Every time.)
    Both installations failed with this hang. Restarts done with verbose logging on show the following, repeating ad infinitum (I stopped counting after it got over 5,100 lines -- no I didn't watch 5,000 lines scroll, I went away for a snooze):
    invalid sandbox profiile for pid <number> (invalid regex)
    Nothing here in the forums, or on the InterWebs about this error or much about a hanging install (which has been identified as one of Mavericks' problems) except to say wait forever (I  think 5,000 lines of verbose logging is forever) or try the install again. I have tried the install again; it hangs at the same point every time.
    There is some stuff on the hacker sites about sandbox and this error, but only for earlier OS versions. The fix for them was to replace the sandbox.kext. I'm going to boot into root in Snow Leopard partition so I can do things to the Lion partition, and change that kextfile?! Yeah, Riiiggghhhhttt. NOT.
    I suppose I could try the install with all USB stuff disconnected -- but I don't believe that's it.
    I suppose the fact that the Lion might not have had the latest software updates to it before I tried to install Mavericks might have something to do with it. I don't believe that's it (certainly is shouldn't be).
    Final recourse might have to be wiping the Lion partition (full erase and clean install) (it doesn't have any critical data saved on it; I do all my work in Snow on the other partition, the Lion is for experimenting).
    Anyone have any ideas?
    TIA and cheers,
    M<
      Model Name:          iMac
      Model Identifier:          iMac12,2
      Processor Name:          Intel Core i7
      Processor Speed:          3.4 GHz
      Number of Processors:          1
      Total Number of Cores:          4
      L2 Cache (per Core):          256 KB
      L3 Cache:          8 MB
      Memory:          16 GB
      Boot ROM Version:          IM121.0047.B1F
      SMC Version (system):          1.72f2
      Serial Number (system):          C02FX1DCDHJW
      Hardware UUID:          00528295-A96E-509E-9ED0-3140DEAF77E2

    Sorry, bad news for you, depending on your setup.
    The answer (provided by an Apple higher-level tech for which I paid -- no Applecare) was that they don't have a clue, but a clean install works.
    Yeah, Thaaannnnnnnkkkksss. Knew that.
    Clean install (almost) always works (worked) for 25 years.
    You don't say if your kit has everything on one partition, or there are more than one.
    If you have a big hard disk that's not full, has lots of room, but only one partition, with 10.8 you can dynamically create a new partition without losing data. I don't have the details of the process handy, but it's pretty straightforward.
    Then, with the Mavericks installer on the 10.8 partition, and booted to that partition, you can install Mavericks on the other partition (with administrator account). You could use the migration assistant (or whatever) to bring your data over from the 10.8 partition to the Mavericks one. However ...
    You might also want, if your hard disk isn't huge, and you don't have two drives of whatever type in the machine, to make the new partition just big enough for the OS and apps, and keep the data on the 10.8 partition.
    You can tell the Mavericks instance to use the other partition as your Home directory, instead of the Home directory on the Mavericks drive.
    If you have your OS and data on the same partition, and you don't have enough room on your disk(s) for the above procedures, then your best solution would likely be make a Carbon Copy Clone of the drive, wipe it completely, and install Mavericks from some external source other than another partition with another OS, and migrate your data back.
    There is stuff on the Web about making a bootable Mavericks install disk on a flash memory stick.
    But whichever way you end up doing it, you will have to boot into a clean OS on a different partition or disk from the target Mavericks install partition or disk.
    Last caveat: it may be difficult, but not impossible, to maintain your, or multiple users', identity and accounts and where they point, as well as your online IDs.
    Hope that helps a bit. Don't give up, but do take precautions (a CCC backup or a Tiime Machine is always wise anyway) and write everything down as you go.
    FWIW, I'm not using the Mavericks partition for anything, not even experimentation. I'm still using my Snow Leopard, because it works fine (finally) and is the only way to run Eudora. Until, that is, I solve the problem of running 10.6.8 server in a virtual machine in the Mavericks partition so I can run Eudora under Steve's nose with impunity, and so seamlessly it seems to be running under Mavericks, with full integration (through Parallels).
    Cheers from the Antipodes,
    M<

  • How can I do a clean install of Mountain Lion?

    I have an older MacBook Pro that I'm selling. I upgraded to Mounbtain Lion, but there was not an option to do a clean install (wiping everything clean and starting fresh). I want to do this to make sure all of my data is removed before I sell it. How can I do a clean install of Mountain Lion in order to accomplish this? In the past, from DVDs, it was easy. Thanks!

    Budrew wrote:
    Sure, but I would imagine that it will be common for people to sell their Macs with upgraded OSs.
    That was only OK when you bought the Upgrade DVD and included both the original system discs and the disc you used to upgrade the OS.
    Since Apple has now gone to the Download only model of OS X you now always need to install the Original OS or an Upgraded version that you have the DVD disc for.
    If a Mac came with Leopard and you upgraded to Snow Leopard and then to Lion or Mt Lion you must remove Lion or Mt Lion and reinstall either Leopard or Snow Leopard and include all the discs for that system, Originals and the Upgrde Snow Leopard DVD.
    If your system came Snow Leopard and you installed Lion or Mt Lion thenn again you remoeve Lion or Mt Lion and reinstall Snow Leopard and include the original discs that came with the system
    If your system came with Lion and you upgraded to Mt Lion then you remove Mt Lion and reinstall Lion.
    The reason for all of that is because with the Download only OS all upgrades are TIED to YOUR Apple ID, not to the computer. So the new owner can not reinstall Lion or Mt Lion, whichever you upgraded to, without using your Apple ID.

  • Ever since installing iCloud and Lion my computer is slow or freezes.  The color wheel comes on and My work stops.  I have only a small window of time where my computers will function normally during the day. I know many others that have the same problem.

    Ever since installing iCloud and Lion my computer is slow or freezes.  The color wheel comes on and My work stops.  I have only a small window of time where my computers will function normally during the day. I know many others that have the same problem. I'll get 20-30 minutes of work done and then a sync or something comes on, the color wheel of death shows up, and my productivity is shot.  I have to shut the computer down the hard way!  when it comes back up, it is still either frozen or slow.  I've checked in at the genius bar and all they say is that there have been some problems that Apple is trying to fix.  It effects Mail, Contacts, Safari, Calendar....yeah, pretty much everything.  My iPhone and iPad are not effected as much so I end up doing what I can with them.  I've seen the blogs out there and understand that many have the same problem.  I have been waiting to read about a fix but I have found nothing!  Any ideas?

    Not enough free space on the startup disk can slow the system down.
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure there's a minimum of 15% free disk space.
    For startup issues...  open System Preferences > Users & Groups - Login Items. Delete any apps listed there then restart your mac.
    And disable the Lion "resume" feature.
    Open System Preferences > General
    Deselect:   Restore windows when quitting and re-opening apps
    And Spotlight may be indexing... you can turn that off > Turning Off Spotlight | Mac Tricks And Tips

  • Error message when installing the OS Lion.

    When trying to install the OS Lion an error message occurred saying "The software could not be verified. It may have been corrupted or tampered with during downloading." On the app store it says it was already installed.  What could be the problem? What can I do?

    I read your post carefully the first time. I just reread it carefully again.
    You say you downloaded and attempted to install Lion. You got the error message it may have been corrupted during download...
    Even if the App Store says it was installed, you are allowed to redownload it and the license is good for 4 Macs. You won't even lose 1 license by doing this.
    You should be able to do that on the "Purchases" tab of MAS.
    That's my story and I'm stickin' to it
    If you can't accomplish that contact customer service.

  • Failed to install php-oci8 with instant Client for linux 64

    Hello,
    I have a 64-bits Linux box with RHEL4, and PHP version has been upgraded from 4.3.9 to 5.1.6. I try to make the connection to remote oracle server.
    I download instantclient-basic-linuxppc-10.2.0.2-20060327.zip , and follow the instruction to
    install it.
    But when i try to install php-oci8*.rpm, no matter which i use:
    php-oci8-5.1.6-1.el5.i386.rpm or php-oci8-4.3.9-2.2.el4.i386.rpm
    The installation always failed due to dependencies errors with oracle instant client.
    I also tried with some other packages like: php-oci8-4.3.9-3.el4.x86_64.rpm
    All my tries gave me dependency errors.
    sometime like:
    error: Failed dependencies:
    libclntsh.so.10.1 is needed by php-oci8-5.1.6-1.el5.i386
    oracle-instantclient = 10.2.0.3 is needed by
    php-oci8-5.1.6-1.el5.i386And I cannt find the right RPM for oracle instant client for linux 64 bits box, and php-oci8 5.1.6 64 bits.
    I have been trying on this problem for more than one week, and so frustrated. I will appreciate if I can be guide on this issue.
    Thanks in advance!

    See my followup to your duplicate post in the PHP forum

  • How do I install OS 10.7 NOT 10.7.5 on a mac running Snow Leopard 6.8  i.e. where can I find the original install app for Lion OS 10.7.0?

    I'm running 10.6.8 Snow Leopard fine on my MacPro1,1, Dual-Core Intel Xeon, 2.66 GHz  Mac, but I need to install Lion 10.7.0 to run a program I need.How do I install OS 10.7 NOT 10.7.5, because I get this message when I try to install 10.7.5, which I've downloaded:"This update requires Mac OS X version 10.7." on a mac running Snow Leopard 10.6.8, So i need to install the original 10.7.0 over the 10.6.8  i.e. where can I find the original install app for Lion OS 10.7.0? The original Lion 10.7. is not avaialable for purchase from the App store or anywhere,  even C-Net . Where can I find it to purchase?
    Also it seems I cannot install Mountain Lion over 10.6.8 as advertised. When I go to purchase I get this message: "We could not complete your purchase. OS X Mountain Lion is not compatible with this computer."   I think my computer can handle it (specs above) Are there any workarounds to this?

    If you're getting a "This update requires Mac OS X version 10.7" message, than you have the updater and not the full installer. Go to your Purchases section of the Mac App Store and you should see the full version there. But it may be 10.7.5, though in my system is shows as being from 2011 which would appear to be the original version.
    As to Mountain Lion, that's supported only on the Early 2008 Mac Pro or newer.
    Regards.

Maybe you are looking for