I am trying to get a Debian Linux, Apache2, MySQL, PHP5 system going. All of the instructions that I find assume that I am installing from a tar file or some such. Debian installs everything, including the config files, automatically. The Dbian installation differs significantly from the documentation. I finally got Apache2, MySQL and /drupal6/install.php running but immediately got the install.php error shown below.
Choose language
The following error must be resolved before you can continue the installation process:
In your /./sites/default/settings.php/ file you have configured Drupal to use a // server, however your PHP installation currently does not support this database type.
* Install Drupal in English http://cruncher/drupal6/install.php?profile=default&locale=en * Learn how to install Drupal in other languages http://cruncher/drupal6/install.php?profile=default&localize=true
Please check the error messages and try again http://cruncher/drupal6/install.php?profile=default.
When I finally found settings.php, the file had been automatically generated by the .deb installation script. There is nothing obviously wrong with it. Debian notes say to use install.php at this point to populate the data tables. Obviously this is not going to happen until the above error is fixed.
Any suggestions.
Gary R.
I've installed Drupal many times on Debian servers (I also built the servers) and I've never even thought about trying to install from .deb using apt. They were always very outdated versions of Drupal. Install Drupal from the tar file according to the Drupal install instructions on a Debian server and it will work like a charm.
Neil
On Sun, Sep 19, 2010 at 10:59 PM, Gary Roach gary719_list1@verizon.netwrote:
I am trying to get a Debian Linux, Apache2, MySQL, PHP5 system going. All of the instructions that I find assume that I am installing from a tar file or some such. Debian installs everything, including the config files, automatically. The Dbian installation differs significantly from the documentation. I finally got Apache2, MySQL and /drupal6/install.php running but immediately got the install.php error shown below. Choose language The following error must be resolved before you can continue the installation process: In your *./sites/default/settings.php* file you have configured Drupal to use a ** server, however your PHP installation currently does not support this database type.
- Install Drupal in Englishhttp://cruncher/drupal6/install.php?profile=default&locale=en
- Learn how to install Drupal in other languageshttp://cruncher/drupal6/install.php?profile=default&localize=true
Please check the error messages and try againhttp://cruncher/drupal6/install.php?profile=default .
When I finally found settings.php, the file had been automatically generated by the .deb installation script. There is nothing obviously wrong with it. Debian notes say to use install.php at this point to populate the data tables. Obviously this is not going to happen until the above error is fixed.
Any suggestions.
Gary R.
-- [ Drupal support list | http://lists.drupal.org/ ]
I don't know about Drupal package which comes with Debian, but it seems from what you say that instructions are the same as in standard drupal and not really ideal for your installation.
Anyways, googling your error message brings me to this: http://www.mkyong.com/web-development/drupal-error-php-installation-currentl...
It's not quite the same, but maybe close enough.
Do you know where your settings.php file is in the first place. If not, maybe use $ locate sites/default/settings.php
If you read settings.php carefully, the comments there should tell you what to do. I guess you need to set the database settings $db_url
Other things that come to mind are checking if mysqls really runs and if it is accessible from php (via phpinfo()).
hope that helps
On Sun, Sep 19, 2010 at 10:59 PM, Gary Roach gary719_list1@verizon.netwrote:
I am trying to get a Debian Linux, Apache2, MySQL, PHP5 system going. All of the instructions that I find assume that I am installing from a tar file or some such. Debian installs everything, including the config files, automatically. The Dbian installation differs significantly from the documentation. I finally got Apache2, MySQL and /drupal6/install.php running but immediately got the install.php error shown below. Choose language The following error must be resolved before you can continue the installation process: In your *./sites/default/settings.php* file you have configured Drupal to use a ** server, however your PHP installation currently does not support this database type.
- Install Drupal in Englishhttp://cruncher/drupal6/install.php?profile=default&locale=en
- Learn how to install Drupal in other languageshttp://cruncher/drupal6/install.php?profile=default&localize=true
Please check the error messages and try againhttp://cruncher/drupal6/install.php?profile=default .
When I finally found settings.php, the file had been automatically generated by the .deb installation script. There is nothing obviously wrong with it. Debian notes say to use install.php at this point to populate the data tables. Obviously this is not going to happen until the above error is fixed.
Any suggestions.
Gary R.
-- [ Drupal support list | http://lists.drupal.org/ ]
Looking at something a bit more mundane, is this any help? https://drupal.org/node/177322
-Don-
On 9/19/2010 10:59 PM, Gary Roach wrote:
I am trying to get a Debian Linux, Apache2, MySQL, PHP5 system going. All of the instructions that I find assume that I am installing from a tar file or some such. Debian installs everything, including the config files, automatically. The Dbian installation differs significantly from the documentation. I finally got Apache2, MySQL and /drupal6/install.php running but immediately got the install.php error shown below.
Choose language The following error must be resolved before you can continue the installation process:In your /./sites/default/settings.php/ file you have configured Drupal to use a // server, however your PHP installation currently does not support this database type.
* Install Drupal in English <http://cruncher/drupal6/install.php?profile=default&locale=en> * Learn how to install Drupal in other languages <http://cruncher/drupal6/install.php?profile=default&localize=true>Please check the error messages and try again http://cruncher/drupal6/install.php?profile=default.
When I finally found settings.php, the file had been automatically generated by the .deb installation script. There is nothing obviously wrong with it. Debian notes say to use install.php at this point to populate the data tables. Obviously this is not going to happen until the above error is fixed.
Any suggestions.
Gary R.
See my recent article VPS! Getting Drupal up and running on a linode (revisited) http://awebfactory.com.ar/node/444 It assumes Ubuntu 9.04, but should work for Debian,
Victor Kane http://awebfactory.com.ar http://projectflowandtracker.com
On Sun, Sep 19, 2010 at 11:59 PM, Gary Roach gary719_list1@verizon.netwrote:
I am trying to get a Debian Linux, Apache2, MySQL, PHP5 system going. All of the instructions that I find assume that I am installing from a tar file or some such. Debian installs everything, including the config files, automatically. The Dbian installation differs significantly from the documentation. I finally got Apache2, MySQL and /drupal6/install.php running but immediately got the install.php error shown below. Choose language The following error must be resolved before you can continue the installation process: In your *./sites/default/settings.php* file you have configured Drupal to use a ** server, however your PHP installation currently does not support this database type.
- Install Drupal in Englishhttp://cruncher/drupal6/install.php?profile=default&locale=en
- Learn how to install Drupal in other languageshttp://cruncher/drupal6/install.php?profile=default&localize=true
Please check the error messages and try againhttp://cruncher/drupal6/install.php?profile=default .
When I finally found settings.php, the file had been automatically generated by the .deb installation script. There is nothing obviously wrong with it. Debian notes say to use install.php at this point to populate the data tables. Obviously this is not going to happen until the above error is fixed.
Any suggestions.
Gary R.
-- [ Drupal support list | http://lists.drupal.org/ ]
I took Neal Adairs advice and used the tar.gz file. I also ripped out the old installation and re-installed using XAMPP. Everything went smoothly with all of the installation going into a new /opt directory. I used phpmyadmin to create a "me" user and a "drupal" database. I then ran http://localhost/drupal. Everything progressed in an orderly manner until I got to the "Setup Database" item. I filled in the required data and punched "Save and Continue." The browser flashed done, the blank form returned with no error messages but drupal didn't go to "Install Site". I repeated this a couple of times with the same results. Any suggestions.
Thanks everyone for your support.
Gary R.
On Sun, Sep 19, 2010 at 11:59 PM, Gary Roach <gary719_list1@verizon.net mailto:gary719_list1@verizon.net> wrote:
I am trying to get a Debian Linux, Apache2, MySQL, PHP5 system going. All of the instructions that I find assume that I am installing from a tar file or some such. Debian installs everything, including the config files, automatically. The Dbian installation differs significantly from the documentation. I finally got Apache2, MySQL and /drupal6/install.php running but immediately got the install.php error shown below. In your /./sites/default/settings.php/ file you have configured Drupal to use a // server, however your PHP installation currently does not support this database type. Please check the error messages and try again <http://cruncher/drupal6/install.php?profile=default>. When I finally found settings.php, the file had been automatically generated by the .deb installation script. There is nothing obviously wrong with it. Debian notes say to use install.php at this point to populate the data tables. Obviously this is not going to happen until the above error is fixed. Any suggestions. Gary R. -- [ Drupal support list | http://lists.drupal.org/ ]
A couple of questions come to mind
- What do you get if go to http://localhost/index.php or http://localhost/drupal/index.php in our browser? (Assuming that you use standard port 80, local host and, possibly, as the url you provide suggests, drupal as a subdirectory in server root.) - If you look at database thru phpmyadmin you should be able to verify that database got populated with many tables. Right? - Did you set the necessary rights for database user and database? I think they are listed in INSTALL.TXT, or on d.o: http://drupal.org/getting-started/6/install/create-database
Maybe you just have a look at INSTALL.TXT.
best maurice
On Mon, Sep 20, 2010 at 1:10 PM, Gary Roach gary719_list1@verizon.netwrote:
I took Neal Adairs advice and used the tar.gz file. I also ripped out the old installation and re-installed using XAMPP. Everything went smoothly with all of the installation going into a new /opt directory. I used phpmyadmin to create a "me" user and a "drupal" database. I then ran http://localhost/drupal. Everything progressed in an orderly manner until I got to the "Setup Database" item. I filled in the required data and punched "Save and Continue." The browser flashed done, the blank form returned with no error messages but drupal didn't go to "Install Site". I repeated this a couple of times with the same results. Any suggestions.
Thanks everyone for your support.
Gary R.
On Sun, Sep 19, 2010 at 11:59 PM, Gary Roach gary719_list1@verizon.netwrote:
I am trying to get a Debian Linux, Apache2, MySQL, PHP5 system going. All of the instructions that I find assume that I am installing from a tar file or some such. Debian installs everything, including the config files, automatically. The Dbian installation differs significantly from the documentation. I finally got Apache2, MySQL and /drupal6/install.php running but immediately got the install.php error shown below.
In your *./sites/default/settings.php* file you have configured Drupal to use a ** server, however your PHP installation currently does not support this database type.
Please check the error messages and try againhttp://cruncher/drupal6/install.php?profile=default .
When I finally found settings.php, the file had been automatically generated by the .deb installation script. There is nothing obviously wrong with it. Debian notes say to use install.php at this point to populate the data tables. Obviously this is not going to happen until the above error is fixed.
Any suggestions.
Gary R.
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Reply to Maurice: localhost/index.php -> XAMPP Welcome Page localhost/drupal/index.php -> Drupal Setup Page (same as with localhost/drupal)
phpmyadmin shows that the drupal database exists and has "All, Grant" privileges. MySQL is the same. The database engine should be wide open. *No tables were created by drupal setup.* This seems to conform to the requirements of the references.
Gary R.
On 09/20/2010 11:04 AM, Maurice Mengel wrote:
A couple of questions come to mind
* What do you get if go to http://localhost/index.php or http://localhost/drupal/index.php in our browser? (Assuming that you use standard port 80, local host and, possibly, as the url you provide suggests, drupal as a subdirectory in server root.) * If you look at database thru phpmyadmin you should be able to verify that database got populated with many tables. Right? * Did you set the necessary rights for database user and database? I think they are listed in INSTALL.TXT, or on d.o: http://drupal.org/getting-started/6/install/create-databaseMaybe you just have a look at INSTALL.TXT.
best maurice
On Mon, Sep 20, 2010 at 1:10 PM, Gary Roach <gary719_list1@verizon.net mailto:gary719_list1@verizon.net> wrote:
I took Neal Adairs advice and used the tar.gz file. I also ripped out the old installation and re-installed using XAMPP. Everything went smoothly with all of the installation going into a new /opt directory. I used phpmyadmin to create a "me" user and a "drupal" database. I then ran http://localhost/drupal. Everything progressed in an orderly manner until I got to the "Setup Database" item. I filled in the required data and punched "Save and Continue." The browser flashed done, the blank form returned with no error messages but drupal didn't go to "Install Site". I repeated this a couple of times with the same results. Any suggestions. Thanks everyone for your support. Gary R.On Sun, Sep 19, 2010 at 11:59 PM, Gary Roach <gary719_list1@verizon.net <mailto:gary719_list1@verizon.net>> wrote: I am trying to get a Debian Linux, Apache2, MySQL, PHP5 system going. All of the instructions that I find assume that I am installing from a tar file or some such. Debian installs everything, including the config files, automatically. The Dbian installation differs significantly from the documentation. I finally got Apache2, MySQL and /drupal6/install.php running but immediately got the install.php error shown below. In your /./sites/default/settings.php/ file you have configured Drupal to use a // server, however your PHP installation currently does not support this database type. Please check the error messages and try again <http://cruncher/drupal6/install.php?profile=default>. When I finally found settings.php, the file had been automatically generated by the .deb installation script. There is nothing obviously wrong with it. Debian notes say to use install.php at this point to populate the data tables. Obviously this is not going to happen until the above error is fixed. Any suggestions. Gary R. -- [ Drupal support list | http://lists.drupal.org/ ]-- [ Drupal support list | http://lists.drupal.org/ ]
After successfully running thru the update.php, drupal should have created many tables inside the database. If it didn't, something is wrong. Usually drupal tells me if it has any kind of problem with the database setup during this step, but from what you say, it didn't complain. Hence a strange error.
I still guess it's due to the database rights. INSTALL.mysql.txt says you need GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER for your database drupal and your user. I avoid phpmysql admin, so I don't know how exactly to do this best with this tool. I don't know what "All, Grant" means exactly. Does it really mean grant all rights? Are you sure you are looking in the right db? Maybe need to flush privileges? Are you sure you are looking at the right db? From what you said earlier it seems you called it "drupal".
I think you are almost there and the next time it will be easier!
best Maurice
On Mon, Sep 20, 2010 at 2:48 PM, Gary Roach gary719_list1@verizon.netwrote:
Reply to Maurice: localhost/index.php -> XAMPP Welcome Page localhost/drupal/index.php -> Drupal Setup Page (same as with localhost/drupal)
phpmyadmin shows that the drupal database exists and has "All, Grant"privileges. MySQL is the same. The database engine should be wide open. *No tables were created by drupal setup.* This seems to conform to the requirements of the references.
Gary R.
On 09/20/2010 11:04 AM, Maurice Mengel wrote:
A couple of questions come to mind
- What do you get if go to http://localhost/index.php or
http://localhost/drupal/index.php in our browser? (Assuming that you use standard port 80, local host and, possibly, as the url you provide suggests, drupal as a subdirectory in server root.)
- If you look at database thru phpmyadmin you should be able to verify
that database got populated with many tables. Right?
- Did you set the necessary rights for database user and database? I
think they are listed in INSTALL.TXT, or on d.o: http://drupal.org/getting-started/6/install/create-database
Maybe you just have a look at INSTALL.TXT.
best maurice
On Mon, Sep 20, 2010 at 1:10 PM, Gary Roach gary719_list1@verizon.netwrote:
I took Neal Adairs advice and used the tar.gz file. I also ripped out the old installation and re-installed using XAMPP. Everything went smoothly with all of the installation going into a new /opt directory. I used phpmyadmin to create a "me" user and a "drupal" database. I then ran http://localhost/drupal. Everything progressed in an orderly manner until I got to the "Setup Database" item. I filled in the required data and punched "Save and Continue." The browser flashed done, the blank form returned with no error messages but drupal didn't go to "Install Site". I repeated this a couple of times with the same results. Any suggestions.
Thanks everyone for your support.
Gary R.
On Sun, Sep 19, 2010 at 11:59 PM, Gary Roach <gary719_list1@verizon.net
wrote:
I am trying to get a Debian Linux, Apache2, MySQL, PHP5 system going. All of the instructions that I find assume that I am installing from a tar file or some such. Debian installs everything, including the config files, automatically. The Dbian installation differs significantly from the documentation. I finally got Apache2, MySQL and /drupal6/install.php running but immediately got the install.php error shown below.
In your *./sites/default/settings.php* file you have configured Drupal to use a **server, however your PHP installation currently does not support this database type.
Please check the error messages and try againhttp://cruncher/drupal6/install.php?profile=default .
When I finally found settings.php, the file had been automatically generated by the .deb installation script. There is nothing obviously wrong with it. Debian notes say to use install.php at this point to populate the data tables. Obviously this is not going to happen until the above error is fixed.
Any suggestions.
Gary R.
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
I finally decided that my hangup problem was due to the old installation of mysql that I couldn't seem to completely strip from the system. I re-installed the operating system and did a desktop only installation. I then used XAMPP to create the web site. I loaded up Drupal and everything works fine. Tip: don't leave an old copy of MySQL on your system. It can screw everything up.
Thanks everyone.
Gary R.
On 09/20/2010 12:45 PM, Maurice Mengel wrote:
After successfully running thru the update.php, drupal should have created many tables inside the database. If it didn't, something is wrong. Usually drupal tells me if it has any kind of problem with the database setup during this step, but from what you say, it didn't complain. Hence a strange error.
I still guess it's due to the database rights. INSTALL.mysql.txt says you need GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER for your database drupal and your user. I avoid phpmysql admin, so I don't know how exactly to do this best with this tool. I don't know what "All, Grant" means exactly. Does it really mean grant all rights? Are you sure you are looking in the right db? Maybe need to flush privileges? Are you sure you are looking at the right db? From what you said earlier it seems you called it "drupal".
I think you are almost there and the next time it will be easier!
best Maurice
On Mon, Sep 20, 2010 at 2:48 PM, Gary Roach <gary719_list1@verizon.net mailto:gary719_list1@verizon.net> wrote:
Reply to Maurice: localhost/index.php -> XAMPP Welcome Page localhost/drupal/index.php -> Drupal Setup Page (same as with localhost/drupal) phpmyadmin shows that the drupal database exists and has "All, Grant" privileges. MySQL is the same. The database engine should be wide open. *No tables were created by drupal setup.* This seems to conform to the requirements of the references. Gary R. On 09/20/2010 11:04 AM, Maurice Mengel wrote:A couple of questions come to mind * What do you get if go to http://localhost/index.php or http://localhost/drupal/index.php in our browser? (Assuming that you use standard port 80, local host and, possibly, as the url you provide suggests, drupal as a subdirectory in server root.) * If you look at database thru phpmyadmin you should be able to verify that database got populated with many tables. Right? * Did you set the necessary rights for database user and database? I think they are listed in INSTALL.TXT, or on d.o: http://drupal.org/getting-started/6/install/create-database Maybe you just have a look at INSTALL.TXT. best maurice On Mon, Sep 20, 2010 at 1:10 PM, Gary Roach <gary719_list1@verizon.net <mailto:gary719_list1@verizon.net>> wrote: I took Neal Adairs advice and used the tar.gz file. I also ripped out the old installation and re-installed using XAMPP. Everything went smoothly with all of the installation going into a new /opt directory. I used phpmyadmin to create a "me" user and a "drupal" database. I then ran http://localhost/drupal. Everything progressed in an orderly manner until I got to the "Setup Database" item. I filled in the required data and punched "Save and Continue." The browser flashed done, the blank form returned with no error messages but drupal didn't go to "Install Site". I repeated this a couple of times with the same results. Any suggestions. Thanks everyone for your support. Gary R.On Sun, Sep 19, 2010 at 11:59 PM, Gary Roach <gary719_list1@verizon.net <mailto:gary719_list1@verizon.net>> wrote: I am trying to get a Debian Linux, Apache2, MySQL, PHP5 system going. All of the instructions that I find assume that I am installing from a tar file or some such. Debian installs everything, including the config files, automatically. The Dbian installation differs significantly from the documentation. I finally got Apache2, MySQL and /drupal6/install.php running but immediately got the install.php error shown below. In your /./sites/default/settings.php/ file you have configured Drupal to use a //server, however your PHP installation currently does not support this database type. Please check the error messages and try again <http://cruncher/drupal6/install.php?profile=default>. When I finally found settings.php, the file had been automatically generated by the .deb installation script. There is nothing obviously wrong with it. Debian notes say to use install.php at this point to populate the data tables. Obviously this is not going to happen until the above error is fixed. Any suggestions. Gary R. -- [ Drupal support list | http://lists.drupal.org/ ]-- [ Drupal support list | http://lists.drupal.org/ ]-- [ Drupal support list | http://lists.drupal.org/ ]