View previous topic :: View next topic |
Author |
Message |
Toren -
Joined: 24 Jul 2004 Posts: 12
|
Posted: Sat Jul 31, 2004 2:33 pm Post subject: PHP Issue |
|
|
I just installed php onto my server and when I try to view a php file it brings up this "The script directory setting is invalid" I followed the tutorial pretty thourly...and now it brings this up on any pages, what could be the problem? |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Aug 02, 2004 3:17 am Post subject: Re: PHP Issue |
|
|
Toren,
Try a basic script like:
Code: | <?php
phpinfo();
?> |
Do you have the same message? _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
Toren -
Joined: 24 Jul 2004 Posts: 12
|
Posted: Tue Aug 03, 2004 12:07 am Post subject: reply |
|
|
sorry i fixed that problem it had to with a script I have however I have a newer problem with my php though
I was trying to set up phpmyadmin and i got this error
cannot load MySQL extension,
please check PHP Configuration.
Documentation
I read that someone else had this issue put when getting new php files for it, the problem stayed. |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Wed Aug 04, 2004 3:39 am Post subject: |
|
|
1) In the php.ini file, find the extension "php_mysql.dll," and remove the semicolon from the front.
2) Download the PHP ZIP package.
3) Extract /extensions/php_mysql.dll into C:\PHP\
4) Problem solved. _________________ Bienvenidos! |
|
Back to top |
|
|
simarjit -
Joined: 07 Aug 2004 Posts: 6
|
Posted: Sun Aug 08, 2004 6:03 pm Post subject: |
|
|
Is the same solution apply to my problem.? or any Other.?
I got message after http://localhost/phpMyAdmin/
"cannot start MySQL Module
please control PHP Configration."
Dokumentasjon
All other conditions are Ok. eg.PHP MySQL
thanks ! |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Aug 09, 2004 1:50 am Post subject: |
|
|
simarjit wrote: | Is the same solution apply to my problem.? or any Other.?
I got message after http://localhost/phpMyAdmin/
"cannot start MySQL Module
please control PHP Configration."
Dokumentasjon
All other conditions are Ok. eg.PHP MySQL
|
Yes, that the same issue. You've got the error because PHP doesn't have MySQL support enabled. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
simarjit -
Joined: 07 Aug 2004 Posts: 6
|
Posted: Mon Aug 09, 2004 4:31 am Post subject: |
|
|
aprelium wrote: | simarjit wrote: | Is the same solution apply to my problem.? or any Other.?
I got message after http://localhost/phpMyAdmin/
"cannot start MySQL Module
please control PHP Configration."
Dokumentasjon
All other conditions are Ok. eg.PHP MySQL
|
Yes, that the same issue. You've got the error because PHP doesn't have MySQL support enabled. |
I have changed php.ini as "iNaNimAtE" mentioned
and Extracted /extensions/php_mysql.dll into C:\PHP\
But now same problem.!
In addition to same problem I am getting two new error messages
1 This application failed to start becauseLIBYSQL.dll was not found.Reinstalling application may be fix this.
2.PHP Startup:Unable to load dynamic library.'/php_mysql.dll' -This specified module could not be found.
Please help Me!!!!!!!! |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Mon Aug 09, 2004 8:54 pm Post subject: |
|
|
simarjit wrote: | I have changed php.ini as "iNaNimAtE" mentioned
and Extracted /extensions/php_mysql.dll into C:\PHP\
But now same problem.!
In addition to same problem I am getting two new error messages
1 This application failed to start becauseLIBYSQL.dll was not found.Reinstalling application may be fix this.
2.PHP Startup:Unable to load dynamic library.'/php_mysql.dll' -This specified module could not be found.
Please help Me!!!!!!!! |
Make sure you uncommented the php_mysql.dll in the php.ini file. _________________ Bienvenidos! |
|
Back to top |
|
|
Simsimius -
Joined: 09 Aug 2004 Posts: 31
|
Posted: Tue Aug 10, 2004 7:30 pm Post subject: |
|
|
simarjit wrote: | I have changed php.ini as "iNaNimAtE" mentioned
and Extracted /extensions/php_mysql.dll into C:\PHP\
But now same problem.!
In addition to same problem I am getting two new error messages
1 This application failed to start becauseLIBYSQL.dll was not found.Reinstalling application may be fix this.
2.PHP Startup:Unable to load dynamic library.'/php_mysql.dll' -This specified module could not be found.
Please help Me!!!!!!!! |
I have the exact same problem!! I've done everything you've all said!
I have PHP 5 and I think I have mysql 4.1.3b beta if that's any help.
I want to set all this up to be able to set up ZPanel!
Please please help!
________
OG KUSH
Last edited by Simsimius on Fri Feb 11, 2011 8:41 am; edited 1 time in total |
|
Back to top |
|
|
simarjit -
Joined: 07 Aug 2004 Posts: 6
|
Posted: Tue Aug 10, 2004 8:05 pm Post subject: |
|
|
Simsimius wrote: | simarjit wrote: | I have changed php.ini as "iNaNimAtE" mentioned
and Extracted /extensions/php_mysql.dll into C:\PHP\
But now same problem.!
In addition to same problem I am getting two new error messages
1 This application failed to start becauseLIBYSQL.dll was not found.Reinstalling application may be fix this.
2.PHP Startup:Unable to load dynamic library.'/php_mysql.dll' -This specified module could not be found.
Please help Me!!!!!!!! |
I have the exact same problem!! I've done everything you've all said!
I have PHP 5 and I think I have mysql 4.1.3b beta if that's any help.
I want to set all this up to be able to set up ZPanel!
Please please help! |
To Simsimius and all other have same problem
when u extracting php_mysql.dll into C:\PHP\
there is also one file named libmysql.dll in PHP5 directory.
Copy that also in your php installed dir.
Now try to http://localhost/phpMyAdmin
It should working.!!! |
|
Back to top |
|
|
Powelly -
Joined: 11 Aug 2004 Posts: 3
|
Posted: Wed Aug 11, 2004 10:39 pm Post subject: |
|
|
simarjit wrote: | Simsimius wrote: | simarjit wrote: | I have changed php.ini as "iNaNimAtE" mentioned
and Extracted /extensions/php_mysql.dll into C:\PHP\
But now same problem.!
In addition to same problem I am getting two new error messages
1 This application failed to start becauseLIBYSQL.dll was not found.Reinstalling application may be fix this.
2.PHP Startup:Unable to load dynamic library.'/php_mysql.dll' -This specified module could not be found.
Please help Me!!!!!!!! |
I have the exact same problem!! I've done everything you've all said!
I have PHP 5 and I think I have mysql 4.1.3b beta if that's any help.
I want to set all this up to be able to set up ZPanel!
Please please help! |
To Simsimius and all other have same problem
when u extracting php_mysql.dll into C:\PHP\
there is also one file named libmysql.dll in PHP5 directory.
Copy that also in your php installed dir.
Now try to http://localhost/phpMyAdmin
It should working.!!! |
I'v tried copying all the files in those directorys too there and still no luck.. |
|
Back to top |
|
|
Powelly -
Joined: 11 Aug 2004 Posts: 3
|
Posted: Wed Aug 11, 2004 10:44 pm Post subject: |
|
|
iNaNimAtE wrote: | 1) In the php.ini file, find the extension "php_mysql.dll," and remove the semicolon from the front.
2) Download the PHP ZIP package.
3) Extract /extensions/php_mysql.dll into C:\PHP\
4) Problem solved. |
Where is php.ini stored? |
|
Back to top |
|
|
olly86 -
Joined: 25 Apr 2003 Posts: 993 Location: Wiltshire, UK
|
Posted: Thu Aug 12, 2004 12:11 pm Post subject: |
|
|
In your Windows directory _________________ Olly |
|
Back to top |
|
|
Simsimius -
Joined: 09 Aug 2004 Posts: 31
|
Posted: Thu Aug 12, 2004 7:44 pm Post subject: |
|
|
Mine works now!!
Just stupid ZPanel troubles now!
________
OG KUSH
Last edited by Simsimius on Fri Feb 11, 2011 8:41 am; edited 1 time in total |
|
Back to top |
|
|
Simsimius -
Joined: 09 Aug 2004 Posts: 31
|
Posted: Fri Aug 13, 2004 6:58 pm Post subject: |
|
|
I know how to fix it now!
Put php_mysql.dll
into
C:\WINDOWS\system
This is how I fixed mine!
________
Top Penny Stocks
Last edited by Simsimius on Fri Feb 11, 2011 8:41 am; edited 1 time in total |
|
Back to top |
|
|
prophecy2000 -
Joined: 30 Aug 2004 Posts: 3 Location: Marietta, Ohio, USA
|
Posted: Mon Aug 30, 2004 3:46 pm Post subject: no php.ini |
|
|
I looked for php.ini in my windows directory, and it isn't there. I am using PHP 5.0.1 . I get the same error message:
cannot load MySQL extension,
please check PHP Configuration.
Documentation
I have no Idea where I went wrong. |
|
Back to top |
|
|
Olliecollie -
Joined: 07 Sep 2004 Posts: 5
|
Posted: Sun Sep 12, 2004 10:40 am Post subject: Re: no php.ini |
|
|
prophecy2000 wrote: | I looked for php.ini in my windows directory, and it isn't there. I am using PHP 5.0.1 . I get the same error message:
cannot load MySQL extension,
please check PHP Configuration.
Documentation
I have no Idea where I went wrong. |
DO THIS AND YOU HAVE NO PROBLEMS ANYMORE!!!!!
The problem is that php has set off the mysql support..
So, search for "extension=php_mysql.dll" in your php.ini and delete the ";"....
Now your problem is solved!!!!!! |
|
Back to top |
|
|
k1ll3rdr4g0n -
Joined: 04 Jul 2004 Posts: 609
|
Posted: Sun Sep 12, 2004 4:35 pm Post subject: Re: no php.ini |
|
|
prophecy2000 wrote: | I looked for php.ini in my windows directory, and it isn't there. I am using PHP 5.0.1 . I get the same error message:
cannot load MySQL extension,
please check PHP Configuration.
Documentation
I have no Idea where I went wrong. |
Goto start -> Find -> Files or folders and type in php.ini :) _________________
|
|
Back to top |
|
|
|