Results 1 to 4 of 4

Thread: php set up under linux

  1. #1
    Join Date
    Jan 2011
    Posts
    42

    php set up under linux

    I am software developer. I have developed software on windows. Nowadays I am learning some basics of it on operating system Linux Mint 9 KDE. Now if I wish to load PHP modules, in php.ini file then on windows I just set “extension=php_bz2.dll” for example previously, I set the extensions directory like "extension_dir = "/ext”. But in Linux I don’t Know exact place. Where php installation takes place? What is the directory? Where all modules are located. Is there anybody who knows the exact place.

  2. #2
    Join Date
    May 2008
    Posts
    1,020

    Re: php set up under linux

    I search at lot of places on Google. From which I come to know that all over the place. Consider /usr/share/lib/php or was it / usr/share/php/lib. They are common. The command given below will definitely helps you to find what you want.

    Command:-> sudo find / -name "php" 2>/dev/null

    this command will search for you, using the find function as:-

    • [/] - from the root location "/"
    • [-name "php"] - matching the name of the requested folder "php"
    • [2>/dev/null] - and removing errors from those /proc files not being there

  3. #3
    Join Date
    Apr 2009
    Posts
    970

    Re: php set up under linux

    I search all over the Google and with the help of reference guide from their official side I checked my LAMP which is nothing but a bundle of software. I found that php4 modules are located at:-

    /usr/lib/php5/<id #>/

    I am definitely sure that you can place your php modules which can be used by you for programming purpose.

  4. #4
    Join Date
    May 2008
    Posts
    859

    Re: php set up under linux

    I have installed Graphics library on my pc. I am also using Linux operating system. So from my point of view it is an correct location,to put your DLL'S
    Under/usr/lib/20060613 I've got :

    gd
    mysqi
    mysql
    pdo-mysql
    pdo

Similar Threads

  1. Best Friendly Linux Distribution For Biggest Linux System
    By Aniela in forum Operating Systems
    Replies: 3
    Last Post: 13-12-2010, 07:42 AM
  2. Replies: 5
    Last Post: 09-11-2010, 03:50 PM
  3. Replies: 5
    Last Post: 16-12-2009, 09:20 PM
  4. Replies: 2
    Last Post: 25-04-2008, 09:18 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,716,203,614.49687 seconds with 16 queries