Installation problem after completed LAMP Server building

Installation problem after completed LAMP Server building

by Y YY -
Number of replies: 10

My colleagues and I try to buiild up a moodle server as same as my school one, but after I completed the installation of Mysql, php and apache, I can't browse the install.php in the localhost, It only show "Not Found" in the page.

I have checked all mysql, apache and php are run properly but I can't open the moodle in browser for installation, when I open it it only show "Not Found" in localhost and "download file" for remote site, In the meantime I can browse php webpage properly in localhost.

Could anyone help? Thanks for guidance

My configure and version of software
CENTOS 4.5

MySQL 5.0.27
Apache 2.0.23
PHP 5.1.6
Moodle 1.9.2
(I can't change these configs as following the same version of the school)

And I followed the instruction for LAMP server building from:
MySQL :www.lamphowto.com
Apache(httpd)&php:dan.drydog.com/apache2php.html
Moodle:docs.moodle.org/en/RedHat_Linux_installation

Average of ratings: -
In reply to Y YY

Re: Installation problem after completed LAMP Server building

by Mary Evans -
I use WAMP but I have to switch it on and off. This might sound like a silly question, but have you switched on Apache server?

Also try this rather than localhost..

http://127.0.0.1/



In reply to Mary Evans

Re: Installation problem after completed LAMP Server building

by Y YY -

Thanks for yours concern!

Today my colleague and I have a little improvement on it, we reinstall all the things once again and finally we can browse the install.php properly.

But next problem comes, when we try to config the database configuration, it have indicating a problem on php.ini, it recommend us to change the config inside.

All colleagues have no ideas of this error. I have disabled the SELinux.

Can anyone help?

In reply to Y YY

Re: Installation problem after completed LAMP Server building

by Mary Evans -
What ERROR are you getting?

This LINK might help you sort out your server problem first, as I am inclined to think your server is not working correctly.

You could try to install the latest version of Moodle 1.9.8 when you have fixed the server.
In reply to Mary Evans

回應: Re: Installation problem after completed LAMP Server building

by Samson NG -
The error is:

ERROR: PHP has not been properly configured with the MySQL extension......

I have followed http://www.reallylinux.com/docs/installmoodle.shtml Troubleshooting guide to handle this problem but it still exists.

Do I need to install any rpm to make them have connection?
In reply to Samson NG

Re: 回應: Re: Installation problem after completed LAMP Server building

by Mary Evans -
Check that the extension_dir line in php.ini is correct. for example:
extension_dir = c:\php\ext

Some Moodlers have found this line to be wrong.
Instead they get this... extension-dir = c:\php\ext

This is what is should read: extension_dir = c:\php\ext

Mary
In reply to Mary Evans

Re: 回應: Re: Installation problem after completed LAMP Server building

by Y YY -
I have found I don't have such problem on this.

If we can't find any solutions of this. We may re-install the whole system that you recommended to us. Thanks Mary!
In reply to Samson NG

Re: 回應: Re: Installation problem after completed LAMP Server building

by Jon Witts -
Picture of Plugin developers Picture of Testers
Have you followed the Moodle documentation that Visvanath pointed out to you above?
In reply to Jon Witts

Re: 回應: Re: Installation problem after completed LAMP Server building

by Y YY -
Thx mate for your concern!

I have followed the instruction that Visvanath told me, I can go to the installation screen, but stop at the php.ini problem

Samson and I will try to solve it in today!

Thanks for supporting us!
In reply to Y YY

Re: 回應: Re: Installation problem after completed LAMP Server building

by Olumuyiwa Taiwo -
Picture of Plugin developers
Hi.

Have you got the php-mysql package?

Check by logging in as root, and giving this command:

rpm -qa php-mysql

Install it with:

yum install php-mysql

Then restart Apache

Hope that helps.
Muyi