Elxis CMS Forum
Support => Installation => Topic started by: iung on December 08, 2008, 17:35:18
-
Hi All,
Total newbie here, your help is much appreciated. I have uploaded Elxis in a subfolder on a server running MySQL 5.0.32.
htaccess is configured with AddHandler application/x-httpd-php5.php
and AddType text/html .php
RewriteBase points to subfolder.
I have chmoded all directories and files as specified in the Proper Installation Guide.
The DB is empty as I assumed it would be populated during install, and obviously I did not put the db name, login or server anywhere.
However when I go to mysite/subfolder where the install file is, the content of the file is displayed not in html but in text code, ie. the browser displays the code itseld (header, php etc) but not the page. So obviously that's a PHP problem : should I input the DB name, server and login details in some file ?
What did I miss ? ??? Thanks in advance !
I
-
Did you follow all the steps through the installation process?
Because there is a step, asking for database name, user and user password
-
Actually I could not go into the install process, since the only thing I get is code...
Elxis has been installed on a server with a history of previous CMS installations running without problems; most notably Joomla, Wordpress and ModX, so I can confirm that we do have MySQL 5 properly running.
-
I just ran a test page on the same folder, that works fine :
<html>
<head>
<title>PHP test</title>
</head>
<body>
<?php echo "This is a PHP script!"; ?>
</body>
</html>
It would not work until I changed the htaccess into an empty one, so the problem is clearly located there.
-
Why dont u use the .htaccess file that comes with the elxis installation files?
-
Place addhandler and addtype directives inside Elxis htaccess file and make sure they point to the right directory. Remove any other unneeded htaccess files and keep only Elxis'.
-
Hmm. There is only 1 .htaccess, the one provided in the Elxis install, edited with addhandler & addtype, located @ root.
I'm deleting all files on the server and rebooting then I'll upload again.
-
Okay, it still does not work.
There was another unused php4 DB so I deleted it just in case.
I deleted all files and folders, reupped the elxis install files from a freshly unzipped copy, at root (no subfolder anymore).
Chmoded everything.
Changed the only htaccess (by using the one provided with elxis and adding directives above)
Only thing I get is that PHP code again.
-
Found it ! :P
I deleted the directives above in htaccess and added instead
SetEnv PHP_VER 5
Here we go.
Thanks for your help guys.