Help with apache Mysql Php (Solved)
Moderator: General Moderators
Help with apache Mysql Php (Solved)
Hi im tryin to get a website runnin from my computer,Im running into problems while tryin to install postnuke it keeps saying no database made error on line 350,Which leads me to believe there is something not happening with mySql5 or Php5,Im new to almost everything So any advice would help Thank's.
P.s if there is another post about this im sorry i looked thru alot of post's and didn't find nething so a link would be awesome Thanks again
P.s if there is another post about this im sorry i looked thru alot of post's and didn't find nething so a link would be awesome Thanks again
Last edited by Rodeo on Fri Mar 10, 2006 10:47 pm, edited 1 time in total.
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
http://docs.postnuke.com/index.php?modu ... id=8&pid=1 may be of help.
i tried useing that page and it's telling me to install phpmyadmin which i try to do but with no luck i install mysql after i installed php and apache would that make a diffrence when tryin to get a database to use?
Is there something ez i can use to make a website on my computer? like a program that does all this for me i just want to use postnuke Anyone know?
Is there something ez i can use to make a website on my computer? like a program that does all this for me i just want to use postnuke Anyone know?
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
What errors are you getting from phpMyAdmin? Are you sure the database username you supplied to your app are good and that they have the correct database permissions? There are lot of things that might be causing your problems. A little more information might be useful.Rodeo wrote:i have tried the myadmin i can't seem to get it working either ;\
are you sure that the phpmyadmin is configured correctly? are you sure that MYSQL is even runing in the background? in linux,try using the command
for windows,check out the services panel or run the mysql command client shortcut and see if it is runnng.
i think that the best bet is that your permissions are wrong somehow.
Code: Select all
/etc/init.d/mysql restarti think that the best bet is that your permissions are wrong somehow.
in mysql i can create a database with the Create database test;
and it says ok but i can't seem to get postnuke to install when usein the database,
it says can't create database i have tried clickin the create database and without.im not sure if im supposed to use localhost or not, this is the link that my site has
http://rodeos.dyndns.org:1500/ Thank's for any advice
this is the error it says
No database made.
Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\htdocs\includes\classes\adodb\drivers\adodb-mysql.inc.php on line 350
and it says ok but i can't seem to get postnuke to install when usein the database,
it says can't create database i have tried clickin the create database and without.im not sure if im supposed to use localhost or not, this is the link that my site has
http://rodeos.dyndns.org:1500/ Thank's for any advice
this is the error it says
No database made.
Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\htdocs\includes\classes\adodb\drivers\adodb-mysql.inc.php on line 350
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Well that says it right there. PHP 5 doesn't have MySQL built-in. You've got to load the extension.Rodeo wrote:Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\htdocs\includes\classes\adodb\drivers\adodb-mysql.inc.php on line 350
Open your php.ini, find the extensions section, uncomment or add extension=php_mysql.dll and extension=php_mysqli.dll. Save the file and restart Apache.
you said open the php.ini in the c:\php folder correct? if so should it look like this?
; Windows Extensions
; Note that ODBC support is built in, so no dll is needed for it.
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
; extension folders as well as the separate PECL DLL download (PHP 5).
; Be sure to appropriately set the extension_dir directive.
;extension=php_mbstring.dll
;extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
;extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_mssql.dll
;extension=php_msql.dll
;extension=php_mysql.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
;extension=php_oracle.dll
;extension=php_pgsql.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_sockets.dll
;extension=php_sqlite.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
extension=php_mysql.dll
extension=php_mysqli.dll
and if im useing php5 should i put the php_mysql5.dll?thanks for the advice
; Windows Extensions
; Note that ODBC support is built in, so no dll is needed for it.
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
; extension folders as well as the separate PECL DLL download (PHP 5).
; Be sure to appropriately set the extension_dir directive.
;extension=php_mbstring.dll
;extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
;extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_mssql.dll
;extension=php_msql.dll
;extension=php_mysql.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
;extension=php_oracle.dll
;extension=php_pgsql.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_sockets.dll
;extension=php_sqlite.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
extension=php_mysql.dll
extension=php_mysqli.dll
and if im useing php5 should i put the php_mysql5.dll?thanks for the advice
ok i got everything working except one thing.For some reason i can't use my
http://rodeos.dyndns.org:3000 for it to go to the site i have to go to http://127.0.0.1/
How do i change this so it will use the other link so everyone can go to my site,Any advice is a help thanks
http://rodeos.dyndns.org:3000 for it to go to the site i have to go to http://127.0.0.1/
How do i change this so it will use the other link so everyone can go to my site,Any advice is a help thanks