Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

PhP Fedora Core3

  • 14-03-2005 1:47pm
    #1
    Registered Users, Registered Users 2 Posts: 3,093 ✭✭✭


    Hi all,

    This could be a really easy solution, im not sure.

    Im using FC3 at the moment, and yesterday I did a fresh install with this document I got that does a whole walk through, tells you what services to install disable etc

    anyway
    One of the first bits is to put a page into /var/www/html <afik> somthing like <?TESTpage.php; ?> and then go to our browser and //comp name/test.php
    and it tells you something about your settings.

    Problem is I cant get it to display anything, it finds the page and all, but it wont display it ? it just comes up as a blank page.

    The guide itself is very accurate and does a great walk through, but I just cant seem to get this bit going

    Any ideas?


Comments

  • Registered Users, Registered Users 2 Posts: 68,317 ✭✭✭✭seamus


    Check out the error reporting part of your php config file (not sure where/what it is in Lunix). It's probably set to display none, so your script is causing an error, but it's not showing it on the screen.


  • Registered Users, Registered Users 2 Posts: 3,093 ✭✭✭Static M.e.


    this is what the guide tells me to do.
    Turn on and set to start the services you will need
    chkconfig httpd on
    chkconfig mysqld on
    service httpd start
    service mysqld start

    Testing Apache
    To test the Apache and PHP, create a file called test.php in the /var/www/html directory.
    Place the following line in the file:
    <?php phpinfo(); ?>

    Now use a web browser to look at the file (http://IP_Addess/test.php). It should give you
    info on your system, Apache, and PHP.

    Install the Network Query Tool, using http://shat.net/php/nqt/nqt.php.txt. Copy the text
    into a file called index.php and place it in the /var/www/html directory

    Not sure if this will help or not but I said I would post it, I have tried both pages and both are blank, I will try your suggestion tonight Seamus and hope fully I will get lucky

    Thanks


  • Technology & Internet Moderators Posts: 28,830 Mod ✭✭✭✭oscarBravo


    If you view the source of test.php in your browser (Ctrl-U in Firefox), and it shows the actual text "<?php phpinfo(); ?>" then PHP isn't correctly installed or set up. Dunno anything about NQT.


  • Registered Users, Registered Users 2 Posts: 3,093 ✭✭✭Static M.e.


    Never got to try this out last night, powered up FC3 and it got stuck just after "Enable swap space"

    I haven't been able to get it past that yet, I think I might be looking at another fresh install but since nothing changed hardware wise, I think i will get the same problem again.

    Time to google the bejesus out of it and find an answer.

    :)


Advertisement