For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > July 2007 > Re: [PHP-INSTALL] Need Some tehnical Help









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] Need Some tehnical Help
Janet Valade

2007-06-11, 7:00 pm

twesigye Benda Wence wrote:
> I have installed MySQL Community server and PHP 5.2.2( installed
> manually, no installer) on my pc
> I configured php with IIS (version 5) properly.
> If I open a php file in a webbrowser(internet explorer), it works as
> expected but if the php file has
> code to extract data from mysql server, the web browser returns an empty
> page; no error is displayed.
>
> Previously, i copied the php.ini-dist file then pasted and renamed it to
> php.ini into the C:\windows folder.
> and made sure that the line extension=php_mysql.dll was un commented. By
> then the browser would report a
> Fatal error : call to un defined function mysql_connect().
>
> Currently I used php.ini-recommended instead of php.ini-dist and neither
> errors are displayed nor is anything
> returned, only an empty page instead of dynamic data from the mysql
> database.


The reason you are not getting an error message now is that error
messages are turned off in php.ini. The error is still the same, but it
is no longer being displayed. You can add the following lines to the top
of your script to turn the errors on temporarily so you can see the
error messages:

error_reporting(E_ALL);
ini_set("display_errors",1);


> Generally both PHP and MySQl work properly independlty but cannot
> connect. I have researched all manuals and all I get
> is confusion.


The error message means that you have not activated MySQL support. You
must uncomment the line php_mysql.dll extension line in php.ini and you
must locate the files php_mysql.dll and libmysql.dll where PHP can find
them. You say you did uncomment the line. Perhaps you need to restart
your web server after the change. The best way to locate the .dll files
for PHP to find them is to put them in the main PHP directory and add
the main PHP directory to your system path.

Janet

> I humbly request for technical help.
>
> _My PC Environment_
> -windows XP service pack 2.
> -IIS version 5.
> -PHP 5.2.2 (No Installer).
> -MySQL Community server 5.0.41-win32.
> -Running PHP as ISAPI module.
> ((..all on one machine...)
>
>
> /Twesigye Wence Benda/
> /Kyambogo University/
> /Department of Computer Science/
> /Bsc.ITC/
> *E-mail:*/twenceb@yahoo.com/
> *Mob:* /+256712-252366/
>
> ------------------------------------------------------------------------
> Yahoo! oneSearch: Finally, mobile search that gives answers
> <http://us.rd.yahoo.com/evt=48252/*h...ch?refer=1ONXIC>,
> not web links.



--
Janet Valade -- janet.valade.com
Iran

2007-06-24, 1:20 pm

AdultTube: free adult videos online
http://nuteen.ifastnet.com/
Idntcare

2007-06-29, 11:45 pm

Paris Hilton stripping down in the garden!
http://www.thetubetech.com/Watch?watch=1673286

Hilary Swank Banged & Cum Swallowing!
http://www.thetubetech.com/Player.php?vid=1673286

Paula Abdul , Hot anal action!
http://www.thetubetech.com/WatchMovie?watch=1673286

Mariah Carey stripping in the kitchem!
http://www.thetubetech.com/d?movie=1673286

Alyssa Milano wearing black stockings and lace panties!
http://www.thetubetech.com/WindowsM...i?watch=1673286
Abanersterted

2007-07-13, 1:47 am

Laetitia Casta and Jessica Simpson Licking Pussy!
http://www.freedutchmovies.com/Wind...wmv?clip=148803

Alyssa Milano and Pamela Anderson At Pillow War Game!
http://www.freedutchmovies.com/watch?id=148803

Halle Berry and Olsen Twins Tongue Tickles Lesbian Lovers Pussy Movies!
http://www.freedutchmovies.com/WatchTube?clip=148803

Helen Hunt and Christina Aguilera Wrestling & Showing Ass!
http://www.freedutchmovies.com/Wind...r.mpeg?q=148803

Lindsay Lohan and Pamela Anderson Knee Socks Suck Cocks!
http://www.freedutchmovies.com/Play...gi?watch=148803
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com