Connecting Tech Pros Worldwide Forums | Help | Site Map

php5 upgrade problem - mysql not working now

Hal Halloway
Guest
 
Posts: n/a
#1: Jul 17 '05
I'm trying to go from PHP4 to PHP5, all seemed OK until I tried to
connect to a MYSQl DB. Then I get the error message:

Fatal error: Call to undefined function mysql_pconnect() in C:\Program
Files\Apache Group\Apache2\htdocs\search010.php on line 59

This was working OK in PHP4. Wondered what the fix is?

Thanks.

Hal Halloway
Guest
 
Posts: n/a
#2: Jul 17 '05

re: php5 upgrade problem - mysql not working now


Hal Halloway wrote:
[color=blue]
> I'm trying to go from PHP4 to PHP5, all seemed OK until I tried to
> connect to a MYSQl DB. Then I get the error message:
>
> Fatal error: Call to undefined function mysql_pconnect() in C:\Program
> Files\Apache Group\Apache2\htdocs\search010.php on line 59
>
> This was working OK in PHP4. Wondered what the fix is?
>
> Thanks.[/color]

I'm using windows2000
Hal Halloway
Guest
 
Posts: n/a
#3: Jul 17 '05

re: php5 upgrade problem - mysql not working now


Hal Halloway wrote:


http://www.dbforums.com/t1044828.html

has the answer!!!


[color=blue]
> Hal Halloway wrote:
>[color=green]
>> I'm trying to go from PHP4 to PHP5, all seemed OK until I tried to
>> connect to a MYSQl DB. Then I get the error message:
>>
>> Fatal error: Call to undefined function mysql_pconnect() in
>> C:\Program Files\Apache Group\Apache2\htdocs\search010.php on line 59
>>
>> This was working OK in PHP4. Wondered what the fix is?
>>
>> Thanks.[/color]
>
>
> I'm using windows2000[/color]
Closed Thread


Similar PHP bytes