Forums

[resolved] running install.php displays contents of wp-config.php (5 posts)

  1. SS_Minnow
    Member
    Posted 9 months ago #

    Hi everyone,

    I have a client who tried to upload and install wordpress. When I try to run the install.php script, what I get on the screen is the contents of wp-config.php.

    I have already set the folder permissions to 775 recursively. I also noticed that although he gave a database name and password in wp-config.php, the database didn't exist. So, I created it but the results are the same.

    He says he was getting this message, but I have not gotten this message:

    message: Fatal error: Call to undefined function: is_admin() in
    /usr/local/4admin/apache/vhosts/XXX.com/wordpress/wp-admin/includes/comment.php on line 159

    Thanks for any ideas.

  2. whooami
    Member
    Posted 9 months ago #

    upload the files, all of them.

  3. grandslambert
    Member
    Posted 9 months ago #

    Also make sure that PHP is installed and turned on, and NOT running in Safe Mode. If it is displaying the contents of the file, it's likely the file isn't being parsed by PHP due to one or more of the above not being done.

  4. whooami
    Member
    Posted 9 months ago #

    this:

    Fatal error: Call to undefined function: is_admin() in
    /usr/local/4admin/apache/vhosts/XXX.com/wordpress/wp-admin/includes/comment.php on line 159

    is clear evidence that PHP is installed.

  5. SS_Minnow
    Member
    Posted 9 months ago #

    I just deleted everything he did and started over, and it's fine now. Up and running. Thanks!

Reply

You must log in to post.

About this Topic