1 |
On 10/25/2020 06:30 PM, Remco Rijnders wrote: |
2 |
> On Sun, Oct 25, 2020 at 05:24:26PM -0600, thelma wrote in |
3 |
> <f091a4f7-7769-b1e8-3455-2e6af52dbe9a@×××××××××××.com>: |
4 |
>> The function in newer php "mysql_connect() or mysql_query()" were |
5 |
>> removed but I don't know starting from which version? |
6 |
>> |
7 |
>> I'm running PHP Version 5.6.33-pl0-gentoo and these function work. |
8 |
>> But I upgraded one of my system to php-5.6.40 and I'm getting an error: |
9 |
>> |
10 |
>> PHP Fatal error: Call to undefined function mysql_connect() in |
11 |
>> /var/www/catalog/admin/includes/functions/database.php on line 19 |
12 |
> |
13 |
> Hi Thelma, |
14 |
> |
15 |
> I think mysql support was not removed between the two versions you |
16 |
> mention. The PHP website says "This extension was deprecated in PHP |
17 |
> 5.5.0, and it was removed in PHP 7.0.0.", which would be a logical |
18 |
> point to do this. Could it be that your "use" flags for PHP changed? |
19 |
> Make sure to emerge PHP with the mysql use flag to build with mysql |
20 |
> database support. |
21 |
> |
22 |
> I hope this helps. |
23 |
> |
24 |
> Kind regards, |
25 |
> |
26 |
> Remco |
27 |
|
28 |
I'm running the osCommerce server and upgraded one of the box to apache 2.4 |
29 |
The server is running OK but I can not access admin: |
30 |
|
31 |
"apache 2.4 you don't have permission to access /index.php on this server" |
32 |
|
33 |
I disable almost everthing in server/admin/.htaccess |