Results 1 to 6 of 6

Thread: Running PHP on Fedora Core 2

  1. #1
    Join Date
    Sep 2002
    Posts
    11
    Rep Power
    0

    Default Running PHP on Fedora Core 2

    Just recently installed Redhat Fedora Core 2. Sad to say I'm a Redhat newbie. I managed to get Apache up and running but I can't seem to find the home directory for PHP so I could edit the php_ini file. I checked httpd.conf but couldn't find the PHP modules. can anyone help me out?

    Peace

  2. #2
    Join Date
    Apr 2004
    Posts
    4,811
    Rep Power
    0

    Default Re: Running PHP on Fedora Core 2

    it might be in /etc/php, not too sure. But if anything type find / -name <filename> in the terminal.

  3. #3
    Join Date
    Aug 2002
    Posts
    3,959
    Rep Power
    25

    Default Re: Running PHP on Fedora Core 2

    Just recently installed Redhat Fedora Core 2. Sad to say I'm a Redhat newbie. I managed to get Apache up and running but I can't seem to find the home directory for PHP so I could edit the php_ini file. I checked httpd.conf but couldn't find the PHP modules. can anyone help me out?
    What documentation have you read so far?

  4. #4
    Join Date
    Jul 2004
    Posts
    264
    Rep Power
    0

    Default Re: Running PHP on Fedora Core 2

    did u try using the locate command to do a search for the file ....

  5. #5
    Join Date
    Sep 2002
    Posts
    11
    Rep Power
    0

    Default Re: Running PHP on Fedora Core 2

    Thanks for all the suggestions guys. PHP was actually in the /etc/ directory I used the find command that Virus suggested. To answer Jamrock's question I have the complete documentation text for Fedora Core 2 (Hard Copy) thats how I got apache, mysql and the samba server to work properly, however, the book makes no mention of how to configure php. I also read online documentation from php.net, linux.com and http://tdlp.com. If you know of anymore places where I can find docs please let me know. I guess I should've known to use the find command but as I said before, RedHat Newbie, still learning the commands.

    thanks again.

  6. #6
    Join Date
    Jul 2002
    Posts
    818
    Rep Power
    0

    Default Re: Running PHP on Fedora Core 2

    The file may actually not exist. However, PHP itself will tell you where it's looking.

    Do a phpinfo() within a script and look for the "Configuration File (php.ini) Path" directive. This is not saying that a file is at that location, it is simply saying that this is where the interpreter is looking.

    If there is no file at the location specified, then you can simply copy one from another system or create your own with the parameters you want.
    -I didn't spel chek.
    The stuff I do

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •