• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Installing Geeklog

M

mcminc

Guest
I am trying to install Geeklog on a Plesk 7.5 domain. I have put the geeklog directory in /home/httpd/vhosts/domain.name/geeklog. I have pointed the config.php and the lib-common.php to the correct places and made sure php was enabled for the domain. The problem is that the Plesk server does not seem to parse any of the php pages. If I run php filename.php from the command prompt I see the html, but if I go to the same file (check.php) it gives me a blank page.

Does anyone have any idea what I am doing wron g?
 
Make sure in the domain setup you have the box for PHP Support checked. I am running geeklog on several domains and do not have a problem. You can expect to run the php file at the prompt and see html but if you do not have php enabled for the domain it will not work. If all fails delete the domain and try it again making sure you have php support checked
 
I do have php enabled. To test this I have created a phpinfo.php file with "<?php phpinfo(); ?>" and this php file works fine.

I believe it has something to do with the location on the config.php file. I currently have it located outside of the httpdocs folder. Did you modify your base directory?
 
Usually people place all of the application files within the web (httpdocs) folder. This includes the config file which is usually a php file so people can't just browse to the config file to read db info. Some applications may not function correctly if files are outside of the expected directories. If you need a config file outside of the web folder for some reason, you might have to make some coding changes in some php files and even then it may not work properly.
 
Back
Top