Forums

trouble with the link index.php in the administration panel (2 posts)

  1. chiendent
    Member
    Posted 2 years ago #

    Hello,
    I have upgraded my wordpress 2.1 towards 2.8.4. Everything is fine but in the administration, when clicking to dashboard or askimet stats or wp_optimize I get the followingdisplay :
    if [ -r /php5-unsecure.enabled ]; then export PHPRC="/etc/php5/cgi-unsecure/" else export PHPRC="/etc/php5/cgi/" fi if [ -d /php5 ]; then export PHPRC="/php5/" fi PHP_FCGI_CHILDREN=5 export PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS=200000 export PHP_FCGI_MAX_REQUESTS #ulimit -n 65535 exec /usr/bin/php5-cgi #/cgi-bin/env
    the ulr has cgi-bin/php5.fcg in between the blogurl and wp-admin.

    It is not a biggy, everything else works fine but I would like to get some clue about what is going on? Thanks

  2. jceresini
    Member
    Posted 2 years ago #

    Thats not wordpress, but your web server configuration. It's most likely due to the fact taht you're running php as a cgi script, but wordpress by default utilizes the "SCRIPT_FILENAME" global variable. You shoudl be able to fix this by adding the following to your php.ini file.

    cgi.fix_pathinfo=1

    You may need to restart your webserver for this to take affect.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.