• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
Table of Contents
PHP - Encountered problem in running php file: ................................................................................2PHP - Cannot load mysql extension. ...................................................................................................21.20 I receive the error "cannot load MySQL extension, please check PHP Configuration".................................................................................................................................................2PHP - Fatal error: Call to undefined function mysql_connect() ..........................................................2Helpful Links........................................................................................................................................4
 
10/16/09
PHP - Encountered problem in running php file:
* Php not running; codes shown instead of page contents; asks to download the php file
Solutions1. Returned the orignal path of root- DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"- ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2"2. Downloaded php zip file in php.net3. Create php folder in C:\4. Extract the downloaded php files in C:\Php5. Create a copy of php.ini-recommended save as php.ini6. Configure php.ini (modified/added the following)- create the folder “tmp” in “c:\php”- ;session.save_path = "/tmp" >> session.save_path = "c:\php\tmp”- display errors = on- default_display_errors = on7. Configure httpd.conf (APACHE - added the following)- AddType application/x-httpd-php .php- AddType application/x-httpd-php-source .phps- LoadModule php5_module "c:/php/php5apache2_2.dll"- PHPIniDir "c:/php"MySQL administratorexplore; created a tableNetBeansexplore; created login form; add record to databasehttp://www.thesitewizard.com/php/install-php-5-apache-windows.shtml10/17/09
PHP - Cannot load mysql extension.
Please check your PHP configuration. - Documentation
To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL extension".This extension may be part of the PHP distribution (compiled-in), otherwise it needs to be loadeddynamically. Its name is probably
mysql.so
or 
 php_mysql.dll 
. phpMyAdmin tried to load theextension but failed.Usually, the problem is solved by installing a software package called "PHP-MySQL" or somethingsimilar.
10/19/09
PHP - Fatal error: Call to undefined function mysql_connect()
(in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\Ruvina\login.php online 6)
http://forums.mysql.com/read.php?52,98383,176785#msg-176785http://www.ricocheting.com/server/php.html
 
If you are using Windows XP with ApacheIf you are using Apache instead of IIS, copy the following files php5apache2.dll php5ts.dll php_mysql.dlllibmysql.dlllibmysqli.dllin toc:\windows\system32The 5 files are available for download hereRestart Apache before you view the pages. >>>>> 
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...