Results 1 to 6 of 6

Thread: Read file in php

  1. #1
    Join Date
    Dec 2009
    Posts
    192

    Read file in php

    Hello
    I am new to php, I do not know how to view php pages? Some one could please let me know how I can view the php pages, so that I can start for programming in php. I am under mandriva 2006. Any sort of help or some link to configure php under mandriva 2006 will be highly appreciated. Thanks in advance.
    Last edited by Vodka; 28-12-2009 at 09:04 AM.

  2. #2
    Join Date
    May 2008
    Posts
    2,012

    Re: Read file in php

    Hello,
    You need a web server (apache), php module for apache mysql and possibly if your site interacts with a mysql database. On the debain official site you can view the full tutorial about how to configure php, I Know you are under mandriva 2006, you can also download it. No worries, just replace the following command
    Code:
    apt-get install
    with this command under mandriva
    Code:
    urpmi
    You do not need to treat the first part (update apt). Feel free to ask questions
    and good luck for your programming career.

  3. #3
    Join Date
    Dec 2009
    Posts
    192

    Re: Read file in php

    Hi
    I try the tutorial but I have error to compile apache with urpmi and it does not work. So I found another tutorial and I restarted the pc because after that the configuration of php4.4.3 is completed I do not know what it is past the keyboard and mouse unresponsive. I have even tried to compile apache. Know I am starting to do withe the tutorial, hope every thing goes well for me. Mean while if you have any more easy way to learn this, you can just help me out. I do not want to waste time in just configuring php with apache server.

  4. #4
    Join Date
    May 2008
    Posts
    2,012

    Re: Read file in php

    Hello
    Why are you trying to compile apache? why not go through rpmdrake? In rpmdrake you have to just install apache and it is selected. You install php, just select php4 and libapache_mod_php or something approaching. After you've just click on install both and your server is installed. If not for the error, it must change php3 to php4 during 2nd configure apache since you took php4.

  5. #5
    Join Date
    Dec 2009
    Posts
    192

    Re: Read file in php

    Hi
    For the prefix in the configure, I have not ideas about it so I leave it. Because this is my localhost in / var / www / html! The thing was, it was not working normally so I decided to reinstalling mandriva. So if I install all packages apache, msql, php, drakx, drakw, and I download phpMyAdmin from a center of mandriva test, Will it work? Because I am hoping that it should work.

  6. #6
    Join Date
    May 2008
    Posts
    2,012

    Re: Read file in php

    Hello
    For prefix, I wonder if this is the prefix to install apache or if this is the place that stores web pages. With the package system, it will work you have just a few editing tricks to make it match exactly what you want, but it is less than the galley to recompile apache, php, mysql, etc. The prefix is where apache will be installed (executables and libs) since the place that stores the web pages is indicated in the / etc / apache / apache.conf with Document Root.

Similar Threads

  1. cannot delete file -- cannot read from source file or disk
    By Amitgujaran in forum Windows XP Support
    Replies: 3
    Last Post: 11-11-2010, 09:55 PM
  2. Read file in a network
    By Aaliya Seth in forum Software Development
    Replies: 4
    Last Post: 02-02-2010, 04:22 AM
  3. How to read a .tex file?
    By Derwin in forum Windows Software
    Replies: 3
    Last Post: 02-04-2009, 09:46 AM
  4. PDN file cannot be read in Windows 7
    By Vicious in forum Windows Software
    Replies: 3
    Last Post: 26-01-2009, 03:41 PM
  5. XP: Cannot delete file: Cannot read from the source file or disk.
    By iexplorer0726 in forum Operating Systems
    Replies: 0
    Last Post: 10-09-2007, 05:07 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,714,167,479.18531 seconds with 17 queries