PHP Issue

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


Joined: 24 Jul 2004
Posts: 12

PostPosted: Sat Jul 31, 2004 2:33 pm    Post subject: PHP Issue Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Aug 02, 2004 3:17 am    Post subject: Re: PHP Issue Reply with quote

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 View user's profile Send private message Send e-mail
Toren
-


Joined: 24 Jul 2004
Posts: 12

PostPosted: Tue Aug 03, 2004 12:07 am    Post subject: reply Reply with quote

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 View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Wed Aug 04, 2004 3:39 am    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
simarjit
-


Joined: 07 Aug 2004
Posts: 6

PostPosted: Sun Aug 08, 2004 6:03 pm    Post subject: Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Aug 09, 2004 1:50 am    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail
simarjit
-


Joined: 07 Aug 2004
Posts: 6

PostPosted: Mon Aug 09, 2004 4:31 am    Post subject: Reply with quote

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 View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Mon Aug 09, 2004 8:54 pm    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Simsimius
-


Joined: 09 Aug 2004
Posts: 31

PostPosted: Tue Aug 10, 2004 7:30 pm    Post subject: Reply with quote

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 View user's profile Send private message
simarjit
-


Joined: 07 Aug 2004
Posts: 6

PostPosted: Tue Aug 10, 2004 8:05 pm    Post subject: Reply with quote

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 View user's profile Send private message
Powelly
-


Joined: 11 Aug 2004
Posts: 3

PostPosted: Wed Aug 11, 2004 10:39 pm    Post subject: Reply with quote

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 View user's profile Send private message
Powelly
-


Joined: 11 Aug 2004
Posts: 3

PostPosted: Wed Aug 11, 2004 10:44 pm    Post subject: Reply with quote

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 View user's profile Send private message
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Thu Aug 12, 2004 12:11 pm    Post subject: Reply with quote

In your Windows directory
_________________
Olly
Back to top View user's profile Send private message
Simsimius
-


Joined: 09 Aug 2004
Posts: 31

PostPosted: Thu Aug 12, 2004 7:44 pm    Post subject: Reply with quote

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 View user's profile Send private message
Simsimius
-


Joined: 09 Aug 2004
Posts: 31

PostPosted: Fri Aug 13, 2004 6:58 pm    Post subject: Reply with quote

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 View user's profile Send private message
prophecy2000
-


Joined: 30 Aug 2004
Posts: 3
Location: Marietta, Ohio, USA

PostPosted: Mon Aug 30, 2004 3:46 pm    Post subject: no php.ini Reply with quote

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 View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Olliecollie
-


Joined: 07 Sep 2004
Posts: 5

PostPosted: Sun Sep 12, 2004 10:40 am    Post subject: Re: no php.ini Reply with quote

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 View user's profile Send private message
k1ll3rdr4g0n
-


Joined: 04 Jul 2004
Posts: 609

PostPosted: Sun Sep 12, 2004 4:35 pm    Post subject: Re: no php.ini Reply with quote

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 View user's profile Send private message AIM Address
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