Skip to content

apache2 not executing php statements in opensuse linux

i have apache2 running as a local server. I had a wordpress site on localhost running happily. In trying to enable running phpMyAdmin apache2 somehow stopped executing php code, and I’ve been unable to re-enable it. any help most gratefully received Answer This is a configuration issue. There should be …

Positioning of arrays

Is it possible to position an array value depending on a specific numerical array? I have this table: and this is what I have so far: https://shizen.hakumei.org/test.php It shows only User7’s name and image link where I plan to show box 01 for User1’s name and image link then box 16 for User2&#821…

group result array in PHP

im using array for open a file, if value match in array key, then will open file that related with value. when i try, it will open file as much as data in database. lets say i have 6 data in database, like : If data already found in array then just open once file for each key. how to

composer doesn’t install dotenv on Symfony 3.4

I have Symfony 3.4 project and am trying to install the Dotenv component. I’ve ran this command composer require symfony/dotenv:^3.4 and composer said “Nothing to install or update”. I’ve …

memory exhausted by using around 2MB of memory

I am struggling with a php that has memory problem. The script dies with the message: PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 3027408 bytes) in test.php on …