PhP and MySQL

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Pookie
-


Joined: 05 Jan 2005
Posts: 60
Location: Citrus Heights, CA

PostPosted: Sun Feb 12, 2006 6:28 pm    Post subject: PhP and MySQL Reply with quote

Im trying to install Coppermine Photo Gallery for my website and it tells me to run the install.php file from my browser to set things up. It wants me to put in my MySQL infoo, after i enter that in and try to go to the next page i get this error :

PHP does not have MySQL support enabled.

I went to my php.ini fiole and put in the MySQL info and saved it, ran the setup again and im getting the same error.

Im using PHP 5, and MySQL 5
_________________
~TRU~
Back to top View user's profile Send private message Send e-mail
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Sun Feb 12, 2006 6:50 pm    Post subject: Reply with quote

Did you uncomment the MySQL extension?
Back to top View user's profile Send private message Send e-mail
Pookie
-


Joined: 05 Jan 2005
Posts: 60
Location: Citrus Heights, CA

PostPosted: Sun Feb 12, 2006 6:52 pm    Post subject: Reply with quote

probably a silly question but how do i do that?
_________________
~TRU~
Back to top View user's profile Send private message Send e-mail
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Sun Feb 12, 2006 7:29 pm    Post subject: Reply with quote

Look for the extension in the php.ini
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Pookie
-


Joined: 05 Jan 2005
Posts: 60
Location: Citrus Heights, CA

PostPosted: Sun Feb 12, 2006 7:53 pm    Post subject: Reply with quote

yea its listed:

;extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_dbx.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_iisfunc.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_java.dll
;extension=php_ldap.dll
;extension=php_mbstring.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_pdf.dll
;extension=php_pgsql.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_sockets.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_w32api.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
;extension=php_yaz.dll
;extension=php_zip.dll
_________________
~TRU~
Back to top View user's profile Send private message Send e-mail
Moxxnixx
-


Joined: 21 Jun 2003
Posts: 1226
Location: Florida

PostPosted: Sun Feb 12, 2006 8:09 pm    Post subject: Reply with quote

Delete the ";" symbol at the beginning of the line and save.
Back to top View user's profile Send private message Visit poster's website
Pookie
-


Joined: 05 Jan 2005
Posts: 60
Location: Citrus Heights, CA

PostPosted: Sun Feb 12, 2006 8:55 pm    Post subject: Reply with quote

thats been done, but getting the same error.

I have 2 hard drives on my computer and i usually use the secondary E:\ hard drive until it started to slow down from all the programs installed on it so now im using my main C:\ drive. my php.ini file is located at E:\Windows\php.ini because thats the hard drive i have php installed on. could this be the problem? and that i need to install php to my C:\ drive?
_________________
~TRU~
Back to top View user's profile Send private message Send e-mail
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Mon Feb 13, 2006 12:30 am    Post subject: Reply with quote

Try restarting Abyss
Back to top View user's profile Send private message Send e-mail
Pookie
-


Joined: 05 Jan 2005
Posts: 60
Location: Citrus Heights, CA

PostPosted: Mon Feb 13, 2006 3:16 am    Post subject: Reply with quote

that didnt work. im going to install php onto the C:\ drive and copy the new php.ini file with the 1 thats already setup
_________________
~TRU~
Back to top View user's profile Send private message Send e-mail
heathman
-


Joined: 04 May 2006
Posts: 4

PostPosted: Thu May 04, 2006 7:34 am    Post subject: Reply with quote

I have been attempting to add mysql and php to abyss, and everytime i try, i have mysql 4 and php 5 now because mysql 5 didnt work correctly, anyway everytime i try i get this error "e107 requires PHP to be installed or compiled with the MySQL extension to work correctly, please see the MySQL manual for more information." can anyone help me? ive been trying for a while now...
Back to top View user's profile Send private message Send e-mail
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Thu May 04, 2006 8:12 am    Post subject: Reply with quote

http://www.abyssunderground.co.uk/awsfaq.php?page=cannot_load_mysql_extension Do this :-)
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
heathman
-


Joined: 04 May 2006
Posts: 4

PostPosted: Fri May 05, 2006 5:25 am    Post subject: Reply with quote

It begins to work loading the php support but then it begins having .dll errors, OCI.dll and isqlt09a.dll, also libcs.dll, it says

Php-CGI.exe - Unable to locate Component
This application failed to start because XXXXX.dll was not found. try reinstalling this application to fix problem.

I tried and it failed again can anyone help me?
Back to top View user's profile Send private message Send e-mail
heathman
-


Joined: 04 May 2006
Posts: 4

PostPosted: Fri May 05, 2006 5:37 am    Post subject: Reply with quote

Never mind i finally got it working again... lol i was trying to use oracle dlls on a different system, retard me.. anyway thanks for your help it was much appreciative

-Michael
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group