Koozali.org: home of the SME Server

PHP

J.Holwerda

PHP
« on: June 07, 2002, 07:55:14 PM »
Hi I made a perfect PHP Forum

I put it in the HTML directory when i wanted to configurate it i got this message

You are not running PHP - Please contact your system administrator.

I first had e-smith 4.1 now 5.1 i thought that would solve the problem.

now i lookt in the how to. to find the anwsert but it was only 1 about upgrading it. i need to get it work first. then i will think about upgrading it.

can any 1 help me get it activated

Dan Brown

Re: PHP
« Reply #1 on: June 07, 2002, 08:04:03 PM »
Is this installed in an ibay?  If so, is "enable execution of dynamic content" turned on?

J.Holwerda

Re: PHP
« Reply #2 on: June 07, 2002, 08:14:12 PM »
no it is in the primairy area

J.Holwerda

Re: PHP
« Reply #3 on: June 07, 2002, 08:25:34 PM »
It Also does not work in the Ibay but PHP is enebled

Dan Brown

Re: PHP
« Reply #4 on: June 07, 2002, 09:08:22 PM »
Is webmail enabled?  I seem to recall that some versions of SME didn't turn on PHP unless you enabled webmail.

In any case, there's a simple way to verify if PHP is running.  Make a file called test.php, containing only the following line:



see what happens when you try to access it from the web.

J.Holwerda

Re: PHP
« Reply #5 on: June 07, 2002, 09:40:44 PM »
I enebeld webmail

when i try too acces my index.php i got this message

Warning: Access denied for user: 'root@localhost' (Using password: NO) in /home/e-smith/files/primary/html/admin/db_mysql.php on line 29

There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Dan Brown

Re: PHP
« Reply #6 on: June 07, 2002, 11:48:53 PM »
You've got a database configuration problem--two of them, actually.  First, you're trying to use the mysql root user, which is a bad idea.  Second, you're trying to use that user without a password, which won't work.

Take a look at http://www.familybrown.org/howtos/mysql-password-howto.html