• Support
  • PHP not working well, some missing extensions, and phpmyadmin is blocked 405

Hello, i have an issue when i deploy my laravel app in my vps, it has some issues that the extensions is not available or cannot be loaded

like
-mbstring
-openssl
-curl

-pdo_sql etc,

i have installed it at panel app store

i try all php version and it keep return same error

this is my php.ini at /www/server/php/83/etc

and when i try it

i had surfing at another forum but there is no one that have it fixed, and when i look at Install Extension menu at settings php, i can't find specific extension that i needed... (except mbstring and intl), and curl is default extension that should included in installed php, but it keep return error cannot loaded the curl extension...

Thank you!

uh i forgot the phpmyadmin, it keep return 405 not allowed

there is some forum that have changed the php version, and when i change it, the version keep back to 54

    Hello, do not enable these extensions directly. You can go to the Install Extension interface to install mbstring. Other extensions are enabled by default. You can check PHPinfo.
    There should be a display problem with phpmyadmin. Is it normal to try restarting the web service? Also use the browser in incognito mode to access

    aaP_iqronegoro0

      aaPanel_Kern

      all right, imma try it from beginning

      installed it

      install LNMP in first visit server

      done

      navigate to terminal and try PHP (it get stucked) except PHP -v

      installing mbstring and another needed

      and when i installing fileinfo extension it get hang

      i know i know if my resources server is too 'low', but i think it can for installing fileinfo extension, right?

        hei just wanna ask, how i can enable restriction this open_basedir function?
        i have tried to edit fpm PHP file, or in php.ini pointing to my public project folder, but it still same

        Thank you

        nvm, i just have to comment file in public/.user.ini, and now the route cannot be found, all 404

        may i know why i cant install php8.3-fpm? but when installing 8.1 vers, there is found the package?

        idk why there is no sites-available and nginx folder at /etc, i have compile install but it still same,

        aaPanel_Kern

        all clear, maybe i miss understanding how aapanel managing nginx, and my low skill too, but I'll keep update for someone who may be experiencing the same issue until my deployment success

        All right my app now up and can accessed, a miracle!

        summary what i do to deploy my inertia app that may be useful for ppl who facing same issue

        1. install lnmp default
        2. configure PHP in app store, to tab disabled functions, and disable exec, passthru, system, proc_oci, putenv, and some (i forgot)
        3. installing extension like fileinfo, mbstring and into
        4. go to terminal in folder and setup the app, like npm i and composer install (don't forget to update the composer first), generate new key
        5. setup .env like changing database and migrate it
        6. install PM2 / nodejs in appstore, maybe you can use nvm instead and use node version that compatible to your project
        7. go to website and create new project PHP in PHP Project, configure to your domain and folder...
        8. open the site modification website, go to site directory, and pointing running dir to /public, and go to URL rewrite tab, write this configuration
          location / {
          try_files $uri $uri/ /index.php?$args;
          }
          save it
        9. try access your website

        thx for your assist too

        Hello, how i can deploy my php native website now? i have create subdomain
        http://audancer.rynn.fun/
        but it cannot find, i just deploy it and set the directory project to root folder, i have index.php too, may i missed something?

        my bad, subdomain need to wait to propagate online

        but when i created my first subdomain it online instantly, bruh

        when i accessed the subdomain, it not serve correct page, instead it serve my first website! its hilarious. when i open it in PC it show correct website, but when i open it in handphone, it keep showing first website.

          Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com